Changeset d35dc01


Ignore:
Timestamp:
03/15/2022 11:12:43 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
6ebaf1e0
Parents:
b2ae446
Message:

clfs-ng: create symlink /dev/fd

See "Compulsory links" in linux/Documentation/admin-guide/devices.rst.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/kernfs.xml

    rb2ae446 rd35dc01  
    7777    <filename class="directory">/proc/self/fd</filename> (which are symlinks
    7878    to the files connected to the standard I/O streams for the current
    79     process).  This is necessary for I/O redirection in the building system
    80     of some packages to function properly:</para>
     79    process).  And, create another symlink recommended by the kernel
     80    documentation.  These are necessary for I/O redirection in the building
     81    system of some packages to function properly:</para>
    8182
    8283<screen><userinput>ln -sfv /proc/self/fd/0 /dev/stdin
    8384ln -sfv /proc/self/fd/1 /dev/stdout
    84 ln -sfv /proc/self/fd/2 /dev/stderr</userinput></screen>
     85ln -sfv /proc/self/fd/2 /dev/stderr
     86ln -sv  /proc/self/fd   /dev</userinput></screen>
    8587
    8688  </sect2>
Note: See TracChangeset for help on using the changeset viewer.