LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: jiandaoxu

在mandrake9.2下的一般用户不能使用ntfs,fat32的硬盘资源怎么办?

[复制链接]
发表于 2003-10-18 13:02:04 | 显示全部楼层
umask option in mount or /etc/fstab
 楼主| 发表于 2003-10-18 13:14:59 | 显示全部楼层
能说的具体一些吗?我的/etc/fstab文件内容如下:
/dev/hdb14 / reiserfs notail 1 1
/dev/hdb17 /boot reiserfs notail 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdb15 /home reiserfs notail 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=gb2312 0 0
# none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,codepage=936,sync,iocharset=gb2312 0 0
/dev/hda1 /mnt/win_c ntfs ro,iocharset=gb2312 0 0
/dev/hda5 /mnt/win_d ntfs ro,iocharset=gb2312 0 0
/dev/hdb5 /mnt/win_d2 vfat codepage=936,iocharset=gb2312 0 0
/dev/hda6 /mnt/win_e ntfs ro,iocharset=gb2312 0 0
/dev/hda7 /mnt/win_f vfat codepage=936,iocharset=gb2312 0 0
/dev/hdb7 /mnt/win_f2 vfat codepage=936,iocharset=gb2312 0 0
/dev/hdb9 /mnt/win_h vfat codepage=936,iocharset=gb2312 0 0
/dev/hdb10 /mnt/win_i vfat codepage=936,iocharset=gb2312 0 0
none /proc proc defaults 0 0
/dev/hdb13 /usr reiserfs notail 1 2
/dev/hdb16 swap swap defaults 0 0
 楼主| 发表于 2003-10-19 08:41:37 | 显示全部楼层
这个问题,有人能帮帮我吗?
发表于 2003-10-19 10:56:31 | 显示全部楼层
哎,不是告诉你了吗?用umask了吗?
如果用mount 可以这样,最简单的:
mount -t ntfs -o umask=0 /dev/hda1 /mnt/win_c
在/etc/fstab中,
你可以按照:
/dev/hda7 /mnt/win_f vfat codepage=936,iocharset=gb2312,umask=0 0 0
这样保证你可以读M$的分区。

对于如何使用umask 或者fstab,你可以看man 或者info.

但还要最好别往ntfs里面写入。
发表于 2003-10-19 11:04:15 | 显示全部楼层
最初由 faint 发表
但还要最好别往ntfs里面写入。


可以写入吗??
发表于 2003-10-19 11:22:05 | 显示全部楼层
这就要看你的内核了。如果是默认的,当然不能,但我的内核都是自己再编译过的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表