如何获取 Solaris 5.10 上每个设备的文件系统类型?我尝试mount
不使用参数,但只列出每个安装点,类似于df
.
另外,如何直接找到特定目录的安装位置,而不使用哪个安装点是其超级目录或 grep?
谢谢
答案1
答案2
mount -v
在其更详细的输出列表中包含文件系统类型。
从此处的 Solaris 10 系统:
/dev/dsk/c1t0d0s0 on / type ufs read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=700040 on Tue May 1 11:33:55 2012
/devices on /devices type devfs read/write/setuid/devices/dev=4380000 on Tue May 1 11:33:43 2012
ctfs on /system/contract type ctfs read/write/setuid/devices/dev=43c0001 on Tue May 1 11:33:43 2012
proc on /proc type proc read/write/setuid/devices/dev=4400000 on Tue May 1 11:33:43 2012
mnttab on /etc/mnttab type mntfs read/write/setuid/devices/dev=4440001 on Tue May 1 11:33:43 2012
swap on /etc/svc/volatile type tmpfs read/write/setuid/devices/xattr/dev=4480001 on Tue May 1 11:33:43 2012
/dev/dsk/c1t0d0p0:boot on /boot type pcfs read/write/setuid/devices/nohidden/nofoldcase/dev=723050 on Tue May 1 11:33:54 2012