Re: USB mass-storage hell

From: Greg KH
Date: Mon Dec 01 2003 - 13:33:18 EST


On Mon, Dec 01, 2003 at 09:47:24AM +0100, Christian Axelsson wrote:
> I have this USB harddrive and a USB mp3-player, when I plug them in
> would like them to be mounted at /mnt/hd and /mnt/mp3 by auto.
> Is this possible using 2.6 and some supermount-like daemon?

Look at devlabel.

> Also, the device I plugin first becomes /dev/sda1 and the second
> /dev/sda2 (using devfs) so I cant rely upon device names here to do
> anything. Is there any ID of the USB-device aviable somewhere that can
> be of any use?

Look at udev.

Good luck,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/