Changeset 716db1f for bootscripts/lfs/init.d/mountvirtfs
- Timestamp:
- 09/20/2021 07:37:34 AM (3 years ago)
- Branches:
- multilib
- Children:
- 60870bc
- Parents:
- e680022 (diff), 7e62bbc (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
re680022 r716db1f 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.