|
|

楼主 |
发表于 2005-8-28 14:09:06
|
显示全部楼层
晕死,原来只要加上umask=0222,就可以了
现在我的fstab为:
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb10 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda5 /mnt/d vfat iocharset=gb2312,umask=0,codepage=936 0 0
/dev/hda6 /mnt/e vfat iocharset=gb2312,umask=0,codepage=936 0 0
/dev/hda7 /mnt/f vfat iocharset=gb2312,umask=0,codepage=936 0 0
/dev/hdb5 /mnt/g ntfs auto,iocharset=gb2312,umask=0222 0 0
/dev/hdb6 /mnt/h ntfs auto,iocharset=gb2312,umask=0222 0 0
/dev/hdb7 /mnt/i ntfs auto,iocharset=gb2312,umask=0222 0 0
/dev/sda1 /mnt/usb vfat iocharset=gb2312,umask=0,codepage=936 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
[winds@star etc]$ ls -l /mnt
总用量 87
drwxrwxrwx 2 root root 4096 8月 21 11:44 cdrom
drwxrwxrwx 2 root root 4096 8月 21 19:16 cdrom1
drwxrwxrwx 21 root root 8192 1970-01-01 d
drwxrwxrwx 18 root root 4096 1970-01-01 e
drwxrwxrwx 21 root root 16384 1970-01-01 f
dr-xr-xr-x 1 root root 20480 8月 14 09:29 g
dr-xr-xr-x 1 root root 12288 8月 21 00:47 h
dr-xr-xr-x 1 root root 12288 8月 21 12:58 i
drwxrwxrwx 2 root root 4096 8月 21 14:59 usb
也可以显示中文 了,不过好像这些ntfs分区里不能写东西。 |
|