LinuxSir.cn,穿越时空的Linuxsir!

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

problems in umount proc FS

[复制链接]
发表于 2003-1-10 22:34:30 | 显示全部楼层 |阅读模式
I've finished setup LFS many days ago.
But I get a problems.

I get error, It's not :
"root:/# umount proc
warning: can't open /etc/fstab: No such file or directory
umount: proc: not mounted

but :
"
"warning: can't open /etc/mtab: No such file or directory
umount: proc: not mounted
"

I don't know that's why. Finally, I've created fstab, so that should be no warning again.
I know /etc/mtab is a link to /proc/mounts, but there is nothing in /proc folder.
Anybody tell me why.

Note: sorry, I can't type chinese in Linux SYS and sorry for my poor ENG.
发表于 2003-1-10 22:47:42 | 显示全部楼层
i think there must be some problem in your /etc/fstab . because proc is a virtual file system which build when you start your system.pls attach your  /etc/fstab and /etc/mtab here.
 楼主| 发表于 2003-1-11 11:05:29 | 显示全部楼层
This is my fstab file. I've no mtab file. It's only a link in /etc, /etc/mtab direct to /proc/mounts file. But there is nothing in my /proc dir.

/dev/hdc3               /               reiserfs defaults       1 1
/dev/hdc5               /mnt/temp       reiserfs defaults       1 2
/dev/hdb2               /mnt/vfat       vfat    defaults        1 2
none                    /proc           proc    defaults        0 0
none                    /dev/pts        devpts  gid=5,mode=620  0 0
/dev/hdc2               swap            swap    defaults        0 0
/dev/cdrom              /mnt/cdrom      iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy     auto    noauto,owner,kudzu 0 0
发表于 2003-1-11 14:25:24 | 显示全部楼层
那个/proc下在没有mount的时候,是空的,mount了以后,就有很多东西了。
[tram@/proc]$ ls -l /proc/mounts
lrwxrwxrwx    1 root     root           11  1月 11 14:27 /proc/mounts -> self/mounts
你是不是在编译内核的时候,把proc的支持给取消了啊?这个缺省是有的,也不能取消的。
 楼主| 发表于 2003-1-12 20:17:52 | 显示全部楼层
thanks , I fixed it.
The problem is I enable reiserfs' stats in /proc/fs/reiserfs in kernel.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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