chiark / gitweb /
core,shutdown: don't bother with unmounting any mounts below /sys, /proc, /dev when...
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Jan 2015 12:44:44 +0000 (13:44 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jan 2015 12:47:41 +0000 (13:47 +0100)
commit874d3404cbf2363604106c8f86683db4082691ea
tree2e9c9d15321af1e6994209a64a559954638d9b8b
parentb4d5b78374e093ffb280fbfbbcfedbe68d60b956
core,shutdown: don't bother with unmounting any mounts below /sys, /proc, /dev when shutting down

After all, mounts below these directories are pretty much guaranteed to
be virtual, and it's hence unnecessary to unmount them during shutdown.
Moreover, in less-priviliged containers we might lack the rights to
unmount them, hence don't even try.

http://lists.freedesktop.org/archives/systemd-devel/2015-January/027113.html
src/core/mount.c
src/core/umount.c