LFCS · Question #871
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/ creation time and does NOT generate them as needed? (Choose TWO correct answers.)
The correct answer is A. ext3 C. ext2. Traditional Linux filesystems like ext2 and ext3 preallocate a fixed number of inodes at creation time, unlike more modern or virtual filesystems.
Question
Options
- Aext3
- BJFS
- Cext2
- DXFS
- Eprocfs
How the community answered
(27 responses)- A93% (25)
- D4% (1)
- E4% (1)
Why each option
Traditional Linux filesystems like `ext2` and `ext3` preallocate a fixed number of inodes at creation time, unlike more modern or virtual filesystems.
`ext3` (third extended filesystem) is a journaling filesystem that, like its predecessor `ext2`, preallocates a fixed number of inodes when the filesystem is created, establishing an upper limit on the number of files it can contain.
JFS (Journaled File System) is designed to allocate inodes dynamically as needed, rather than preallocating a fixed quantity at filesystem creation.
`ext2` (second extended filesystem) is an older, widely used Linux filesystem that allocates a static, fixed number of inodes when the filesystem is initially formatted, which defines the maximum number of files and directories it can store.
XFS is a high-performance journaling filesystem that employs dynamic inode allocation, allowing it to generate inodes as required rather than preallocating a fixed set.
`procfs` is a virtual filesystem that does not store data on disk and thus does not manage physical inode allocation in the conventional sense.
Concept tested: Filesystem inode allocation strategies
Source: https://www.kernel.org/doc/html/latest/filesystems/ext3.html
Topics
Community Discussion
No community discussion yet for this question.