Linux systems come with plenty of means to list disks, partitions, mount points and so on, but sometimes one needs to have a more concise and comprehensive overview. For my own purposes, I wrote the Bash script showmydisks which tries to summarize the output of fdisk
, /proc/partitions
, /sys/block/*
, …
Recently, I have got notice about Henry Kroll's diskinfo.py which follows a similar approach. However, Henry's diskinfo.py
requires Python whereas my showmydisks
relies on typical shell/command line tools (mostly df
, fdisk
, file
, sed
, and awk
), stuff which should be available even on mini distributions.
disclaimer & imprint :: copyright :: go to top ::