免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1288 | 回复: 3
打印 上一主题 下一主题

HELP: Read-only file system? Weird! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-05 05:43 |只看该作者 |倒序浏览
cslab:/media #  mount -t ntfs -o rw /dev/sda1 /media/sda1

cslab:/media # mount
...
shmfs on /dev/shm type shm (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sdb1 on /media/sdb1 type ntfs (rw,nosuid,nodev)
/dev/sda1 on /media/sda1 type ntfs (rw)

cslab:/media # cd /media/sda1

cslab:/media/sda1 # touch 1
touch: cannot touch `1': Read-only file system

Anybody know why? Thanks.

论坛徽章:
0
2 [报告]
发表于 2005-08-05 07:32 |只看该作者

HELP: Read-only file system? Weird!

NTFS module, by default, does not support write operation.

论坛徽章:
0
3 [报告]
发表于 2005-08-06 00:07 |只看该作者

HELP: Read-only file system? Weird!

Thanks, sakulagi. You are so nice.

I download the kernel 2.6.12, and compiled it with "NTFS Write Operation" option. Everything works well. But, finally, when I mount ntfs file system.  I got the following problems:

suse:/windows/music # ls
.  ..  IO.SYS  MSDOS.SYS  Music  RECYCLER  System Volume Information  photoes
suse:/windows/music # touch 1
touch: cannot touch `1': Permission denied
suse:/windows/music # ll
total 48
drwx------    1 root     root         4096 Jul 31 11:02 .
drwxr-xr-x    6 root     root         4096 Aug  4 19:18 ..
-rw-------    1 root     root            0 Mar  2 03:44 IO.SYS
-rw-------    1 root     root            0 Mar  2 03:44 MSDOS.SYS
drwx------    1 root     root        24576 Jul 31 10:49 Music
drwx------    1 root     root         4096 Jul  1 21:44 RECYCLER
drwx------    1 root     root         4096 Jul  1 20:48 System Volume Information
drwx------    1 root     root         8192 Jun 26  2003 photoes

I am confused again. Could you tell me more about that?

BTW:
suse:/windows/music # lsmod
Module                  Size  Used by
ntfs                  183216  -
e100                   35136  -

Thanks a lot.

论坛徽章:
0
4 [报告]
发表于 2005-08-06 00:24 |只看该作者

HELP: Read-only file system? Weird!

DOS/FAT/NT Filesystems  --->;
<*>; NTFS file system support                                                   
[  ]   NTFS debugging support (NEW)                                             
  •    NTFS write support
  • 您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP