From 10ad622dc2a9fb6563fab13719ead8baf15ff9e4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 17 Apr 2017 16:13:32 +0200 Subject: Spelling fixes in comments, documentation, tests and examples By klemens Signed-off-by: Denys Vlasenko --- util-linux/switch_root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux/switch_root.c') 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 script. (You can work around this with static linking or very carefully laid out paths and sequencing, but it's brittle, ugly, and non-obvious.) -2) The "find | rm" bit will acually delete everything because the mount points +2) The "find | rm" bit will actually delete everything because the mount points still show up (even if their contents don't), and rm -rf will then happily zap that. So the first line is an oversimplification of what you need to do _not_ to descend into other filesystems and delete their contents. -- cgit v1.2.3