Re: [HEADS-UP] util-linux[-ng] and mtab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 19, 2011 at 10:16:03PM +0100, Till Maas wrote:
> On Wed, Jan 19, 2011 at 09:31:27PM +0100, Karel Zak wrote:
> > On Wed, Jan 19, 2011 at 08:29:16PM +0100, Till Maas wrote:
> > > On Wed, Jan 19, 2011 at 07:02:21PM +0100, Karel Zak wrote:
> > > 
> > > >  Note, it's possible that NFS umount/remount will not work in some
> > > >  cases, because not all necessary mount options are in /proc/mounts.
> > > >  I hope this issue will be fixed before F15 release.
> > > 
> > > Is the uhelper option in /proc/mounts?
> > 
> >  No, of course not. All userspace mount options will be stored in
> >  /dev/.mount/utab, this is libmount private file.
> 
> Hm, does this mean that after running 
> "mount -o uhelper=foo /dev/foo/bar /mnt/foobar"
> and
> "umount /mnt/foobar"
> /sbin/umount.foo wont be called in F15?

 The uhelper=foo option will be stored in /dev/.mount/utab and
 /sbin/umount.foo will be called. The important change is that
 only userspace options (e.g. user=, uhelper=, ..) are stored in
 userspace.

    Karel

 
 # mount -o uhelper=test /dev/sda1 /mnt/test

 # findmnt --mtab /mnt/test
 TARGET    SOURCE    FSTYPE OPTIONS
 /mnt/test /dev/sda1 ext3   rw,relatime,errors=continue,user_xattr,acl,barrier=0,data=ordered,uhelper=test


 $ cat /sbin/umount.test
 #!/bin/bash
 echo "TEST-UMOUNT $@"
 sudo /bin/umount -i $@

 $ umount /mnt/test
 TEST-UMOUNT /mnt/test

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux