|
Wednesday, 13 January 2010 09:00 |
|
I use this script I wrote to quickly modify /etc/fstab to include the parameters I want.
I want "noatime" for all filesystems, "notail" for reiserfs, "umask=0" for vfat and "/tmp" mounted on a RAM disk (tmpfs filesystem).
This script does it all, plus it removes the conflicting options, like old "umask" settings and "relatime". It also backs up the old /etc/fstab before modifying it and outputs the new contents after the work is done.
perl fstab-modify.pl
|