Yes, explicit requires/after, all in dependency.
On 05/28/2014 10:05 AM, WANG Chao wrote: > On 05/28/14 at 09:57am, Przemyslaw Rudy wrote: >> I use 'auto,fail' in fstab line options, however I have rootfs >> dependency to it so fail means all will fail. > > How do you do that? Are you saying that you create a explicit > dependency on sysroot.mount to your xxx.mount from /etc/fstab? > > Thanks > WANG Chao > >> >> On 05/26/2014 09:12 AM, WANG Chao wrote: >>> Hi, all >>> >>> In a pure initramfs enviroment, I want to mount a filesystem and I put >>> an mount entry in /etc/fstab, so that fstab-generator could generate a >>> mount unit and systemd will mount it at some time. >>> >>> I have a question about mount failure in such case: >>> >>> How can I make sure that upon a mount failure, systemd would stop >>> booting and switch to emergency handling? >>> >>> Thanks in advance! >>> >>> WANG Chao >>> _______________________________________________ >>> systemd-devel mailing list >>> systemd-devel@lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/systemd-devel >>> > _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel