Ignore:
Timestamp:
07/22/2023 10:30:15 PM (11 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
7f440a6
Parents:
9f0c94b (diff), e5c08bf (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.
Message:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/mountvirtfs

    r9f0c94b rb3d94f3  
    88#               DJ Lucas - dj@linuxfromscratch.org
    99# Update      : Bruce Dubbs - bdubbs@linuxfromscratch.org
     10#               Xi Ruoyao - xry111@xry111.site
    1011#
    11 # Version     : LFS 7.0
     12# Version     : LFS 12.0
    1213#
    1314########################################################################
     
    6566      (exit ${failed})
    6667      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
    6791      exit $failed
    6892      ;;
Note: See TracChangeset for help on using the changeset viewer.