Changeset d312716 in clfs-embedded for bootscripts/clfs/rc.d/startup


Ignore:
Timestamp:
Sep 13, 2009, 4:58:07 PM (15 years ago)
Author:
Maarten Lankhorst <mlankhorst@…>
Branches:
master
Children:
18bce0c
Parents:
ef49c8c
Message:

bootscripts: mount /var on tmpfs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/clfs/rc.d/startup

    ref49c8c rd312716  
    55. /etc/rc.d/init.d/functions
    66
    7 /bin/mount -t tmpfs /tmp /tmp
    87/bin/mount -t proc none /proc
    98/bin/mount -t sysfs none /sys
     9/bin/mount -t tmpfs /tmp /tmp
    1010/bin/mount -t tmpfs -o mode=0755 none /dev
    1111/bin/mkdir /dev/pts
    1212/bin/mkdir /dev/shm
     13/bin/mount -t tmpfs -o mode=0755 /var /var
     14for x in cache lib lib/misc lib/locate local lock log mail opt run spool; do mkdir /var/$x; done
     15ln -s ../tmp /var/tmp
     16
    1317/bin/echo "/sbin/mdev" > /proc/sys/kernel/hotplug
    1418
Note: See TracChangeset for help on using the changeset viewer.