Web page archived as of 2018-05-22. Some links & features might not work.

Listing disks, partitions, and more

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.

  • showmydisks: report partitions, types, file systems, mount points, and usage
blog/090914_listing_disks_partitions_and_more.txt · Last modified: 2016-10-03 20:40 by andreas