On Fri, Nov 02, 2007 at 02:15:41PM +0100, Kay Sievers wrote:
> On Nov 2, 2007 11:09 AM, Harald Dunkel <[EMAIL PROTECTED]> wrote:
> > My /etc/fstab contains
> >
> > LABEL=music    /music    auto    user,noauto,relatime    0 0
> >
> > to mount my usb music player on request. But if I try to run
> > "mount /music", then I get
> >
> >      mount: No medium found
> >
> > If I change fstab to
> >
> > /dev/disk/by-label/music /music    auto    user,noauto,relatime    0 0
> 
> What does:
>   /sbin/blkid /dev/sdg
> 
> and:
>   /lib/udev/vol_id /dev/sdg

 and also

   cat /proc/partitions

 and

   ldd /bin/mount


 BTW, if I read correctly code in e2fsprogs/lib/blkid/devname.c
 it doesn't work as expected when you have in /proc/partitions:

    sda
    sda1
    sdb    <---- !
    loop0

 in that case the heuristic in the probe_all() function skips
 unpartitioned disk "sdb".

    Karel

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

Reply via email to