openrc/init.d
William Hubbs 5cce37837b localmount: only skip unmounting /usr if it was premounted
Add a test when localmount is started to determine if /usr is mounted
from inside an initramfs for Linux systems. If it is not, we can unmount it when
localmount stops.

On *bsd systems, we always unmount /usr if it is separate.

Reported-by: ryao@gentoo.org
2012-11-29 10:19:20 -06:00
..
.gitignore Tmpfiles: create and delete entries once in the boot runlevel. 2012-10-31 17:33:14 -05:00
adjkerntz.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
bootmisc.in init.d/bootmisc: Another instance of the same pattern matching case. 2012-11-06 23:01:42 +00:00
consolefont.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
devd.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
devdb.in fix random typos 2011-10-16 19:02:21 -04:00
devfs.in devfs: Remove references to specific device managers 2012-10-19 20:53:46 -05:00
dmesg.in dmesg should not run in a linux container 2012-10-02 11:06:31 -05:00
dumpon.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
encswap.in remove unnecessary header line 2012-07-15 14:12:55 -05:00
fsck.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
hostid.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
hostname.in Whitespace. 2012-11-07 00:32:09 +00:00
hwclock.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
ipfw.in fix random typos 2011-10-16 19:02:21 -04:00
keymaps.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
killprocs.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
local.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
localmount.in localmount: only skip unmounting /usr if it was premounted 2012-11-29 10:19:20 -06:00
Makefile Tmpfiles: create and delete entries once in the boot runlevel. 2012-10-31 17:33:14 -05:00
mixer.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
modules.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
mount-ro.in Use do_umount's return value instead of eoutdent's. 2012-08-18 22:37:38 +02:00
moused.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
mtab.in init.d/mtab: Another instance of the same pattern matching case. 2012-11-06 23:02:56 +00:00
net.lo.in oldnet: make the default carrier timeout 0 2012-10-22 09:23:04 -05:00
netmount.in netmount: drop need net from dependencies 2012-10-25 16:33:56 -05:00
network.in do not provide a virtual for the loopback 2012-08-25 17:09:04 -05:00
newsyslog.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
nscd.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
numlock.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
pf.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
powerd.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
procfs.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
rarpd.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
rc-enabled.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
root.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
rpcbind.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
savecache.in savecache: make sure $RC_LIBEXECDIR is writable 2012-09-07 19:18:51 -05:00
savecore.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
staticroute.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
swap-blk.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
swap.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
swapfiles.in swapfiles: make sure /proc/swaps exists 2012-08-17 13:26:21 -05:00
swclock.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
syscons.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
sysctl.BSD.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
sysctl.Linux.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
sysfs.in sysfs: add -lxc keyword 2012-10-02 15:02:11 -05:00
syslogd.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
termencoding.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
tmpfiles.setup.in Tmpfiles: create and delete entries once in the boot runlevel. 2012-10-31 17:33:14 -05:00
ttys.in Bring Back prefix support 2012-07-26 10:54:48 -05:00
urandom.in Add -lxc keyword to urandom script 2012-09-26 11:51:34 -05:00
wscons.in Bring Back prefix support 2012-07-26 10:54:48 -05:00