diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-13 12:34:35 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-13 12:34:35 +0200 |
commit | bf74fb44977d9b90c51dba19c1fd7f071147d955 (patch) | |
tree | 010eb533f2340e9f42c9fe08b6611a2792272890 /util-linux/switch_root.c | |
parent | 6390a3a4e5e44894a94b31b57a9b2a07a215f171 (diff) | |
download | busybox-w32-bf74fb44977d9b90c51dba19c1fd7f071147d955.tar.gz busybox-w32-bf74fb44977d9b90c51dba19c1fd7f071147d955.tar.bz2 busybox-w32-bf74fb44977d9b90c51dba19c1fd7f071147d955.zip |
typo fix in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r-- | util-linux/switch_root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index a301b365b..7960b672c 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c | |||
@@ -206,7 +206,7 @@ because they're what all paths your process uses would be relative to. | |||
206 | 206 | ||
207 | That's why the careful sequencing above: we cd into the new mount point before | 207 | That's why the careful sequencing above: we cd into the new mount point before |
208 | we do the mount --move. Moving the mount point would otherwise make it | 208 | we do the mount --move. Moving the mount point would otherwise make it |
209 | totally inaccessible to is because cd-ing to the old path wouldn't give it to | 209 | totally inaccessible to us because cd-ing to the old path wouldn't give it to |
210 | us anymore, and cd "/" just gives us the cached dentry from when the process | 210 | us anymore, and cd "/" just gives us the cached dentry from when the process |
211 | was created (in this case the old initramfs one). But the "." symlink gives | 211 | was created (in this case the old initramfs one). But the "." symlink gives |
212 | us the dentry of the filesystem we just moved, so we can then "chroot ." to | 212 | us the dentry of the filesystem we just moved, so we can then "chroot ." to |