From 940769457b0ae75a6a07db10534eafa3175b9018 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 18 Nov 2022 13:13:37 +0800 Subject: 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. --- chapter07/kernfs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chapter07') 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 @@ $LFS/dev directory is by bind mounting the host system's /dev 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. mount -v --bind /dev $LFS/dev -- cgit v1.2.3-54-g00ecf