LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tune2fs?? (https://www.linuxquestions.org/questions/linux-newbie-8/tune2fs-274905/)

blackzone 01-07-2005 01:20 AM

tune2fs??
 
what does it do?

The manpage dno't help much:
tune2fs - adjust tunable filesystem parameters on second extended filesystems

is it mendotary to run it?

silverpearl 01-07-2005 02:24 AM

tunefs is used to switch filesystem from ext2 to ext3 and vice versa

tune2fs -j /dev/hda1 will switch ext2 to ext3

tune2fs -O has_journal /dev/hda1 will revert back to ext2 file system

also, when you revert ext2 to ext3, there r bits set in the file system that tells linux when to do a forced fsck on the disks. since ext3 doesnt need this, you can run tunefs -i 0 -c 0 /dev/hda1 to turn off forced checks.

HTH


All times are GMT -5. The time now is 01:19 PM.