ALT Linux repositórios
Group :: Sistema/Base
RPM: util-linux
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: util-linux-2.12r-alt-mount-MS_SILENT.patch
Download
Download
--- util-linux-2.12r/mount/mount.c.orig 2007-01-31 09:46:34 +0000
+++ util-linux-2.12r/mount/mount.c 2007-01-31 15:14:47 +0000
@@ -148,7 +148,7 @@ static const struct opt_map opt_map[] =
{ "sub", 0, 1, MS_NOSUB }, /* allow submounts */
{ "nosub", 0, 0, MS_NOSUB }, /* don't allow submounts */
#endif
-#ifdef MS_SILENT
+#if 0
{ "quiet", 0, 0, MS_SILENT }, /* be quiet */
{ "loud", 0, 1, MS_SILENT }, /* print out messages. */
#endif
@@ -273,7 +273,7 @@ parse_opt(const char *opt, int *mask, ch
&& !om->inv)
*mask |= MS_OWNERSECURE;
#ifdef MS_SILENT
- if (om->mask == MS_SILENT && om->inv) {
+ if (om->mask == MS_SILENT && !om->inv) {
mount_quiet = 1;
verbose = 0;
}