]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/mount: Don't unmount initramfs mounts 2794/head
authorJoel Holdsworth <joel.holdsworth@vcatechnology.com>
Thu, 3 Mar 2016 17:25:53 +0000 (17:25 +0000)
committerJoel Holdsworth <joel.holdsworth@vcatechnology.com>
Fri, 4 Mar 2016 15:16:34 +0000 (15:16 +0000)
commit04a9393122d79a3d14506459b0f2c5348673464c
tree85e50d8739e61e9475038bd6b2a5519bb37a994c
parent9f0cd100d0dbc7c9b55e99bacb4034402a60b389
core/mount: Don't unmount initramfs mounts

A mount within /run/initramfs is indicative that the mount was
created by initramfs init and will be unmounted by initramfs
shutdown.

It is unlikely that such a mount point would even be unmountable
by the the main system, for example in the case of the root file-
system being loop-mounted from a file in a /run/initramfs mount.
src/core/mount.c
src/core/umount.c