Thread (1 message) 1 message, 1 author, 2014-08-04

Linux filesystem configuration infrastructure

From: Valdis.Kletnieks at vt.edu <hidden>
Date: 2014-08-04 15:15:40
Also in: linux-fsdevel

On Mon, 04 Aug 2014 10:20:35 +0530, Sankar P said:
Now, I would like to add a few settings to my filesystem (such as the
number of blocks that should be allocated in an extent by default,
maximum fragmentation score after which defrag should be automatically
handled etc.) I would like to have the ability to not just set these
settings, but export them to a file and restore these settings later.
See the source code for tune2fs, which sets the parameters for extN file
systems.  The most noteworthy point is that the settings are saved *on the
filesystem*, so that it can be mounted and handled correctly from the start,
without waiting for further configuration (consider - what happens if the
"default number of blocks per extent" is 8, and you try to read the first 9
blocks of an extent written when the setting was a non-default 16, before
you've configured the setting)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140804/59e295cb/attachment.bin 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help