Re: user mounts and uuid handling

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

 



On Tue, Jan 06, 2009 at 03:49:06PM -0500, Mike Frysinger wrote:
> On Tuesday 06 January 2009 14:27:37 Karel Zak wrote:
> > On Tue, Jan 06, 2009 at 09:42:13AM -0500, Mike Frysinger wrote:
> > > if a disk is named in /etc/fstab by UUID and given user access, it cannot
> > > be unmounted by the user (root works fine).  for example:
> > > $ blkid /dev/sdb1
> > > /dev/sdb1: UUID="4583-4324" SEC_TYPE="msdos" TYPE="vfat"
> > > $ grep 4583-4324 /etc/fstab
> > > UUID="4583-4324" /mnt/tmp auto noauto,quiet,rw,defaults,users 0 0
> > > $ mount /mnt/tmp/
> > > $ umount /mnt/tmp/
> > > umount: /mnt/tmp mount disagrees with the fstab
> >
> >  I cannot reproduce this problem (tested on v2.14.1 and the latest git):
> 
> we reproduced with 2.14.1 and 2.14.2-rc1
> 
> > $ grep test /etc/fstab
> > UUID=8f13c27d-a3a2-4ddb-a66c-79da25b29f9f /mnt/test     ext3
> > users,noatime,defaults 1 2
> 
> well you arent doing the same thing we are ;).  it appears to be the quotes

 ok :-)

> that cause trouble.  if i use UUID=....., it works.  using UUID="....", it 
> fails.

 I don't think the quotes are officially supported in fstab (see
 fstab.5).

 Fixed and committed. Try:

         commit b2cf00d440cff65681a9eecf23e1157fc4104827
         Author: Karel Zak <kzak@xxxxxxxxxx>
         Date:   Wed Jan 7 00:00:35 2009 +0100

             mount: finalize support of quoted LABELs/UUIDs



    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux