diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-11-18 13:13:37 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-11-18 13:13:37 +0800 |
commit | 940769457b0ae75a6a07db10534eafa3175b9018 (patch) | |
tree | 37783040b2e7bd1efb87c00576d8d5adcadeb890 /chapter07 | |
parent | 2f9498afa401af249bb5c2090b3cc393e659ceb0 (diff) |
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.
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/kernfs.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml index 4ec299708..1f72fecf2 100644 --- a/chapter07/kernfs.xml +++ b/chapter07/kernfs.xml @@ -50,8 +50,8 @@ <filename class="directory">$LFS/dev</filename> directory is by bind mounting the host system's <filename class="directory">/dev</filename> directory. A bind mount is - a special type of mount that generates a duplicate copy of a - directory or mount point at some other location. Use the following + a special type of mount that makes a directory subtree or a file + visible at some other location. Use the following command to do this.</para> <screen><userinput>mount -v --bind /dev $LFS/dev</userinput></screen> |