Bug#129550: [PATCH] Proposed rewording of umount() info doc
tags 129550 + patch
thanks
Attached is a patch that re-words the description in the info file to
document the additional requirement that umount() can only take the mount
point, not the mount device, as argument.
T
--
No! I'm not in denial!
--- sysinfo.texi.ORIG 2002-12-27 12:03:57.000000000 -0500
+++ sysinfo.texi 2002-12-27 12:06:46.000000000 -0500
@@ -1048,7 +1048,9 @@
@deftypefun {int} umount (const char *@var{file})
@code{umount} does the same thing as @code{umount2} with @var{flags} set
-to zeroes. It is more widely available than @code{umount2} but since it
+to zeroes, with the additional requirement that @var{file} must be the
+mount point, not the device special file.
+It is more widely available than @code{umount2} but since it
lacks the possibility to forcefully unmount a filesystem is deprecated
when @code{umount2} is also available.
@end deftypefun
Reply to: