Information about the used disk/deployed SD card on Raspberry Pi

carriba asked for this feature about 1 month ago — 1 comment

carriba commented about 1 month ago

Would be nice if the web front-end portal can display next to the capacity of the deployed disk also some vendor information of the used SD card.

From a back-end side, I'm using the following UNIX commands:

cd /sys/class/mmc_host/mmc?/mmc?:* && echo "man:$(cat manfid) oem:$(cat oemid) name:$(cat name) hwrev:$(cat hwrev) fwrev:$(cat fwrev) type:$(cat type) date:$(cat date)"

which displays in my case the following:

man:0x000003 oem:0x5344 name:SL32G hwrev:0x8 fwrev:0x0 type:SD date:05/2015

The output can then pretty formatted and displayed on the "System" panel of the front-end portal as follows:

Device: /dev/mmcblk0 Model: SL32G Serial Number: 05/20150x80x0 Vendor: SD0x0000030x5344

Hope this kind of enrichment adds some value to the GUI ;-)

Join the discussion!

with GitHub to comment