Common File System formats in Linux

Source: Internet
Author: User

Common File System formats in Linux

There are three common partition formats for Windows: FAT16, FAT32, and NTFS.

In Linux, there are four formats: Ext2, Ext3, Linux swap, and VFAT. FAT16: As a File name, FAT (File Allocation Table) has become a computer term since its publication in 1981. For reasons of the times, most operating systems, including Windows, MacOS, and a variety of Unix versions, support FAT.

This is the disk partition format used in the MS-DOS and earlier Windows 95 operating systems. It uses a 16-bit File Allocation Table, which is currently the most supported disk partition format by the operating system. Almost all operating systems support this partition format, from DOS, Windows 95, Windows OSR2 to Windows 98, Windows Me, Windows NT, Windows 2000, and Windows XP, FAT16 is supported, however, supporting only 2 GB hard disk partitions has become a major disadvantage. Another drawback of the FAT16 partition format is that the disk utilization efficiency is low (for detailed technical details, refer to relevant materials ). To solve this problem, Microsoft launched a new disk partition format-FAT32 in Windows 95 OSR2. FAT32: This format uses a 32-bit File Allocation Table, which greatly enhances the disk management capability and breaks through the limit of 2 GB for each partition in FAT16. Due to the current reduction in hard disk production costs, the capacity is getting bigger and bigger. After using the FAT32 partition format, we can define a large-capacity hard disk as a partition instead of Several partitions, this greatly facilitates disk management. In addition, compared with FAT16, FAT32 can greatly reduce disk waste and improve disk utilization. Currently, Windows 95 OSR2 and later operating systems support this partition format. However, this partition format also has its disadvantages. The first is a disk partitioned in the FAT32 format. As the File Allocation Table expands, the running speed is slower than that of a disk partitioned in the FAT16 format. In addition, since DOS and Windows 95 do not support this partition format, the DOS and Windows 95 systems cannot be used after this partition format is used.

NTFS: to make up for the functional defects of FAT, Microsoft has created a file system technology called NTFS. It has excellent security and stability, and is not easy to generate file fragments during use. In addition, it can record user operations and impose strict restrictions on user permissions, so that each user can only perform operations according to the permissions granted by the system, fully protecting the security of the system and data. Windows 2000, Windows NT, and Windows XP all support this partition format.

Ext2: Ext2 is a standard file system in GNU/Linux systems. This is the most widely used File System in Linux. It is specially designed for Linux and has extremely fast speed and extremely small CPU usage. Ext2 can be used for both standard block devices (such as hard disks) and Mobile storage devices such as floppy disks. Ext3: Ext3 is the next generation of Ext2, that is, the log function is added under the Ext2 format. Ext3 is a log File System. It records the write operations of the entire disk in a certain area of the disk, in order to trace back when necessary. When a process is interrupted, the system can directly trace and refresh the interrupted part based on these records, and the refresh speed is quite fast. This partition format is widely used in Linux.

Linux swap: it is a kind of swap file system used for partition swap in Linux. Linux uses this entire partition as the swap space. Generally, the swap partition in this swap format is twice the primary memory. When the memory is insufficient, Linux will write part of the data to the swap partition. VFAT: VFAT is called a long file name system. It is a Linux file system compatible with Windows. It supports long file names and can be used as partitions for files exchanged between Windows and Linux.

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.