Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

MINIX file system

From Wikipedia, the free encyclopedia
Native file system of the Minix operating system
Minix file system
Developer(s)Open source community
Full nameMINIX file system version 3
Introduced1987; 38 years ago (1987) withMinix 1.0
Partition IDs0x81 (MBR)
Features
Dates recordedlast metadata change, last file change, last file access
Date resolution1s
File system
permissions
POSIX
Transparent
compression
No
Transparent
encryption
No (provided at the block device level)
Other
Supported
operating systems
Minix 3,Linux,MiNT andHelenOS

TheMinix file system is the nativefile system of theMinixoperating system. It was written byAndrew S. Tanenbaum in the 1980s and aimed to replicate the structure of theUnix File System while omitting complex features, and was intended to be a teaching aid. It largely fell out of favour among Linux users by 1994 due to the popularity of other filesystems - most notablyext2 - and its lack of features, including limited partition sizes and filename length limits.

History

[edit]

MINIX was written byAndrew S. Tanenbaum in the 1980s, as aUnix-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 theUnix 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.[1]

WhenLinus Torvalds first started writing hisLinux operating system kernel (1991), he was working on a machine running MINIX, and adopted its file system layout. This soon proved problematic, since MINIX restricted filename lengths to 14 characters (30 in later versions), it limitedpartitions to 64 megabytes,[2] and the file system was designed for teaching purposes, not performance.[3] The Linux implementation of the MINIX fs was multi-threaded, whereas the MINIX implementation of the fs was single-threaded.[4] Theextended file system (ext; April 1992) was developed to replace MINIX's, but it was only with the second version of this,ext2, that Linux obtained a commercial-grade file system.[3] As of 1994, the MINIX file system was "scarcely in use" among Linux users.[2]

Design and implementation

[edit]

A MINIX file system has six components:[1]

  • TheBoot Block which is always stored in the first block. It contains theboot loader that loads and runs anoperating system at system startup.
  • The second block is theSuperblock which stores data about the file system, that allows the operating system to locate and understand other file system structures. For example, the number ofinodes andzones, the size of the two bitmaps and the starting block of thedata area.
  • Theinodebitmap is a simplemap of theinodes 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).
  • Thezone bitmap works in the same way as theinode bitmap, except it tracks the zones.
  • Theinodes area. Each file or directory is represented as an inode, which records metadata including type (file, directory, block, char, pipe), IDs for user and group, three timestamps that record the date and time of last access, last modification and last status change. An inode also contains a list of addresses that point to the zones in thedata area where the file or directory data is actually stored.
  • Thedata 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.

See also

[edit]

References

[edit]
  1. ^abTanenbaum, Andrew S; Albert S. Woodhull (14 January 2006).Operating Systems: Design and Implementation (3rd ed.).Prentice Hall.ISBN 0-13-142938-8.
  2. ^abStrobel, Stefan; Uhl, Thomas (1994).Linux—Unleashing the Workstation in Your PC. Springer-Verlag. p. 54.
  3. ^abMauerer, Wolfgang (2010).Professional Linux Kernel Architecture. John Wiley & Sons.ISBN 9781118079911.
  4. ^"linux release 0.01 - refs/tags/v0.01 - pub/scm/linux/kernel/git/nico/archive - Git at Google".kernel.googlesource.com. Retrieved2024-03-29.

External links

[edit]
Disk and
non-rotating
Optical disc
Flash memory andSSD
host-sidewear leveling
Distributed parallel
NAS
Specialized
Pseudo
Encrypted
Types
Features
Access control
Interfaces
Lists
Layouts
Retrieved from "https://en.wikipedia.org/w/index.php?title=MINIX_file_system&oldid=1305072511"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp