[systemd-devel] systemd-fsck change fsck arguments to "-a" -> "-y"

Kok, Auke-jan H auke-jan.h.kok at intel.com
Fri Feb 8 00:04:11 PST 2013


On Thu, Feb 7, 2013 at 3:38 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Thu, 07.02.13 16:57, Bryan Duff (bduff at ecessa.com) wrote:
>
>> Would it be possible to add this as some kind of option to systemd-fsck?
>>
>> In my case there was a situation where ext3 would not mount because
>> of a timestamp issue that would not be fixed with "-a".
>
> Every sane distro patches the timestamp check nonsense out of
> e2fsck. Assuming the RTC was always correct is just so misguided, it
> hurts...

ACK, sadly, I've applied this patch too several times...

>> -        cmdline[i++] = "-a";
>> +//        cmdline[i++] = "-a";
>>          cmdline[i++] = "-T";
>>          cmdline[i++] = "-l";
>> +        cmdline[i++] = "-y";
>>
>
> Hmm, I wonder if -a or -y is the way to go. Karel, as util-linux/fsck
> maintainer, do you have an opinion whether we should use -a or -y for
> automatic, non-interactive fscking? Is -a obsolete and -y the future?

I'd certainly would appreciate knowing Karel's standpoint on this!

Auke


More information about the systemd-devel mailing list