LinuxSir.cn,穿越时空的Linuxsir!

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

red hat 9挂载win分区问题,在线等

[复制链接]
发表于 2004-12-17 19:14:41 | 显示全部楼层 |阅读模式
为什么我不能在/mnt下传创建目录,提示无法访问!
是不是要root用户身分才可以?
能不能不用root用户挂载
具体方法有吗
发表于 2004-12-17 19:53:54 | 显示全部楼层
>为什么我不能在/mnt下传创建目录,提示无法访问!
是不是要root用户身分才可以?

Yes, because /mnt is only writeable by root.

>能不能不用root用户挂载

Yes

>具体方法有吗

Yes, this question was asked numerous time.  You can find the answer easily with a simple search.
 楼主| 发表于 2004-12-17 20:05:45 | 显示全部楼层
ok,If I turn to the root user and create the file
then turn back to the general user mode
May I SEE the win's FS in the general user mode?
发表于 2004-12-17 20:11:47 | 显示全部楼层
最初由 零凌兴歆 发表
ok,If I turn to the root user and create the file
then turn back to the general user mode
May I SEE the win's FS in the general user mode?

You need to edit your filesystem table, i.e. /etc/fstab to define the block device, mount point and mount options so that your normal user can mount the windoze partition.

However, pay special attention.  If you windoze is NTFS, then your should install captive to obtain full read/write access.  Otherwise, you should mount it read only.

If it is FAT32, then no problems.
发表于 2004-12-19 14:24:28 | 显示全部楼层
我是在修改fstab的时候
用gedit(好像是这个)修改以后
fstab文件就找不到了

我在网上看到别人是用VI编辑的
我想问问
这两个工具有什么区别
还有那个文件找不到了,以后用到怎么办呢?


由这个问题引出的一个问题:
我修改了fstab文件
开机就可以挂载windows的e盘
那么关机的时候,要不要卸载它呢?
发表于 2004-12-19 14:35:28 | 显示全部楼层
请善用搜索! :thank:

1,使用root身份,创建挂载点:
# mkdir /mnt/win
# chmod 777 /mnt/win
2,修改/etc/fstab,修改前要备份!
添加类似:
/dev/hda5 /mnt/win vfat umask=0,rw,iocharset=cp936 0 0
系统启动会自动加载win分区,关闭时自动0卸载。
发表于 2004-12-19 14:51:34 | 显示全部楼层
我在fstab中是这样加的:

/dev/hda6 /mnt/e vfat auto,rw 0 0

这样的话
关机要不要卸载呢 ?

QQ:274080830
我们QQ聊
发表于 2004-12-19 15:09:44 | 显示全部楼层
在/etc/fstab中的挂载项,正常关机是自动卸载的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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