diff options
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/lfs/init.d/mountfs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootscripts/lfs/init.d/mountfs b/bootscripts/lfs/init.d/mountfs index 2509f30de..ee7dcf5f7 100644 --- a/bootscripts/lfs/init.d/mountfs +++ b/bootscripts/lfs/init.d/mountfs @@ -54,6 +54,8 @@ case "${1}" in stop) # Don't unmount virtual file systems like /run log_info_msg "Unmounting all other currently mounted file systems..." + # Ensure any loop devies are removed + losetup -D umount --all --detach-loop --read-only \ --types notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null evaluate_retval |