aboutsummaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /util-linux/switch_root.c
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.bz2
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r--util-linux/switch_root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index aaee35a3e..f18e8a5ce 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -183,7 +183,7 @@ So there's a step that needs to be sort of atomic but can't be as a shell
183script. (You can work around this with static linking or very carefully laid 183script. (You can work around this with static linking or very carefully laid
184out paths and sequencing, but it's brittle, ugly, and non-obvious.) 184out paths and sequencing, but it's brittle, ugly, and non-obvious.)
185 185
1862) The "find | rm" bit will acually delete everything because the mount points 1862) The "find | rm" bit will actually delete everything because the mount points
187still show up (even if their contents don't), and rm -rf will then happily zap 187still show up (even if their contents don't), and rm -rf will then happily zap
188that. So the first line is an oversimplification of what you need to do _not_ 188that. So the first line is an oversimplification of what you need to do _not_
189to descend into other filesystems and delete their contents. 189to descend into other filesystems and delete their contents.