Changeset 609a9e7 in bootscripts-standard for bootscripts/clfs/init.d/mountkernfs
- Timestamp:
- May 15, 2014, 11:50:36 PM (11 years ago)
- Branches:
- master
- Children:
- 8b29156
- Parents:
- 84f3ac2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/clfs/init.d/mountkernfs
r84f3ac2 r609a9e7 22 22 if ! mountpoint /proc >/dev/null; then 23 23 boot_mesg -n " /proc" ${NORMAL} 24 mount -n /proc || failed=124 mount -n -o nosuid,noexec,nodev -t proc proc /proc || failed=1 25 25 fi 26 26 27 27 if ! mountpoint /sys >/dev/null; then 28 28 boot_mesg -n " /sys" ${NORMAL} 29 mount -n /sys || failed=129 mount -n -o nosuid,noexec,nodev -t sysfs sys /sys || failed=1 30 30 fi 31 32 boot_mesg "" ${NORMAL} 33 31 if ! mountpoint /run >/dev/null; then 32 boot_mesg -n " /run" ${NORMAL} 33 mount -n -o mode=0755,nosuid,nodev -t tmpfs run /run || failed=1 34 fi 35 if ! mountpoint /dev >/dev/null; then 36 boot_mesg -n " /dev" ${NORMAL} 37 mount -n -o mode=0755,nosuid -t devtmpfs dev /dev || failed=1 38 fi 34 39 (exit ${failed}) 35 evaluate_retval 40 41 mkdir -m 1777 /run/lock 42 mkdir -p /dev/{pts,shm} 36 43 ;; 37 44
Note:
See TracChangeset
for help on using the changeset viewer.