[systemd-devel] handling mount failure in initramfs context

Przemyslaw Rudy prudy1 at o2.pl
Wed May 28 01:57:07 PDT 2014


I use 'auto,fail' in fstab line options, however I have rootfs
dependency to it so fail means all will fail.

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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 


More information about the systemd-devel mailing list