天嵌 ARM开发社区

 找回密码
 注册
查看: 2119|回复: 10

菜鸟求救!!NFS不会挂

[复制链接]
shuyangyue 发表于 2010-7-16 22:07:11 | 显示全部楼层 |阅读模式
本帖最后由 shuyangyue 于 2010-7-16 22:12 编辑

我按照教程做复制一个文件系统后,重命名为root_nfs。但不像教程里讲的dev目录下的console和mull不存在。我做的时候依然有,这是为什么啊?还有我输入mount -t nfs 192.168.1.58:/opt/EmbedSky/root nfs /opt/EmbedSky/root 后出现
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
[root@EmbedSky ~]#
root文件夹里还是空的,不知道怎么做
亚瑟王 发表于 2010-7-17 12:42:01 | 显示全部楼层
mount        -t         nfs       xxxxxxxxxxx这样的,你看看是否空格打错位置了。
hnk 发表于 2010-7-17 16:54:26 | 显示全部楼层
mount -t nfs 192.168.1.58:/opt/EmbedSky/root nfs /opt/EmbedSky/root

应该是红色那里
亚瑟王 发表于 2010-8-2 15:14:57 | 显示全部楼层
3楼的很细心,那个地方应该是root_nfs,而不是root nfs
wangruijia 发表于 2010-11-30 21:54:16 | 显示全部楼层
mount -t nfs 192.168.1.58:/opt/EmbedSky/root_nfs /opt/EmbedSky/root
我的挂载上了 但是在/opt/EmbedSky/root_nfs里什么也看不见啊?
wangruijia 发表于 2010-11-30 21:56:41 | 显示全部楼层
怎么回事呢?请各位高手帮想想办法
天嵌_support1 发表于 2010-12-1 11:09:58 | 显示全部楼层
5# wangruijia


mount -t nfs 192.168.1.58:/opt/EmbedSky/root_nfs /opt/EmbedSky/root
我的挂载上了 但是在/opt/EmbedSky/root_nfs里什么也看不见啊?

看错文件夹了, 看这个 /opt/EmbedSky/root
wangruijia 发表于 2010-12-1 13:57:23 | 显示全部楼层
:lol恩对!
chenbing 发表于 2010-12-3 09:57:43 | 显示全部楼层
来学习一下
chenjinst2010 发表于 2010-12-15 12:56:58 | 显示全部楼层
学习了。。。。。。。。。。。。。。。。。。。。。。。。
tom7232 发表于 2011-1-25 23:06:00 | 显示全部楼层
學習到了,也成功了喔
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-6 02:31 , Processed in 1.039102 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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