From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiro SEKIBA Subject: Re: [PATCH] mount.nilfs2: add "uhelper=" option Date: Fri, 23 Jul 2010 16:42:57 +0900 Message-ID: <87eieuej9a.wl%jir@sekiba.com> References: <876306y7ha.wl%jir@sekiba.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Return-path: In-Reply-To: <876306y7ha.wl%jir-27yqGEOhnJbQT0dZR+AlfA@public.gmane.org> Sender: linux-nilfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ryusuke Konishi , Ryusuke Konishi Grr I'm sorry. please ignore this patch. I sent the wrong one. I'll resend the correct one soon. -- Jiro SEKIBA At Fri, 23 Jul 2010 16:37:05 +0900, Jiro SEKIBA wrote: > > Hi, > > This is a patch against mount.nilfs2. > > I'm trying to add nilfs2 support on several software stack to control > nilfs2 partition from palimpsest(gnome-disk-utility). And found > that the option is required to handled properly. > > Standard mount command takes uhelper= option to tell the mount > is under control. When this option is specified, > umount. is called on unmount time. > > This option is used when mount is triggered by udisks. udisks is a dbus > service daemon. The service is used by Palimpsest. To controll nilfs2 > partition from palimpsest, interpret the option is required. > > Signed-off-by: Jiro SEKIBA > --- > sbin/mount/mount_opts.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/sbin/mount/mount_opts.c b/sbin/mount/mount_opts.c > index 9db599f..0c6ca79 100644 > --- a/sbin/mount/mount_opts.c > +++ b/sbin/mount/mount_opts.c > @@ -98,7 +98,7 @@ static const struct opt_map opt_map[] = { > }; > > static const char *opt_loopdev, *opt_vfstype, *opt_offset, *opt_encryption, > - *opt_speed, *opt_comment; > + *opt_speed, *opt_comment, *opt_uhelper; > > static struct string_opt_map { > char *tag; > @@ -111,6 +111,7 @@ static struct string_opt_map { > { "encryption=", 0, &opt_encryption }, > { "speed=", 0, &opt_speed }, > { "comment=", 1, &opt_comment }, > + { "uhelper=", 1, &opt_uhelper }, > { NULL, 0, NULL } > }; > > -- > 1.5.6.5 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html