public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mount.2 : Add MS_SILENT mountflag
@ 2008-09-30 11:53 Maxin John
       [not found] ` <9debc4410809300453p638d3515sc2ae330263039b9c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Maxin John @ 2008-09-30 11:53 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA
  Cc: tytso-3s7WtUTddSA, Michael Kerrisk, tytso-AKGzg7BKzIDYtjvyW6yDsg

Dear Michael,

 The MS_VERBOSE in mountflags option of mount system call was replaced
by MS_SILENT in Kernel version 2.6.17
(http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9b04c997b1120feefa1e6ee8e2902270bc055cd2
).

The LKML thread regarding this commit:
http://linux.derkeiler.com/Mailing-Lists/Kernel/2006-03/msg08081.html

eg:
mount("/dev/sda1", "/mnt/test", "ext3", MS_SILENT, "");

The patch also includes some miscellaneous cleanups of the mount.2 man page.

Kindly let me know if there are any issues with respect to this patch.

Cheers,

Maxin B. John
Sony India Software Center
Bangalore, India

Signed-off-by: Maxin B. John <maxin.john-qujY0cBTTHtBDgjK7y7TUQ@public.gmane.org>
-------

diff -uNr man-pages-3.10/man2/mount.2 man-pages-3.10_mount/man2/mount.2
--- man-pages-3.10/man2/mount.2	2008-09-23 19:22:25.000000000 +0530
+++ man-pages-3.10_mount/man2/mount.2	2008-09-30 17:15:29.087697160 +0530
@@ -128,7 +128,6 @@
 Since Linux 2.6.26, the
 .B MS_RDONLY
 flag is honored when making a bind mount.
-Since Linux 2.6.2
 .TP
 .BR MS_DIRSYNC " (since Linux 2.5.19)"
 Make directory changes on this file system synchronous.
@@ -228,6 +227,9 @@
 .BR MS_NODEV ,
 .BR MS_NOEXEC .
 .TP
+.B MS_SILENT " (Linux 2.6.17 onwards)"
+This flag suppresses the display of verbose messages.
+.TP
 .B MS_SYNCHRONOUS
 Make writes on this file system synchronous (as though
 the

-------
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-03 21:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30 11:53 [PATCH] mount.2 : Add MS_SILENT mountflag Maxin John
     [not found] ` <9debc4410809300453p638d3515sc2ae330263039b9c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-01 13:21   ` Michael Kerrisk
     [not found]     ` <cfd18e0f0810010621r604274cdnaeed129067f9c4e2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-02 10:56       ` Maxin John
2008-10-03 21:23       ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox