I tried to define a solution that would prevent laptop users from being blocked due to a read-only filesystem, but still allow the fsck sequence to be performed at shutdown time, so that users can quickly boot theier computer...
My suggestion is :
At boot time :
-> Display a timer and ask the user whether he wants to perform a filesystem check (wording TBD...). Default option : no fsck
At shutdown time :
-> test whether a fsck is needed
If YES -> test whether the computer runs on batteries,
if YES ->skip fsck
if NO, -> perform fsck
if NO -> shutdown
Hello,
I tried to define a solution that would prevent laptop users from being blocked due to a read-only filesystem, but still allow the fsck sequence to be performed at shutdown time, so that users can quickly boot theier computer...
My suggestion is :
At boot time :
-> Display a timer and ask the user whether he wants to perform a filesystem check (wording TBD...). Default option : no fsck
At shutdown time :
-> test whether a fsck is needed
If YES -> test whether the computer runs on batteries,
if YES ->skip fsck
if NO, -> perform fsck
if NO -> shutdown