Only unmount non-protected filesystems at shutdown

This patch adds support for a more fine grained approach to what
filesystems are unmounted at shutdown/reboot.  This so we later
can add support for `mdadm --wait-clean --scan`, which relies on
/proc, /sys, and /dev being there before we call reboot().

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-08-14 21:09:15 +02:00
1 parent b1fb536468
commit f4327910d9
3 files changed
+121 -6

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
ACLOCAL_AMFLAGS = -I m4
sbin_PROGRAMS = finit initctl reboot
finit_SOURCES = finit.c api.c client.c conf.c exec.c getty.c helpers.c pid.c \
sig.c svc.c service.c plugin.c tty.c cond.c cond-w.c sm.c \
utmp-api.c utmp-api.h
finit_SOURCES = finit.c api.c client.c conf.c exec.c getty.c helpers.c \
mount.c pid.c sig.c svc.c service.c plugin.c tty.c \
cond.c cond-w.c sm.c utmp-api.c utmp-api.h
pkginclude_HEADERS = cond.h finit.h helpers.h inetd.h plugin.h svc.h
if INETD
finit_SOURCES += inetd.c