From 16b73aae8cb73df2974fd75c2a42ec3b92535851 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 24 Feb 2012 23:03:22 +0100 Subject: mount: (new) cleanup mount -a return codes New return codes: 0 : all mounted (or all ignored) 64 : some mounted, some failed 32 : all failed Note that already mounted or ignored (filtered out by -t or -O) filesystems don't affect the final return code. The original mount(8) returns 0 instead of 64, so the situation "some mounted, some failed" cannot be detected. Signed-off-by: Karel Zak --- sys-utils/mount.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-utils/mount.8') diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index f1cff7476..d18881b2c 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -2759,6 +2759,10 @@ mount failure .TP .BR 64 some mount succeeded +.RE + +The command mount -a returns 0 (all success), 32 (all failed) or 64 (some +failed, some success). .SH NOTES The syntax of external mount helpers is: -- cgit v1.2.3-55-g7522