Changeset d4c8dce4 for bootscripts/lfs/init.d/mountvirtfs
- Timestamp:
- 09/15/2021 07:24:40 AM (3 years ago)
- Branches:
- 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, arm, bdubbs/gcc13, 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:
- 9af096e
- Parents:
- df1207e (diff), 06e7b361 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/mountvirtfs
rdf1207e rd4c8dce4 40 40 chmod 1777 /run/shm /run/lock 41 41 42 log_info_msg "Mounting virtual file systems: ${INFO}/run" 42 log_info_msg "Mounting virtual file systems: ${INFO}/run" 43 43 44 44 if ! mountpoint /proc >/dev/null; then … … 48 48 49 49 if ! mountpoint /sys >/dev/null; then 50 log_info_msg2 " ${INFO}/sys" 50 log_info_msg2 " ${INFO}/sys" 51 51 mount -o nosuid,noexec,nodev /sys || failed=1 52 52 fi 53 53 54 54 if ! mountpoint /dev >/dev/null; then 55 log_info_msg2 " ${INFO}/dev" 55 log_info_msg2 " ${INFO}/dev" 56 56 mount -o mode=0755,nosuid /dev || failed=1 57 57 fi 58 58 59 59 ln -sfn /run/shm /dev/shm 60 60 61 61 (exit ${failed}) 62 62 evaluate_retval
Note:
See TracChangeset
for help on using the changeset viewer.