QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 527|回复: 2

怎么样自动挂载呀!!sos

[复制链接]
发表于 2005-1-6 12:15:50 | 显示全部楼层 |阅读模式
我刚接触linux  我的是rh9
我每次开机总是要运行 这挂在命令2 命令
mount -t vfat -o isocharset=cp936 /dev/hda9 /mnt/wine  
mount -t vfat -o isocharset=cp936 /dev/hda8 /mnt/wind  
挺麻烦的 我就在/etc/fstab 文件里 这样改的

/dev/hda8 /mnt/wind vfat rw,exec,iocharset=gb2312,umask=0, auto 0 0

/dev/hda9 /mnt/wine vfat rw,exec,iocharset=gb2312,umask=0, auto 0 0
但是总不能挂在上
请教大哥哥们怎么样我该怎么样改就可以自动挂载并且win的中文字幕不是乱码呢?
发表于 2005-1-6 12:29:04 | 显示全部楼层
auto字段去掉,exec要干嘛,总不成在fat分区上执行命令吧,umask=0,最好改为dmask=000,fmask=111,rw也可以不要了。

/dev/hda9 /mnt/wine vfat dmask=000,fmask=111,iocharset=gb2312  0 0
回复

使用道具 举报

 楼主| 发表于 2005-1-6 12:52:57 | 显示全部楼层
/dev/hda9 /mnt/wine vfat dmask=000,fmask=111,iocharset=gb2312 0 0

这个和我用mount -t vfat -o isocharset=cp936 /dev/hda9 /mnt/wine  
命令是一样的吗???
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-26 01:16 , Processed in 0.083842 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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