1. mount
- [root@oracle-linux ~]# mount
- /dev/sda1 on / type ext3 (rw)
- proc on /proc type proc (rw)
- sysfs on /sys type sysfs (rw)
- devpts on /dev/pts type devpts (rw,gid=5,mode=620)
- tmpfs on /dev/shm type tmpfs (rw)
- none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
- sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
2. df -T
- [root@oracle-linux ~]# df -T
- Filesystem Type 1K-blocks Used Available Use% Mounted on
- /dev/sda1 ext3 28470052 10047600 16952908 38% /
- tmpfs tmpfs 777660 0 777660 0% /dev/shm
3. file -s /dev/sda1
- [root@oracle-linux ~]# file -s /dev/sda1
- /dev/sda1: Linux rev 1.0 ext3 filesystem data (needs journal recovery) (large files)
4. 查看/etc/fstab
- [root@oracle-linux ~]# cat /etc/fstab
- LABEL=/ / ext3 defaults 1 1
- tmpfs /dev/shm tmpfs defaults 0 0
- devpts /dev/pts devpts gid=5,mode=620 0 0
- sysfs /sys sysfs defaults 0 0
- proc /proc proc defaults 0 0
- LABEL=SWAP-sda2 swap swap defaults 0 0
本文出自 “永远有多远” 博客,请务必保留此出处http://howfar.blog.51cto.com/4201632/1113650