public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: DervishD <lkml@dervishd.net>
To: Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Problem with usb-storage and /dev/sd?
Date: Thu, 11 Aug 2005 00:06:16 +0200	[thread overview]
Message-ID: <20050810220616.GA918@DervishD> (raw)
In-Reply-To: <20050810215032.GA27982@irc.pl>

    Hi Tomasz :)

 * Tomasz Torcz <zdzichu@irc.pl> 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 card reader, which has four LUN's...
>  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:)), and udev needs a 2.6.x kernel, am I
wrong?

>  Go figure how to udev-enable your distribution.

    I have a do-it-yourself Linux box, so setting up udev is not much
of a problem as long as the kernel supports it. If udev doesn't use
any kernel magic (that is, it only uses /sbin/hotplug), how the heck
does it know which /dev/sd? the *kernel* assigned to my recently
plugged USB device? How can it influenciate which device is assigned
*by the kernel*? I assume that it needs some magic from the kernel
and so it only works for 2.6.x :???? In fact, if it uses sysfs, it
still needs a 2.6.x for that, am I wrong?

    I'll take a look anyway, thanks a lot for your message and help :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...

  reply	other threads:[~2005-08-10 22:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-10 19:22 Problem with usb-storage and /dev/sd? DervishD
2005-08-10 21:50 ` Tomasz Torcz
2005-08-10 22:06   ` DervishD [this message]
2005-08-10 23:31     ` Greg KH
2005-08-11  7:33       ` DervishD
     [not found] <mailman.1123702259.29404.linux-kernel2news@redhat.com>
2005-08-10 23:00 ` Pete Zaitcev
2005-08-11  7:29   ` DervishD
2005-08-11 22:53     ` Horst von Brand
     [not found] <4pzyn-10f-33@gated-at.bofh.it>
     [not found] ` <4AubX-4w6-9@gated-at.bofh.it>
2005-08-12 10:49   ` Bodo Eggert
2005-08-12 17:38     ` Pete Zaitcev
2005-08-12 22:13       ` DervishD
2005-08-13 10:06       ` Bodo Eggert
2005-08-14  3:20         ` Pete Zaitcev
2005-08-14  7:32           ` DervishD
2005-08-14  8:48             ` Willy Tarreau
2005-08-14 21:48               ` DervishD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050810220616.GA918@DervishD \
    --to=lkml@dervishd.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox