Ignore:
Timestamp:
06/24/2017 07:33:48 PM (7 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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
Message:

Remove section disussing configuration without a network card.
Update boot scripts to unmount network file systems before bringing down the network.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11260 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/mountfs

    rb2a5112 r94cea1d  
    3434   start)
    3535      log_info_msg "Remounting root file system in read-write mode..."
    36       mount -o remount,rw / >/dev/null
     36      mount --options remount,rw / >/dev/null
    3737      evaluate_retval
    3838
     
    4747
    4848      log_info_msg "Mounting remaining file systems..."
    49       mount -a -O no_netdev >/dev/null
     49      mount --all --test-opts no_netdev >/dev/null
    5050      evaluate_retval
    5151      exit $failed
     
    5555      # Don't unmount virtual file systems like /run
    5656      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
    5859      evaluate_retval
    5960
    6061      # Make sure / is mounted read only (umount bug)
    61       mount -o remount,ro /
     62      mount --test-opts remount,ro /
    6263
    6364      # Make all LVM volume groups unavailable, if appropriate
Note: See TracChangeset for help on using the changeset viewer.