From: rpeterso@sourceware.org <rpeterso@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gfs2/mount util.c
Date: 13 Oct 2006 22:01:42 -0000 [thread overview]
Message-ID: <20061013220142.11992.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2006-10-13 22:01:40
Modified files:
gfs2/mount : util.c
Log message:
This is a fix for bugzilla bug 210300: Unknown mount option
"users". The gfs and gfs2 mount helper (/sbin/mount.gfs2)
was aborting if it saw mount options that are not part of
mount.h (i.e. internal to mount and vfs). The fix is to add
the missing options so the mount helper will recognize them
properly.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mount/util.c.diff?cvsroot=cluster&r1=1.14&r2=1.15
--- cluster/gfs2/mount/util.c 2006/10/13 20:01:19 1.14
+++ cluster/gfs2/mount/util.c 2006/10/13 22:01:40 1.15
@@ -45,6 +45,18 @@
{ "noatime", 0, 0, MS_NOATIME }, /* Do not update access time */
{ "diratime", 0, 1, MS_NODIRATIME }, /* Update dir access times */
{ "nodiratime", 0, 0, MS_NODIRATIME },/* Do not update dir access times */
+
+ /* options used by the mount command only (not in sys/mount.h): */
+ { "dirsync", 0, 0, 0 }, /* synchronous directory modifications */
+ { "loop", 1, 0, 0 }, /* use a loop device */
+ { "auto", 0, 1, 0 }, /* Can be mounted using -a */
+ { "noauto", 0, 0, 0 }, /* Can only be mounted explicitly */
+ { "users", 0, 0, 0 }, /* Allow ordinary user to mount */
+ { "nousers", 0, 1, 0 }, /* Forbid ordinary user to mount */
+ { "user", 0, 0, 0 }, /* Allow ordinary user to mount */
+ { "nouser", 0, 1, 0 }, /* Forbid ordinary user to mount */
+ { "owner", 0, 0, 0 }, /* Let the owner of the device mount */
+ { "noowner", 0, 1, 0 }, /* Device owner has no special privs */
{ NULL, 0, 0, 0 }
};
next reply other threads:[~2006-10-13 22:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-13 22:01 rpeterso [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-04 19:28 [Cluster-devel] cluster/gfs2/mount util.c teigland
2007-09-04 19:23 teigland
2007-07-19 20:22 teigland
2007-06-28 17:58 teigland
2007-06-06 15:51 teigland
2007-06-06 15:45 teigland
2007-05-24 19:00 teigland
2007-05-24 19:00 teigland
2007-05-11 20:10 rpeterso
2007-05-11 20:04 rpeterso
2006-12-20 19:16 teigland
2006-12-20 19:15 teigland
2006-12-20 19:13 teigland
2006-12-05 22:27 teigland
2006-12-05 22:26 teigland
2006-12-05 22:25 teigland
2006-10-16 15:05 teigland
2006-06-30 15:11 teigland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061013220142.11992.qmail@sourceware.org \
--to=rpeterso@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).