On Thu, Aug 8, 2013 at 7:35 AM, WANG Chao <chaow...@redhat.com> wrote:
> In add_mount(), if nofail=true, "Before=$post" won't be added to
> xxx.mount:
> [..]
> if (post && !noauto && !nofail && !automount)
>         fprintf(f,
>                 "Before=%s\n",
>                 post);
> why doing this?

The way things currently work you can use 'nofail' when you want your
boot to be unaffected by a missing device. If we change this as you
suggest, then a missing device will lead to a long timeout (which
delays boot by a couple of minutes). That's not really wrong (it
doesn't contradict the fstab manpage), but would obviously limit the
usefulness of 'nofail'.


systemd-devel mailing list

Reply via email to