This page uses content from the English Wikipedia. The original article was at MinixFS. The list of authors can be seen in the page history. As with All articles on the Computing Knowledgebase Wikia, the text of Wikipedia is available under the GNU Free Documentation License.

The Minix File System is the native filesystem of the Minix operating system.

History Edit

Minix was written from scratch by Andrew S. Tanenbaum in the 1980s, as a UNIX-like operating system whose source code could be used freely in education. The Minix file system was designed for use with Minix; it copies the basic structure of the Unix File System but avoids any complex features in the interest of keeping the source code clean, clear and simple, to meet the overall goal of Minix to be a useful teaching aid.

When Linus Torvalds first started writing his Linux operating system (1991), he was working on a machine running Minix, so the initial releases based a lot of functionality on Minix subsystems. Until the April 1992 introduction of the Extended File System, Linux used the Minix File System. The format is still used by some Linux distributions for bootable disks and other situations where a simple and compact filesystem is needed.

Design and implementation Edit

A Minix file system has six components:

  • The Boot Block which is always stored in the first block. It contains the boot loader that loads and runs an operating system at system startup.
  • The second block is the Superblock which stores data about the file system, that allows the operating system to locate and understand other file system structures. For example, the number of inodes and zones, the size of the two bitmaps and the starting block of the data area.
  • The inode bitmap is a simple map of the inodes that tracks which ones are in use and which ones are free by representing them as either a one (in use) or a zero (free).
  • The zone bitmap works in the same way as the inode bitmap, except it tracks the zones
  • The inodes area. Each file or directory is represented as an inode, which records metadata including type (file, directory, block, char pipe), ids for user & group, three timestamps that record the data & time of last access, last modification and last status change. An inode also contains a list of addresses that point to the zones in the data area where the file or directory data is actually stored.
  • The data area is the largest component of the file system, using the majority of the space. It is where the actual file and directory data are stored.

Filesystem List
Filesystems: FAT | FATX | FAT12 | FAT16 | FATX16 | FAT32 | FATX32 | NTFS | JFS | Ext | Ext2 | Ext3 | HPFS | ReiserFS | Reiser4 | HFS+ | FFS | UFS1 | UFS2 | UFSMacOSX | XFS | OFS | BFS | BeFS | OpenBFS | NSS | NWFS | ODS5 | VxFS | ZFS | MFS | IFS | AFS | TVFS | MinixFS | SkyFS | AtheOSFS | ArlaFS | CDFS | UDF | CFS | DFS | OpenAFS | GFS | DTFS | CODA | UMSDOS | OldBeFS | RFS | EFS