Changeset 8435a70 for bootscripts/lfs
- Timestamp:
- 07/22/2023 03:40:32 PM (14 months ago)
- Branches:
- 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- da0d479
- Parents:
- 0d824c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/mountvirtfs
r0d824c5 r8435a70 8 8 # DJ Lucas - dj@linuxfromscratch.org 9 9 # Update : Bruce Dubbs - bdubbs@linuxfromscratch.org 10 # Xi Ruoyao - xry111@xry111.site 10 11 # 11 # Version : LFS 7.012 # Version : LFS 12.0 12 13 # 13 14 ######################################################################## … … 65 66 (exit ${failed}) 66 67 evaluate_retval 68 if [ "${failed}" = 1 ]; then 69 exit 1 70 fi 71 72 log_info_msg "Create symlinks in /dev targeting /proc: ${INFO}/dev/stdin" 73 ln -sf /proc/self/fd/0 /dev/stdin || failed=1 74 75 log_info_msg2 " ${INFO}/dev/stdout" 76 ln -sf /proc/self/fd/1 /dev/stdout || failed=1 77 78 log_info_msg2 " ${INFO}/dev/stderr" 79 ln -sf /proc/self/fd/2 /dev/stderr || failed=1 80 81 log_info_msg2 " ${INFO}/dev/fd" 82 ln -sf /proc/self/fd /dev/fd || failed=1 83 84 if [ -e /proc/kcore ]; then 85 log_info_msg2 " ${INFO}/dev/core" 86 ln -sf /proc/kcore /dev/core || failed=1 87 fi 88 89 (exit ${failed}) 90 evaluate_retval 67 91 exit $failed 68 92 ;;
Note:
See TracChangeset
for help on using the changeset viewer.