Environment: centos 5.5 final
Common Linux file systems include: JFS, reiserfs, ext, ext2, ext3, iso9660, XFS, Minx, msdos, umsdos, vfat, NTFS, HPFs, NFS, SMB, sysv, Proc, etc.
So old. If you dig the root problem, it will be out of my personal range.
What file system does your system support. Ask your system.
One: CAT/proc/filesystems 《This method is to be determined
"
It is not very difficult to use this list. However, we can see ext2 and ext3 in it.
Two types: Enter/lib/modules/2.6.18-194. EL5/kernel/fs, and then use the LS command. The LS-l list is better-looking :)
The 2.6.18-194. EL5 in the path is tested by yourself due to different versions. Use Ubuntu 8.04.2 on Unix-center as the column. If this method is used, enter any one of the three directories (2.6.22-14-generic 2.6.24-21-generic 2.6.24-22-generic) under/lib/modules, the kernel/fs path after ^ _ * remains unchanged. After entering, execute ls.
View the file format of your system (in centos 5.5 final environment)
1. CAT/etc/fstab. As follows:
Ii. df-t-h
Use DF-t only. In this way, the file system format can be listed. However, the subsequent capacity display is not very nice. As shown in:
Iii. Parted (root permission required)
Parted, and then execute P (print)
Compare several viewing methods. It seems that DF is more convenient and intuitive. Parted is a partition tool in GNU. Viewing a file system is only one of the functions. The man DF view shows that the description is as follows:
DF-report file system disk space usage
There is a parameter T.
-T, -- print-type
Print file system type // is the required function. Hey
You can also list the specified file system types:
-T, -- type = Type
Limit listing to file systems of type
In this environment, DF -- type = ext3
. Execution result
Also, this parameter is the opposite of-t. It feels like selecting and reselect. Hoho :)
-X, -- exclude-type = Type
Limit listing to file systems not of type
Then the DF statement is written. Hey
End :)