10
3
My SD card is automounted fine as /dev/sdb:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 1024M 0 rom
sda 8:0 0 80G 0 disk
├─sda1 8:1 0 78G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 2G 0 part [SWAP]
sr1 11:1 1 1024M 0 rom
sdb 8:16 1 7.4G 0 disk
├─sdb1 8:17 1 56M 0 part /media/boot
└─sdb2 8:18 1 2.7G 0 part /media/af599925-1134-4b6e-8883-fb6a99cd58f1
In dmesg
:
[ 1206.970596] sd 3:0:0:0: [sdb] Attached SCSI removable disk
I would like to know a few attributes - serial #, manufacturer id, etc. that I thought would be in /sys/class
. I have searched /sys/class/scsi_disk/3:0:0:0/
without any luck.
Where would I find this information? I am using the latest version of Arch-linux.
@CharlesPehlivanian: You can get to that detailed information via
/sys/class
; see @Robert's answer. It may just not be the best way. However, on some systems (e.g. Android),udevadm
isn't available. – LarsH – 2015-10-23T17:51:59.3201Ok, this gives all that information. But - I though
/sys/class
was supposed to be a way do navigate/dev
without all the device-specific (set byudev
) hieracrchy? Am I wrong about that? – Charles Pehlivanian – 2014-01-05T21:27:14.033@CharlesPehlianian See the Edit to my answer – MariusMatutiae – 2014-01-05T22:13:12.793
Ok - I was under the wrong impression then. Thanks! – Charles Pehlivanian – 2014-01-07T01:11:44.843