From: Martin <drink@hyperlogos.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Linux-hotplug-devel digest, Vol 1 #499 - 4 msgs
Date: Sun, 30 Nov 2003 19:04:30 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-107021912330245@msgid-missing> (raw)
Marco d'Itri <md@Linux.IT> wrote:
> You really want to use a 2.6 kernel. In sysfs you will find
everything needed to automatically mount your device.
Unfortunately I am really doing this for my Cobalt RAQ3 which uses a 2.4
kernel. 2.6 is not an option at this point.
Anyway can someone answer my core question?
>T: Bus\x01 Lev\x01 Prnt\x01 Port\x01 Cnt\x02 Dev#= 6 Spd\x12 MxCh= 0
>
> Does the Port\x01 correspond to the usb-storage-? directory in
>/proc/scsi? That is the only number which seems to have gone from 0 to
>1. I only have two flash devices so I can't tell for sure by installing
>another one. The new device has an entry in usb-storage-1/2 rather than
>1/1 as I would have suspected. The Cnt\x02 leads me to believe that Port
>becomes the usb-storage-? directory and Cnt becomes the filename under
>that directory. Are my assumptions correct? If so I can do away with
>most of my nonsense about the serial number, it was just the first thing
>I came up with.
>
If I'm right about this, then my script should be easy to write, in
terms of mounting. I still don't get the remove message so I'm going to
have to come up with some other mechanism for handling removal, I guess.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next reply other threads:[~2003-11-30 19:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-30 19:04 Martin [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-12-02 0:23 Linux-hotplug-devel digest, Vol 1 #499 - 4 msgs Greg KH
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=marc-linux-hotplug-107021912330245@msgid-missing \
--to=drink@hyperlogos.org \
--cc=linux-hotplug@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.