How To Get Sd Card Serial Cid
SecureDigital (SD) cards are one of the most common memory cards. They are typically used in electronic devices such as MP3 players and GPS devices in order to store.

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/af5-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. The proper way to do this, in Arch Linux but by now in all systems which use udev, is the command: sudo udevadm info -a -n /dev/sdb in your case. Edit: A reply to your comment: I believe you are mistaken.
The class is a view of a device which is independent of the low-level implementation details. The classic example is a disk. Almanya Willkommen In Deutschland Kostenloser on this page.

You may of course have a SCSI disk or an ATA disk, but, at the class level, they are the same thing. The idea of the class is to allow users to build userspace code which is independent of how they are connected to the network, how they work, which device driver they use, and so on. In a way, the class is the highest level of abstraction available as a model for devices. Thus you are wrong in searching for such details as your SD card vendor (which, by the way, should be in /sys/class/mmc_host, if anything at all) within /sys/class. I don't use Arch Linux, but 'usb-devices' lists the details of all USB devices the system knows about, and included the following for a USB key I plugged in: T: Bus=03 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 5 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>Armed Assault Queens Gambit Free. ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0781 ProdID=5567 Rev=01.26 S: Manufacturer=SanDisk S: Product=Cruzer Blade S: SerialNumber=4C24123092 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage. Looking at /sys/class/scsi_disk I discovered that (on my system) that these are symkinks to actual disks.