linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB mass-storage hell
@ 2003-12-01  8:47 Christian Axelsson
  2003-12-01 10:11 ` Matthew Dharm
  2003-12-01 18:28 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Axelsson @ 2003-12-01  8:47 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: USB mass-storage hell
  2003-12-01  8:47 USB mass-storage hell Christian Axelsson
@ 2003-12-01 10:11 ` Matthew Dharm
  2003-12-01 18:28 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Dharm @ 2003-12-01 10:11 UTC (permalink / raw)
  To: Christian Axelsson; +Cc: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: USB mass-storage hell
  2003-12-01  8:47 USB mass-storage hell Christian Axelsson
  2003-12-01 10:11 ` Matthew Dharm
@ 2003-12-01 18:28 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2003-12-01 18:28 UTC (permalink / raw)
  To: Christian Axelsson; +Cc: Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-01 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-01  8:47 USB mass-storage hell Christian Axelsson
2003-12-01 10:11 ` Matthew Dharm
2003-12-01 18:28 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).