LFCS · Question #782
Which of the following Linux filesystems pre-allocates a fixed number of inodes at filesystems make/creation time, and does NOT generate them as needed?
The correct answer is A. ext3. The ext3 filesystem pre-allocates a fixed number of inodes when it is created, unlike more modern filesystems that allocate them dynamically as needed.
Question
Options
- Aext3
- Bjfs
- Creiserfs
- Dxfs
How the community answered
(48 responses)- A88% (42)
- B6% (3)
- C4% (2)
- D2% (1)
Why each option
The ext3 filesystem pre-allocates a fixed number of inodes when it is created, unlike more modern filesystems that allocate them dynamically as needed.
The ext3 filesystem, like its predecessor ext2, pre-allocates a fixed number of inodes at the time of filesystem creation (using `mkfs`), which limits the total number of files it can hold from the outset.
JFS (Journaled File System) is a dynamic inode allocation filesystem, meaning it allocates inodes as required rather than pre-allocating a fixed number.
ReiserFS is a dynamic inode allocation filesystem, which allows it to generate inodes on the fly as files are created.
XFS is a dynamic inode allocation filesystem, capable of expanding its inode allocation as the filesystem grows and new files are added.
Concept tested: Linux filesystem inode allocation methods
Source: https://wiki.archlinux.org/title/Ext4
Topics
Community Discussion
No community discussion yet for this question.