freebsd mount linprocfs

mount用来做什么?

to prepare and graft a special device or the remote node(rhost:path) on to the file system tree at the point node.把其他文件系统的资源挂载到本地文件系统。

 

  freebsd下/proc目录是空的。

查了下要mount -t linprocfs linprocfs /compat/linux/proc这样挂载上才行。

linprocfs -- Linux process file system。

一般linux都默认在/proc下,所以在bsd下我mount -t linprocfs  linprocfs /proc/; -t指定文件类型。

卸载掉 umount linprocfs 或者 umount linprocfs /proc/

原文地址:https://www.cnblogs.com/wendao/p/4955515.html