On 07/30/13 at 04:40pm, Tom Gundersen wrote: > On Tue, Jul 30, 2013 at 4:13 PM, Harald Hoyer <har...@redhat.com> wrote: > > On 07/30/2013 03:46 PM, Zbigniew Jędrzejewski-Szmek wrote: > >> Maybe rootfsflags=nofail could do be used as this flag? > > > > rootfsflags=nofail sounds ok, if it is not used for booting the initial > > system. > > Yeah, you are right, this looks like it should just work. > > Though the behavior of initrd-parse-etc.service and > initrd-switch-root.service will be non-deterministic if this flag is > specified (unless I'm missing something). Maybe they should be > explicitly ordered After/Wants=sysroot.mount ? That may cause a long > timeout, but at least there will be no emergency mode.
No, guys, nofail mount option will *only* work when device (or should I say filesystem) doesn't exist. From mount(8): [..] _nofail_ Do not report errors for this device if it does not exist. So if filesystem is corrupted or something else fails the sysroot.mount, initrd-root-fs.target will never be reached. Thanks WANG Chao _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel