Introduction to Linux file system types and supported file system summaries--linux Getting started to Master series __linux

Source: Internet
Author: User
Tags posix system log cpu usage
Different operating systems need to use different types of file systems, in order to be compatible with other operating systems to exchange data, usually the operating system can support multiple types of file systems, such as Windows Server, the system default or recommended file system is NTFS, However, it also supports FAT32 or FAT16 file systems, and DOS and Windows 9x generally use FAT16 or FAT32 and do not support the NTFS file system.

The Linux kernel supports more than 10 different types of file systems, and for Red Hat Linux, the system defaults to ext2 or ext3 and swap file systems, with a brief introduction to Linux's commonly used file systems.

1. ext2 and Ext3 File system ext is the first file system type specifically designed for Linux, called Extended file system, which played an important role in the early stage of Linux development. Because of the stability, speed and compatibility of many defects, ext is now rarely used.

Ext2 is a scalable, high-performance file system designed to address the flaws in the Ext file system, called the two-level extended file system. Published in 1993, Ext2 has a prominent advantage in speed and CPU utilization, is the standard file system in the Gnu/linux system, supports 256-byte long file names, and has excellent file access performance.

Ext3 is an upgraded version of EXT2, compatible ext2, on the basis of ext2, added file system logging function, called log file system, is the default file system of the makeup Linux. Log file system in the event of power outages or other unusual events and restart, the operating system according to the file system log, quickly detect and restore the file system to the normal state, and improve the system recovery time, improve data security. It is recommended that you use the Ext3 file system if you have higher security requirements for your data.

Log file system is the current development direction of Linux file system, commonly used in ReiserFS and JFS and other log file system.

2, swap file system swap file system for Linux swap partition. In Linux, use the entire swap partition to provide virtual memory, its partition size should generally be twice times the physical memory of the system, when installing the Linux operating system, should create a partition swap, it is necessary for Linux normal operation, its type must be swap, swap partition by the operating system to manage itself.

3. vfat File System
VFAT is a generic term for Linux for fat (including FAT16 and Fat32) file systems under Dos,windows systems.

4. NFS File System
NFS is a network file system for file sharing across a network between UNIX systems, and users can mount the shared directory provided by Server for NFS in the network to a local file directory, enabling operations and access to content in NFS file systems.

5. ISO 9660 file system the standard file system used by CDs in this file system, Linux also has good support for the file system, not only can read the CD-ROM and CD-ROM ISO image files, but also support in the Linux environment to burn discs.

Red Hat Linux supports a lot of file systems, not to be introduced in a few, to understand the file system types they support, you can view the following command:
# ls/lib/modules/2.4.20.8/kernel/fs


The following is a file system rollup 1.minix supported by Linux:
Is the file system used by the Minix operating system and is the first file system used by Linux. It has many drawbacks: partitions can be less than 64MB, only short file names, a single timestamp, and so on. It is still useful in the fields of floppy disk and dynamic disk.

2.ext
is an extension of the Minix. has been completely replaced by ext2, the kernel will eventually not support it.

3.ext2
is a very good file system used by Linux for fixed file systems and active file systems. It is designed as an extension of the Ext file system. EXT2 provides the best performance (in terms of speed and CPU usage) in the file systems supported by Linux, and, briefly, Ext2 is the primary filesystem for Linux.

4.ext3
is an extension of the log function for ext2. It forwards, backwards compatible with ext2. It means that ext2 can be converted to EXT3,EXT3 without losing data and formatting and can be converted to ext2 without losing data (just reinstall the partition). I've been using ext3 since October 2001, and it's simple and stable. In RedHat7.2 and Mandrake8.0, as an option. It is highly recommended to use this file system.

5.xiafs
As a stable, secure extension of the Minix file system, it provides the basic and most commonly used features. Development and maintenance have been discontinued. Not used very often.

6.msdos
Is the file system used by DOS, Windows, and some OS/2 computers. The filename cannot exceed 8 characters, followed by a 3-character suffix.

7.umsdos
is the extended DOS file system used by Linux. Added long file name support, uid/gid,posix permissions, special files and so on and still remain compatible with the DOS file system.

8.vfat
is the extended DOS file system used by Windows95,windows NT. Add long file name support.

9.proc
is a fake file system for the interface with the kernel data structure, it does not occupy disk space, reference to man Proc.

10.iso9660
is a CD-ROM file system for ISO9660 standards. Two extensions are automatically supported (see below).

11.High Sierra
Is the predecessor of the ISO9660 standard. Linux automatically supports it. Rock Ridge is a product of the Rock Ridge Interchange Protocol protocol, which is used to further describe files under ISO9660 file systems to UNIX systems. Additional information such as long file names, uid/gid,posix permissions, etc. are provided. Linux automatically supports it.

12.hpfs
is a high-performance file system used by OS/2. is read-only in a Linux system because of the lack of appropriate documentation.

13.sysv
is the implementation of the Systemv/coherent file system on Linux. It implements all xenix,systemv/386, and coherent file systems.

14.nfs
is a file system for accessing remote computer hard disks.

15.smb
is a network file system that supports the SMB protocol, which Windows uses to implement workgroup sharing.

16.ncpfs
is a network file system that is used by Novell NetWare to support the NCP protocol.

17.Devpts
is a virtual file system, generally installed in the/dev/pts. In order to get a virtual terminal, the process opens/DEV/PTMX, and then the virtual terminal is available.

18.fat
is not a separate file system, but a common part of the MSDOS, Umsdos, and Vfat file systems.

19.UFS
is a file system that is widely used in a variety of operating systems

20.swap
is a special partition that is used to exchange data between memory and the hard disk file system.

21.raiserfs
is a new log file system supported by the Linux kernel 2.4.1 (January 2001).

22.hfs
HFS (=hierarchical files System) is an apple filesystem.

23.ntfs
Windows NT File System.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.