lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 8 May 2009 21:34:22 -0700
From:	Greg KH <greg@...ah.com>
To:	Robert Mykland <robert@...enium.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Vendor info from device name

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ