Changeset 94cea1d for bootscripts
- Timestamp:
- 06/24/2017 07:33:48 PM (7 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- d414cb0
- Parents:
- b2a5112
- Location:
- bootscripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
rb2a5112 r94cea1d 1 2015-06-24 Bruce Dubbs <bdubbs@linuxfromscratch.org> 2 * Unmount network file systems before bringing down the network 3 * Spell out some mount/umount options 4 1 5 2017-03-25 DJ Lucas <dj@linuxfromscratch.org> 2 6 * Bash-4.4 changes no longer allow continue in function to pass to calling -
bootscripts/lfs/init.d/mountfs
rb2a5112 r94cea1d 34 34 start) 35 35 log_info_msg "Remounting root file system in read-write mode..." 36 mount - oremount,rw / >/dev/null36 mount --options remount,rw / >/dev/null 37 37 evaluate_retval 38 38 … … 47 47 48 48 log_info_msg "Mounting remaining file systems..." 49 mount - a -Ono_netdev >/dev/null49 mount --all --test-opts no_netdev >/dev/null 50 50 evaluate_retval 51 51 exit $failed … … 55 55 # Don't unmount virtual file systems like /run 56 56 log_info_msg "Unmounting all other currently mounted file systems..." 57 umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null 57 umount --all --detach-loop --read-only \ 58 --types notmpfs,nosysfs,nodevtmpfs,noproc,nodevpts >/dev/null 58 59 evaluate_retval 59 60 60 61 # Make sure / is mounted read only (umount bug) 61 mount - oremount,ro /62 mount --test-opts remount,ro / 62 63 63 64 # Make all LVM volume groups unavailable, if appropriate -
bootscripts/lfs/init.d/network
rb2a5112 r94cea1d 46 46 47 47 stop) 48 # Unmount any network mounted file systems 49 umount --all --force --types nfs,cifs,nfs4 50 48 51 # Reverse list 49 52 net_files=""
Note:
See TracChangeset
for help on using the changeset viewer.