[systemd-devel] [PATCH] fstab-generator: respect noauto/nofail when adding sysroot mount
WANG Chao
chaowang at redhat.com
Thu Aug 8 20:41:43 PDT 2013
On 08/09/13 at 02:08am, Tom Gundersen wrote:
> On Thu, Aug 8, 2013 at 9:18 AM, WANG Chao <chaowang at redhat.com> wrote:
> > Currently we don't respect noauto/nofail root mount options (from
> > rootflags kernel cmdline). We should map these two flags to the
> > corresponding boolean variable noauto and nofail when calling
> > add_mount().
>
> Thanks for the patch. We need some more work to make this actually
> useful, but there is no reason to treat rootflags different from
> regular mount options so I have applied the patch.
Actually it does useful in kdump when I set rootflags=nofail that I can
avoid failure on sysroot.mount, and reach initrd-root-fs.target
But for a normal boot, I don't think anyone would use nofail/noauto...
>
> > Signed-off-by: WANG Chao <chaowang at redhat.com>
>
> For the future, no need to do s-o-b in systemd. I dropped the line
> before applying.
Thanks. Any story here?
WANG Chao
More information about the systemd-devel
mailing list