Changeset c6b94da


Ignore:
Timestamp:
Oct 5, 2013, 10:06:35 PM (9 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e96c16e
Parents:
58a30f9
Message:

Fix umount command for /dev/shm. It should be almost like kernfs mount of /dev/shm as in the chroot section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/the-end/reboot.xml

    r58a30f9 rc6b94da  
    3838
    3939<screen><userinput>umount ${CLFS}/dev/pts
    40 umount ${CLFS}/dev/shm
     40
     41if [ -h ${CLFS}/dev/shm ]; then
     42  link=$(readlink ${CLFS}/dev/shm)
     43  umount -v ${CLFS}/$link
     44  unset link
     45else
     46  umount -v ${CLFS}/dev/shm
     47fi
     48
    4149umount ${CLFS}/dev
    4250umount ${CLFS}/proc
Note: See TracChangeset for help on using the changeset viewer.