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

Colin Guthrie gmane at colin.guthr.ie
Fri Feb 8 03:05:16 PST 2013


'Twas brillig, and Kok, Auke-jan H at 08/02/13 08:04 did gyre and gimble:
> 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...

By "patches" here I think all we did was ship a /etc/e2fsck.conf with:

[options]
# This will prevent e2fsck from stopping boot just because the clock is
wrong
broken_system_clock = 1

in it. I don't think there is much else needed (please correct me if I'm
wrong!).

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the systemd-devel mailing list