tune2fs -c 4 -C 3
Dear all,
I am preparing for the LPI exam 201 and trying some commands related to objective 203.2 Maintenance of Linux filesystems. Since I don't have any ext2 filesystems on my notebook, I created one myself: Code:
rechner:~ # dd if=/dev/zero of=/root/ext2fs bs=512 count=512000 Code:
rechner:~ # tune2fs -c 4 -C 3 /dev/loop0 Code:
rechner:~ # dumpe2fs /dev/loop0 | grep count Code:
rechner:~/lvm # umount /mnt/ Shouldn't the system be checked now that the max count is reached? What is wrong? Regards, Carsten |
I don't believe a manual "mount" triggers an fsck. Only a boot-time mount will cause fsck to check the partition, based on the fields in /etc/fstab.
|
That sounds correct. I will keep on trying. Thank you.
|
All times are GMT -5. The time now is 04:16 AM. |