Look at sysfs and the lsscsi application. Matt 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? > > 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? > > -- > Christan Axelsson > smiler@lanil.mine.nu > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Matthew Dharm Home: mdharm-usb@one-eyed-alien.net Maintainer, Linux USB Mass Storage Driver I need a computer? -- Customer User Friendly, 2/19/1998