Changeset 040521bc for BOOK/chroot/common/kernfs.xml
- Timestamp:
- Sep 22, 2006, 8:30:38 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8953f24
- Parents:
- 5921622
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/chroot/common/kernfs.xml
r5921622 r040521bc 23 23 be mounted:</para> 24 24 25 <screen><userinput>mkdir -pv $ CLFS/{dev,proc,sys}</userinput></screen>25 <screen><userinput>mkdir -pv ${CLFS}/{dev,proc,sys}</userinput></screen> 26 26 27 27 <para>Now mount the file systems:</para> 28 28 29 <screen><userinput>mount -vt proc proc $ CLFS/proc30 mount -vt sysfs sysfs $ CLFS/sys</userinput></screen>29 <screen><userinput>mount -vt proc proc ${CLFS}/proc 30 mount -vt sysfs sysfs ${CLFS}/sys</userinput></screen> 31 31 32 32 <para>Remember that if for any reason you stop working on the CLFS system … … 38 38 starting Udev early in the boot process, so we create them here:</para> 39 39 40 <screen><userinput>mknod -m 600 $ CLFS/dev/console c 5 141 mknod -m 666 $ CLFS/dev/null c 1 3</userinput></screen>40 <screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1 41 mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen> 42 42 43 43 <para>Once the system is complete and booting, the rest of our device … … 48 48 appear in the new CLFS filesystem:</para> 49 49 50 <screen><userinput>mount -v -o bind /dev $ CLFS/dev</userinput></screen>50 <screen><userinput>mount -v -o bind /dev ${CLFS}/dev</userinput></screen> 51 51 52 52 <para>Additional file systems will soon be mounted from within the chroot … … 54 54 for each of these now:</para> 55 55 56 <screen><userinput>mount -f -vt tmpfs tmpfs $ CLFS/dev/shm57 mount -f -vt devpts -o gid=4,mode=620 devpts $ CLFS/dev/pts</userinput></screen>56 <screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm 57 mount -f -vt devpts -o gid=4,mode=620 devpts ${CLFS}/dev/pts</userinput></screen> 58 58 59 59 </sect1>
Note: See TracChangeset
for help on using the changeset viewer.