Gentoo Archives: gentoo-user

From: Jorge Almeida <jjalmeida@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] serial in /sys
Date: Thu, 29 Nov 2012 17:59:45
Message-Id: CAKpSnpJnfq13+p19-cmeGvOUHBqo0RqnHuBQh8vEt43OTpoEnQ@mail.gmail.com
1 Anyone knows how to dig into /sys to find the serial number of a device (say,
2 a USB pen)? I few days ago I found by trial and error something like
3 $ cat /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
4 which gave me E68911000519
5 Now I can't find nothing of the sort. (Yes, I know the path changes
6 each time the
7 device is plugged in, but even so)
8 Any information that would put some order into this mess would be great.
9
10 TIA
11
12 Joreg Almeida

Replies

Subject Author
Re: [gentoo-user] serial in /sys Marco Bonfiglio <marco.bonfiglio@×××××.com>
Re: [gentoo-user] serial in /sys Bruce Hill <daddy@×××××××××××××××××××××.com>
Re: [gentoo-user] serial in /sys James Cloos <cloos@×××××××.com>
Re: [gentoo-user] serial in /sys Volker Armin Hemmann <volkerarmin@××××××××××.com>