Re: fstab and root filesystem

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



> Thanks a lot, Temlin! About root fsck, I guess it should be run from the
> initramfs...? AFAIK, rw-mounted filesystems must not be checked.

That's exactly what happens, see the service file: "ConditionPathIsReadWrite=!/"
So you proabably have to add the ro option (if that's not the
default), because systemd will remount r/w: systemd-fsck-root.service
is before local-fs.target which wants systemd-remount-fs.service, but
the man page for the latter mentions that it only runs entries that
exist under fstab.

I suggest you try it without an entry in fstab, both with ro and rw
and report your findings to the fstab page on the wiki.

--
Oliver Temlin


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux