QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 818|回复: 5

mount命令请教。

[复制链接]
发表于 2003-5-17 08:56:22 | 显示全部楼层 |阅读模式
怎么才能实现mount一个文件夹而不是分区到一个特定的目录下?我用
# mount -t vfat -o codepage=936,iocharset=cp936 /dev/hda6/1 /var/ftp
出现:mount: special device /dev/hda6/1 does not exist
       (a path prefix is not a directory)
发表于 2003-5-17 09:48:52 | 显示全部楼层
/mnt是专门用来挂载其他的设备的啊。
回复

使用道具 举报

发表于 2003-5-17 10:50:29 | 显示全部楼层
这样挂载win盘里的某个文件不行?????
回复

使用道具 举报

发表于 2003-5-17 11:06:53 | 显示全部楼层
mount -bind olddir newdir
2.40内核以上
回复

使用道具 举报

发表于 2003-5-20 15:31:25 | 显示全部楼层
[quote:15d085050b="hew"]mount -bind olddir newdir
2.40内核以上[/quote]
这是挂子目录吧,挂文件好像不行
回复

使用道具 举报

发表于 2003-5-20 17:11:36 | 显示全部楼层
楼主是要挂载目录啊。。没错
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-20 17:29 , Processed in 0.049566 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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