The file system is the method and data structure that the operating system saves the file information on the hard disk or partition, that is, how the file is organized on the hard disk or partition. Typically, it is also used as a hard disk or partition that represents the file information that is saved.
File system types supported by the 8.5.1 system
One of the important features of Linux systems is supporting multiple file systems. In this way, it is more flexible and can exchange data with many other kinds of operating systems, where Yun is commonly used in the following ways:
EXT3:EXT2 's upgraded version, the Red Flag Linux http://www.aliyun.com/zixun/aggregation/16493.html ">desktop 6.0 Default File system type, has the main advantage of The log function of recording data is added on the basis of ext2. Can be easily migrated from ext2 to Ext3, and asynchronous logging is supported.
EXT2: Supports standard UNIX file types, can be used for a variety of storage media, good compatibility, and supports up to 255 characters of file names.
ReiserFS: A new type of file system that accommodates data in a fully balanced tree structure, including file data, filename, and log support. ReiserFS also supports massive disks and disk arrays, and continues to be fast and efficient.
Extended DOS file systems used by Vfat:windows 9x/2000 and NT operating systems provide support for long filenames.
Xfs:sgi XFS is a very good 64-bit high-performance log file system that provides the Linux community with a robust, excellent, feature-rich filesystem that is scalable to meet Yun demanding storage requirements.
ISO9660: Standard CD-ROM file system. One of the Rock Ridge Extensions allows for automatic support for long filenames.
NFS: A network File system that allows the sharing of file systems between multiple computers.
In addition, some old file system types are supported, such as MINIX, Msdos, HPFS, SYSV, etc.
8.5.2 File system creation, loading and unloading
8.5.2.1 establish a file system partition or disk before being used as a file system, first initialize and write the structure of the record data to disk, a process known as establishing a file system.
Create a file system with the command MKFS. The MKFS command can establish different types of file systems on any given block device. The syntax format is as follows:
MKFS [-v] [-t fs-type] [fs-options] device [size]
The meanings of the parameters in the MKFS command are as follows:
-V: Forced to produce long format output
-T Fs-type: Select the type of file system
Fs-option: The file system options that you will create can be the following options:
Option and Parameter feature description-C find bad blocks and initialize bad block list-l filename reads the initial bad block table from file filename-V lets file system programs produce long format output
Device: Create the device number of the device on which the file system resides
Size: File system sizes
For example, to create a ext2 file system on a floppy disk, use the command:
# mkfs–t Ext2/dev/fd0