Get SD card info in Linux:
*You dont need sudo/root for most commands
- Get CID (Card Identification Number):
- cat /sys/block/mmcblk0/device/cid
- *CID is a merger of the The Manufacturer ID (MID) and OEM/ODM/Application ID (OID)
- Get SD manufacture date: cat /sys/block/mmcblk0/device/date
- Get Manufacturer ID (MID): cat /sys/block/mmcblk0/device/manfid
- Get sd model name: cat /sys/block/mmcblk0/device/name
- Identifies the card OEM and/or the card contents. Assigned by SD-3C, LLC: cat /sys/block/mmcblk0/device/oemid
- Get Product Revision (hardware): cat /sys/block/mmcblk0/device/hwrev
- Get Product Revision (firmware): cat /sys/block/mmcblk0/device/fwrev
- Get 32bit serial number: cat /sys/block/mmcblk0/device/serial
- Output memory card format: cat /sys/block/mmcblk0/device/type
Sources:
memorycard-lab.com
cameramemoryspeed.com
Date: Late Summer to Early Fall 2024
Back