1 |
2012/11/29 Jorge Almeida <jjalmeida@×××××.com> |
2 |
|
3 |
> Anyone knows how to dig into /sys to find the serial number of a device |
4 |
> (say, |
5 |
> a USB pen)? I few days ago I found by trial and error something like |
6 |
> $ cat |
7 |
> /sys/devices/pci0000:00/0000:00:06.1/usb2/2-4/2-4:1.0/host13/target13:0:0/13:0:0:0/block/sdc/../../../../../serial |
8 |
> which gave me E68911000519 |
9 |
> Now I can't find nothing of the sort. (Yes, I know the path changes |
10 |
> each time the |
11 |
> device is plugged in, but even so) |
12 |
> Any information that would put some order into this mess would be great. |
13 |
> |
14 |
> TIA |
15 |
> |
16 |
> Joreg Almeida |
17 |
> |
18 |
> |
19 |
If by "serial" you mean UUID I personally use "ls -l /dev/disk/by-uuid/" |
20 |
|
21 |
Marco Bonfiglio |