LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 697|回复: 5

这个mount文件写错了吗?

[复制链接]
发表于 2005-5-27 10:46:14 | 显示全部楼层 |阅读模式
我在/etc/fstab文件中加了以下的东西
/dev/hda1               /mnt/winc               ntfs              defaults,codepage=936,iocharset=cp936,umask=000 0 0

怎么在系统启动的时候加载local files时候说识别不出来,too many files?
发表于 2005-5-27 10:59:27 | 显示全部楼层
去掉defaults试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-27 11:19:10 | 显示全部楼层
Post by zxlost
我在/etc/fstab文件中加了以下的东西
/dev/hda1               /mnt/winc               ntfs              defaults,codepage=936,iocharset=cp936,umask=000 0 0

怎么在系统启动的时候加载local files时候说识别不出来,too many files?

去掉defaults后还是不行,mount local files时提示wrong fs ,bad option之类的东西

另在fstab里面加了参数,不用手动mount加载了吧
回复 支持 反对

使用道具 举报

发表于 2005-5-27 11:52:33 | 显示全部楼层
你用的是什么系统?我一般不加codepage这个参数。
有一次加了好像也没错。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-27 12:15:25 | 显示全部楼层
RH9的
回复 支持 反对

使用道具 举报

发表于 2005-5-27 12:57:27 | 显示全部楼层
man mount

  1. Mount options for ntfs
  2.        iocharset=name
  3.               Character  set to use when returning file names.  Unlike VFAT, NTFS suppresses names that contain uncon-
  4.               vertible characters. Deprecated.

  5.        nls=name
  6.               New name for the option earlier called iocharset.

  7.        utf8   Use UTF-8 for converting file names.

  8.        uni_xlate=[0|1|2]
  9.               For 0 (or `no' or `false'), do not use escape sequences for unknown Unicode characters.  For 1 (or `yes'
  10.               or  `true')  or 2, use vfat-style 4-byte escape sequences starting with ":". Here 2 give a little-endian
  11.               encoding and 1 a byteswapped bigendian encoding.

  12.        posix=[0|1]
  13.               If enabled (posix=1), the file system distinguishes between upper and lower case. The  8.3  alias  names
  14.               are presented as hard links instead of being suppressed.

  15.        uid=value, gid=value and umask=value
  16.               Set  the  file  permission on the filesystem.  The umask value is given in octal.  By default, the files
  17.               are owned by root and not readable by somebody else.
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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