diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2012-11-29 10:19:20 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2012-11-29 10:19:20 -0600 |
commit | 5cce37837b89145832c75b310791ae3a69d883ec (patch) | |
tree | 73170c37071961c293a795e405ed62f0784834cc /test | |
parent | 0a72893c8b02e70a51e7ee0148a3fe586a82cd9d (diff) |
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
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions