Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Inode
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Inlining== It can make sense to store very small files in the inode itself to save both space (no data block needed) and lookup time (no further disk access needed). This file system feature is called inlining. The strict separation of inode and file data thus can no longer be assumed when using modern file systems. If the data of a file fits in the space allocated for pointers to the data, this space can conveniently be used. For example, [[ext2]] and its successors store the data of symlinks (typically file names) in this way if the data is no more than 60 bytes ("fast symbolic links").<ref>{{cite web|url= http://www.win.tue.nl/~aeb/linux/lk/lk-7.html |title=The Linux kernel: Filesystems|work=tue.nl}}</ref> [[Ext4]] has a file system option called <code>inline_data</code> that allows ext4 to perform inlining if enabled during file system creation. Because an inode's size is limited, this only works for very small files.<ref>{{cite web|url=https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inline_Data|title=Ext4 Disk Layout|work=kernel.org|access-date=August 18, 2013}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)