This is an old revision of the document!


The most useful tweak you can perform is the way that directory indexes are scanned when looking for files. This is controlled by the option “dir_index”. By default this wouldn't be enabled but you can add it by running:

mine:~# tune2fs -O dir_index /dev/sda1

Once you've done this you'll be able to see the updated filesystem flags which are in use:

mine:~# tune2fs -l /dev/sda1 | grep features
Filesystem features:      has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file

An entry in the fstab file usually looks something like this:

/dev/sda1       /               ext3    defaults,errors=remount-ro,noatime 0       1
linux/ext3.1178997560.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready