kernfs: reword the description of bind mount

"Duplicated copy" is wrong IMO.  If you copy A to B, B won't be changed
when you modify A.  But if you bind mount A to B, B will reflect any
change made to A.

Again copy something from mount(2):

    A bind mount makes a file or a directory subtree visible at another
    point within the single directory hierarchy.
This commit is contained in:
Xi Ruoyao 2022-11-18 13:13:37 +08:00
parent 2f9498afa4
commit 940769457b
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -50,8 +50,8 @@
<filename class="directory">$LFS/dev</filename> directory is <filename class="directory">$LFS/dev</filename> directory is
by bind mounting the host system's by bind mounting the host system's
<filename class="directory">/dev</filename> directory. A bind mount is <filename class="directory">/dev</filename> directory. A bind mount is
a special type of mount that generates a duplicate copy of a a special type of mount that makes a directory subtree or a file
directory or mount point at some other location. Use the following visible at some other location. Use the following
command to do this.</para> command to do this.</para>
<screen><userinput>mount -v --bind /dev $LFS/dev</userinput></screen> <screen><userinput>mount -v --bind /dev $LFS/dev</userinput></screen>