[Voyage-linux] possible tune2fs modification

Mark Schlegel (spam-protected)
Wed Aug 10 09:41:42 HKT 2011


I notice the format-cf.sh script has as the last line:

   tune2fs -i 0 -c 0 $TARGET_PART -L ROOT_FS

and the instructions at http://linux.voyage.hk/content/getting-started-v07x
has:

    tune2fs -c 0 /dev/sda1

It might be a good idea for both of those to include argument "-r 0"

tune2fs -r 0 -i 0 -c 0 $TARGET_PART -L ROOT_FS
tune2fs -r 0 -c 0 /dev/sda1

so the tune2fs step doesn't waste 5% of the CF card as root only scratch area. 
I don't know of all do but some distros  have a tune2fs that defaults to 5% of
disk space as root reserved unless you defeat that with a particular -r # 
value

Mark




More information about the Voyage-linux mailing list