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

Colin Guthrie gmane at colin.guthr.ie
Fri Feb 8 03:43:58 PST 2013


'Twas brillig, and Kay Sievers at 08/02/13 11:21 did gyre and gimble:
> On Fri, Feb 8, 2013 at 12:05 PM, Colin Guthrie <gmane at colin.guthr.ie> wrote:
>> '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!).
> 
> Right. Don't forget to put it into the initramfs, if needed.

Yup, dracut copies if it's present already, but make sure to modify any
other initramfs generator if it doesn't do that.

> Well, there will be btrfs ... :)

One day... :)

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