Getting S/N for a thumbdrive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

What is the kernel API for retrieving the S/N for a thumbdrive?

I've tried the userspace tools hdparm and sdparm with no luck.
Apparently the kernel APIs they use don't support a thumbdrive.  ie.
Basically neither one is giving me much of anything for a thumbdrive.

I've found sysfs has the Manufacturer & Model, but I have not found a
way to get the serial number.

FYI: It is in the dmesg output immediately after plugging in a new
thumbdrive, so I know it is retrieved.

Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux