Xiafs was a file system for the Linux kernel, conceived and developed by Ge (Frank) Xia. It was based on the MINIX file system and introduced in December 1993 with Linux version 0.99.15.
History
Linux originally used the MINIX file system, which had several limitations, including a maximum filename length of 14 characters and a maximum partition size of 64 MB. To address these shortcomings, the extended file system (ext) was developed. However, ext retained certain problems, including poor performance and the lack of some date stamps. Two contenders quickly emerged to replace ext: ext2 and Xiafs. Both were included in the standard Linux kernel in December 1993.
Xiafs and ext2 shared the same goals: to offer good performance, reasonable limits, and to fix the flaws of ext. Initially, Xiafs was considered more stable than ext2. However, being a relatively minimalistic modification of the MINIX file system, it was not well suited for future extension. Consequently, Xiafs changed very little over time, while ext2 evolved considerably, rapidly improving in stability and performance. After a shakedown period, ext2 became the standard file system of Linux and developed into a mature and robust system.
Xiafs and the original ext file system were removed from the Linux kernel in version 2.1.21, released on January 14, 1997, as they were no longer in use and were not maintained. In 2013, Xiafs was ported to modern Linux as an exercise in computer history and as a file system tutorial.
Technical specifications
According to documentation, Xiafs had the following limits:
- Maximum volume (partition) size: 2 GB
- Maximum file size: 64 MB
Comparison with ext2
Xiafs offered less functionality than ext2. Its maximum file size of 64 MiB and maximum partition size of 2 GiB were an improvement over ext but did not measure up to ext2. However, Xiafs used less disk space for its control structures and, at the time of its introduction, had greater stability than ext2.
Legacy
Today Xiafs is obsolete and not in use, except possibly in some historic installations. Its successor line (ext2, ext3, and ext4) remains a standard part of the Linux kernel. Xiafs is primarily of historical interest in the context of Linux file system development.