Re: Problem with usb-storage and /dev/sd?

2005-08-14 Thread DervishD
Hi Willy :) * Willy Tarreau <[EMAIL PROTECTED]> dixit: > > That's not possible. sd_mod will assign different devices for > > different USB gadgets, and that's my problem in the first case!. If I > > plug my USB-whatever, it gets assigned /dev/sda1 (for the first > > partition, I mean). If

Re: Problem with usb-storage and /dev/sd?

2005-08-14 Thread Willy Tarreau
Hi Raul, On Sun, Aug 14, 2005 at 09:32:57AM +0200, DervishD wrote: > Hi Pete :) > > * Pete Zaitcev <[EMAIL PROTECTED]> dixit: > > > A global unique ID won't work out to make all USB mass storage devices > > > appear under a common mountpoint, especially if it is recreated while > > > "format

Re: Problem with usb-storage and /dev/sd?

2005-08-14 Thread DervishD
Hi Pete :) * Pete Zaitcev <[EMAIL PROTECTED]> dixit: > > A global unique ID won't work out to make all USB mass storage devices > > appear under a common mountpoint, especially if it is recreated while > > "formating" it. > That is correct, but not what Dervish wanted. He wanted to mount them

Re: Problem with usb-storage and /dev/sd?

2005-08-13 Thread Pete Zaitcev
On Sat, 13 Aug 2005 12:06:16 +0200 (CEST), Bodo Eggert <[EMAIL PROTECTED]> wrote: > On Fri, 12 Aug 2005, Pete Zaitcev wrote: > > On Fri, 12 Aug 2005 12:49:28 +0200, Bodo Eggert <[EMAIL PROTECTED]> wrote: > > > > > Which label will a random USB stick have? > > > > GUID, I presume. > > A global u

Re: Problem with usb-storage and /dev/sd?

2005-08-13 Thread Bodo Eggert
On Fri, 12 Aug 2005, Pete Zaitcev wrote: > On Fri, 12 Aug 2005 12:49:28 +0200, Bodo Eggert <[EMAIL PROTECTED]> wrote: > > > Which label will a random USB stick have? > > GUID, I presume. A global unique ID won't work out to make all USB mass storage devices appear under a common mountpoint, esp

Re: Problem with usb-storage and /dev/sd?

2005-08-12 Thread DervishD
Hi Pete :) * Pete Zaitcev <[EMAIL PROTECTED]> dixit: > > Which label will a random USB stick have? > GUID, I presume. Ask Andries Brouwer, he hacked on that, IIRC. > Actually msdos has on-disk format for user-settable labels in > the way analoguous to tune2fs -L label. I just do not know if >

Re: Problem with usb-storage and /dev/sd?

2005-08-12 Thread Pete Zaitcev
On Fri, 12 Aug 2005 12:49:28 +0200, Bodo Eggert <[EMAIL PROTECTED]> wrote: > Which label will a random USB stick have? GUID, I presume. Ask Andries Brouwer, he hacked on that, IIRC. Actually msdos has on-disk format for user-settable labels in the way analoguous to tune2fs -L label. I just do not

Re: Problem with usb-storage and /dev/sd?

2005-08-12 Thread Bodo Eggert
Horst von Brand <[EMAIL PROTECTED]> wrote: > DervishD <[EMAIL PROTECTED]> wrote: >> * Pete Zaitcev <[EMAIL PROTECTED]> dixit: >> > On Wed, 10 Aug 2005 21:22:43 +0200, DervishD <[EMAIL PROTECTED]> wrote: >> > > I'm not using hotplug currently so... how can I make the USB >> > > subsystem to as

Re: Problem with usb-storage and /dev/sd?

2005-08-11 Thread Horst von Brand
DervishD <[EMAIL PROTECTED]> wrote: > * Pete Zaitcev <[EMAIL PROTECTED]> dixit: > > On Wed, 10 Aug 2005 21:22:43 +0200, DervishD <[EMAIL PROTECTED]> wrote: > > > I'm not using hotplug currently so... how can I make the USB > > > subsystem to assign always the same /dev/sd? entry to my USB Mass

Re: Problem with usb-storage and /dev/sd?

2005-08-11 Thread DervishD
Hi Greg :) * Greg KH <[EMAIL PROTECTED]> dixit: > On Thu, Aug 11, 2005 at 12:06:16AM +0200, DervishD wrote: > > * Tomasz Torcz <[EMAIL PROTECTED]> dixit: > > > That's what udev is for. > > I know, but I use a 2.4.x kernel (which I didn't mention in my > > original message, sorry O:)), a

Re: Problem with usb-storage and /dev/sd?

2005-08-11 Thread DervishD
Hi Pete :) * Pete Zaitcev <[EMAIL PROTECTED]> dixit: > On Wed, 10 Aug 2005 21:22:43 +0200, DervishD <[EMAIL PROTECTED]> wrote: > > I'm not using hotplug currently so... how can I make the USB > > subsystem to assign always the same /dev/sd? entry to my USB Mass > > storage devices? [...]

Re: Problem with usb-storage and /dev/sd?

2005-08-10 Thread Greg KH
On Thu, Aug 11, 2005 at 12:06:16AM +0200, DervishD wrote: > Hi Tomasz :) > > * Tomasz Torcz <[EMAIL PROTECTED]> dixit: > > On Wed, Aug 10, 2005 at 09:22:43PM +0200, DervishD wrote: > > > The problem is that if I plug my USB memory, unplug it and plug > > > my MP3 player, it gets /dev/sdb

Re: Problem with usb-storage and /dev/sd?

2005-08-10 Thread Pete Zaitcev
On Wed, 10 Aug 2005 21:22:43 +0200, DervishD <[EMAIL PROTECTED]> wrote: > I'm not using hotplug currently so... how can I make the USB > subsystem to assign always the same /dev/sd? entry to my USB Mass > storage devices? [...] You cannot. Just mount by label or something... Better yet, insta

Re: Problem with usb-storage and /dev/sd?

2005-08-10 Thread DervishD
Hi Tomasz :) * Tomasz Torcz <[EMAIL PROTECTED]> dixit: > On Wed, Aug 10, 2005 at 09:22:43PM +0200, DervishD wrote: > > The problem is that if I plug my USB memory, unplug it and plug > > my MP3 player, it gets /dev/sdb this time, not /dev/sda. The mess is > > even greater if I plug my car

Re: Problem with usb-storage and /dev/sd?

2005-08-10 Thread Tomasz Torcz
On Wed, Aug 10, 2005 at 09:22:43PM +0200, DervishD wrote: > If I plug my MP3 player (USB), the usb-storage module assigns it > device /dev/sda, which is right because I have it configured as such > in my /etc/fstab. Well, another day, another boot and I plug my USB > memory stick, and usb-stora