[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Skipping fsck during boot with systemd?



On Mi, 10 dec 14, 15:32:55, Jape Person wrote:
> 
> But that information plus the linked items (in the info output) grub-reboot
> and grub-editenv may get me started toward a solution.

I just thought of a different approach, using the fact that one can 
manipulate the "Maximum mount count" without having to umount the 
filesystem: write a script that always sets the "Maximum mount count" to 
'0' or '-1' late during the boot (e.g. via rc.local or @reboot in the 
crontab).

With this one can easily trigger a manual check on the next reboot with 
a simple:

    tune2fs -c 1 /dev/sdXY

and the script will reset "Maximum mount count" immediately after, so 
you don't get a check on every reboot ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature


Reply to: