- Timestamp:
- 08/15/2002 08:36:23 PM (22 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 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, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- ef4653b
- Parents:
- 63d5562d
- Location:
- chapter06
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/chapter06.xml
r63d5562d r4735209 12 12 &c6-mountproc; 13 13 &c6-createfiles; 14 &c6-makedev; 14 15 &c6-kernel; 15 16 &c6-glibc; 16 &c6-makedev;17 17 &c6-gcc; 18 18 &c6-zlib; -
chapter06/createfiles.xml
r63d5562d r4735209 1 1 <sect1 id="ch06-createfiles"> 2 <title>Creating a few missing files</title>2 <title>Creating the /bin/sh symlink</title> 3 3 <?dbhtml filename="createfiles.html" dir="chapter06"?> 4 4 5 <para>A few files need to be created because programs hard-wire paths 6 that don't exist yet. The most frequently ones used are 7 <filename>/bin/sh</filename> and <filename>/dev/null</filename> so we'll be 8 creating those for the time being and replace them properly when the file's 9 package is (re)installed.</para> 5 <para>Some programs hard-wire paths that don't exist yet. The only one 6 which may cause us trouble is <filename>/bin/sh</filename>. 7 We therefore create this for the time being and replace it 8 properly when the bash package is (re)installed.</para> 10 9 11 <para>Create the filesby running the following commands:</para>10 <para>Create the /bin/sh symlink by running the following commands:</para> 12 11 13 <para><screen><userinput>ln -s /static/bin/bash /bin/sh && 14 mknod -m 0666 /dev/null c 1 3</userinput></screen></para> 12 <para><screen><userinput>ln -s /static/bin/bash /bin/sh</userinput></screen></para> 15 13 16 14 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.