diff options
Diffstat (limited to 'chapter06/devices.xml')
-rw-r--r-- | chapter06/devices.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/chapter06/devices.xml b/chapter06/devices.xml index 87bfd6a32..da4af0a17 100644 --- a/chapter06/devices.xml +++ b/chapter06/devices.xml @@ -37,7 +37,7 @@ accessed. This is generally done during the boot process. Since this new system has not been booted, it is necessary to do what the LFS-Bootscripts package would otherwise do by mounting <filename class="directory">/dev</filename>:</para> -<screen><userinput>mount -n -t tmpfs none /dev</userinput></screen> +<screen><userinput>mount -nvt tmpfs none /dev</userinput></screen> <para>The Udev package is what actually creates the devices in the <filename class="directory">/dev</filename> directory. Since it will not be installed @@ -51,26 +51,26 @@ mknod -m 666 /dev/ptmx c 5 2 mknod -m 666 /dev/tty c 5 0 mknod -m 444 /dev/random c 1 8 mknod -m 444 /dev/urandom c 1 9 -chown root:tty /dev/{console,ptmx,tty}</userinput></screen> +chown -v root:tty /dev/{console,ptmx,tty}</userinput></screen> <para>There are some symlinks and directories required by LFS that are created during system startup by the LFS-Bootscripts package. Since this is a chroot environment and not a booted environment, those symlinks and directories need to be created here:</para> -<screen><userinput>ln -s /proc/self/fd /dev/fd -ln -s /proc/self/fd/0 /dev/stdin -ln -s /proc/self/fd/1 /dev/stdout -ln -s /proc/self/fd/2 /dev/stderr -ln -s /proc/kcore /dev/core -mkdir /dev/pts -mkdir /dev/shm</userinput></screen> +<screen><userinput>ln -sv /proc/self/fd /dev/fd +ln -sv /proc/self/fd/0 /dev/stdin +ln -sv /proc/self/fd/1 /dev/stdout +ln -sv /proc/self/fd/2 /dev/stderr +ln -sv /proc/kcore /dev/core +mkdir -v /dev/pts +mkdir -v /dev/shm</userinput></screen> <para>Finally, mount the proper virtual (kernel) file systems on the newly-created directories:</para> -<screen><userinput>mount -t devpts -o gid=4,mode=620 none /dev/pts -mount -t tmpfs none /dev/shm</userinput></screen> +<screen><userinput>mount -vt devpts -o gid=4,mode=620 none /dev/pts +mount -vt tmpfs none /dev/shm</userinput></screen> <para>The <command>mount</command> commands executed above may result in the following warning message:</para> |