diff options
author | Denys Vlasenko | 2015-10-13 12:34:35 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-10-13 12:34:35 +0200 |
commit | bf74fb44977d9b90c51dba19c1fd7f071147d955 (patch) | |
tree | 010eb533f2340e9f42c9fe08b6611a2792272890 /util-linux | |
parent | 6390a3a4e5e44894a94b31b57a9b2a07a215f171 (diff) | |
download | busybox-bf74fb44977d9b90c51dba19c1fd7f071147d955.zip busybox-bf74fb44977d9b90c51dba19c1fd7f071147d955.tar.gz |
typo fix in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-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 a301b36..7960b67 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. That's why the careful sequencing above: we cd into the new mount point before we do the mount --move. Moving the mount point would otherwise make it -totally inaccessible to is because cd-ing to the old path wouldn't give it to +totally inaccessible to us because cd-ing to the old path wouldn't give it to us anymore, and cd "/" just gives us the cached dentry from when the process was created (in this case the old initramfs one). But the "." symlink gives us the dentry of the filesystem we just moved, so we can then "chroot ." to |