[systemd-devel] handling mount failure in initramfs context

WANG Chao chaowang at redhat.com
Mon May 26 01:12:56 PDT 2014


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


More information about the systemd-devel mailing list