Changeset ed20c2d


Ignore:
Timestamp:
10/30/2008 11:58:57 PM (16 years ago)
Author:
DJ Lucas <dj@…>
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, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 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:
2788151
Parents:
9d25a89
Message:

Moved cleanfs immediately after mountfs and removed the timestamp maker for stale files.

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

Location:
bootscripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/ChangeLog

    r9d25a89 red20c2d  
     12008-10-27      DJ Lucas        <dj@linuxfromscratch.org>
     2        * lfs/init.d/cleanfs: Removed '! -newer /proc' from find commands in
     3          check for stale files in /var/lock and /var/run.
     4        * Makefile: Reversed cleanfs and udev_retry scripts so that cleanfs
     5          runs immediately after mountfs.
     6
    172008-10-26      Dan Nicholson   <dnicholson@linuxfromscratch.org>
    28        * lfs/init.d/functions: Remove stale pid files when encountered
     
    1117
    12182008-05-21      Bryan Kadzban   <bryan@linuxfromscratch.org>
    13         * lfs/init.d/udev: lfs/init.d/udev_retry: Use new udevadm program.
     19        * lfs/init.d/udev, lfs/init.d/udev_retry: Use new udevadm program.
    1420
    15212007-08-20      DJ Lucas        <dj@linuxfromscratch.org>
     
    109115        * Removed references to /dev/bug and bugreport in udevand
    110116          udev_retry bootscripts. (DJ Lucas)
     117
    111118n/a - April 17, 2006
    112119        * Updated udev script to use the new udevsettle program.
  • bootscripts/Makefile

    r9d25a89 red20c2d  
    7676        ln -sf ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs
    7777        ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs
    78         ln -sf ../init.d/udev_retry  ${EXTDIR}/rc.d/rcsysinit.d/S45udev_retry
    79         ln -sf ../init.d/cleanfs     ${EXTDIR}/rc.d/rcsysinit.d/S50cleanfs
     78        ln -sf ../init.d/cleanfs     ${EXTDIR}/rc.d/rcsysinit.d/S45cleanfs
     79        ln -sf ../init.d/udev_retry  ${EXTDIR}/rc.d/rcsysinit.d/S50udev_retry
    8080        ln -sf ../init.d/console     ${EXTDIR}/rc.d/rcsysinit.d/S70console
    8181        ln -sf ../init.d/localnet    ${EXTDIR}/rc.d/rcsysinit.d/S80localnet
     
    127127        ln -sf ../init.d/checkfs     ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs
    128128        ln -sf ../init.d/mountfs     ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs
    129         ln -sf ../init.d/cleanfs     ${EXTDIR}/rc.d/rcsysinit.d/S50cleanfs
     129        ln -sf ../init.d/cleanfs     ${EXTDIR}/rc.d/rcsysinit.d/S45cleanfs
    130130        if [ ! -f ${EXTDIR}/sysconfig/rc          ]; then install -m ${CONFMODE} lfs/sysconfig/rc          ${EXTDIR}/sysconfig/; fi
    131131
  • bootscripts/lfs/init.d/cleanfs

    r9d25a89 red20c2d  
    8181                boot_mesg -n " /var/lock" ${NORMAL}
    8282                cd /var/lock &&
    83                 find . -type f ! -newer /proc -exec rm -f {} \; || failed=1
     83                find . -type f ! -exec rm -f {} \; || failed=1
    8484
    8585                boot_mesg " /var/run" ${NORMAL}
    8686                cd /var/run &&
    87                 find . ! -type d ! -name utmp ! -newer /proc \
     87                find . ! -type d ! -name utmp \
    8888                        -exec rm -f {} \; || failed=1
    8989                > /var/run/utmp
Note: See TracChangeset for help on using the changeset viewer.