LABEL=music doesn't work for /dev/sdg

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

 



Hi folks,

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

(which actually means the same), then it works.


Probably its important to note that the usb device doesn't contain a
partition table.

% ls -al /dev/disk/by-label
total 0
drwxr-xr-x 2 root root  80 Nov  2 10:56 .
drwxr-xr-x 6 root root 120 Nov  1 12:27 ..
lrwxrwxrwx 1 root root  10 Nov  1 12:27 export -> ../../sda5
lrwxrwxrwx 1 root root   9 Nov  2 10:56 music -> ../../sdg
% uname -a
Linux pluto 2.6.23.1 #1 PREEMPT Sun Oct 14 21:26:19 CEST 2007 x86_64 GNU/Linux

mount is from util-linux-ng-2.13.0.1, of course.


Regards

Harri
-
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