/proc/mounts和/etc/mtab的区别
2014-05-18 11:11
435 查看
3.2.22. /proc/mounts
This file provides a list of all mounts in use by the system:rootfs / rootfs rw 0 0 /proc /proc proc rw,nodiratime 0 0 none /dev ramfs rw 0 0 /dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0 none /dev ramfs rw 0 0 /proc /proc proc rw,nodiratime 0 0 /sys /sys sysfs rw 0 0 none /dev/pts devpts rw 0 0 usbdevfs /proc/bus/usb usbdevfs rw 0 0 /dev/hda1 /boot ext3 rw 0 0 none /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
The output found here is similar to the contents of
/etc/mtab, except that
/proc/mountis
more up-to-date.
The first column specifies the device that is mounted, the second column reveals the mount point, and the third column tells the file system type, and the fourth column tells you if it is mounted read-only (
ro)
or read-write (
rw). The fifth and sixth columns are dummy values designed to match the format used
in
/etc/mtab.
相关文章推荐
- /etc/mtab must be a symlink to /proc/mounts
- Linux中/etc/fstab /etc/mtab /proc/mounts这三个文件的分析与比较
- Linux中/etc/fstab /etc/mtab /proc/mounts这三个文件的分析与比较
- /etc/mtab与/proc/mounts
- Linux中/etc/fstab /etc/mtab /proc/mounts这三个文件的分析与比较 分区表位置
- /etc/fstab和/etc/mtab的区别
- /etc/fstab和/etc/mtab的区别!
- /etc/fstab和/etc/mtab的区别
- /etc/fstab和/etc/mtab的区别!
- /etc/fstab和/etc/mtab的区别!
- /etc/fstab和/etc/mtab的区别!
- fdisk, mkfd.ext3, /proc/partitions, /proc/filesystems, /etc/fstab, /proc/mounts
- /ect/fstab与/etc/mtab的区别
- /etc/rc.d/init.d和/etc/init.d 联系区别
- /etc/rc.d/init.d和/etc/init.d 联系区别
- /etc/mtab与/etc/fstab
- /etc/rc.d/init.d和/etc/init.d 联系区别
- lambda与proc的区别
- proc_create和create_proc_entry的区别
- (转载)proc_create和create_proc_entry的区别