From: Greg KH <greg@kroah.com>
To: Robert Mykland <robert@ascenium.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Vendor info from device name
Date: Fri, 8 May 2009 21:34:22 -0700 [thread overview]
Message-ID: <20090509043422.GA13794@kroah.com> (raw)
In-Reply-To: <4A04CB41.3040008@ascenium.com>
On Fri, May 08, 2009 at 05:16:01PM -0700, Robert Mykland wrote:
> Hi Folks,
>
> I am inside a file system driver, a modified version of vfat to be
> exact, trying to get vendor info that uniquely identifies a USB storage
> device that's associated. I have the device name coming into
> vfat_get_sb(). I looked down through the associated structures I get
> here but nothing obvious pops out. What's the best way to get down to
> the vendor/unique device info from here? Thanks in advance for your
> help and apologies in advance if this is a dumb question.
Do this from userspace, with the tools provided in the udev package,
vol_id and friends.
Why would you want to do this within the kernel?
thanks,
greg k-h
next prev parent reply other threads:[~2009-05-09 5:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-09 0:16 Vendor info from device name Robert Mykland
2009-05-09 4:34 ` Greg KH [this message]
[not found] ` <4A086CF8.3000503@ascenium.com>
2009-05-11 19:28 ` 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=20090509043422.GA13794@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robert@ascenium.com \
/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