I'd like to know if an app exists that list all partitions, their filesystem type, and their possible identifiers.
This could help users in configuring their bootloaders.
For example:
Identifier Grub Identifier Filesystem Type Size
/dev/sda1 (hd0,2) ext4 37GB
/dev/sda4 (hd0,5) NTFS 20GB
Is there an app with functionality similar to this that anyone knows of?
Try using di
then
gives something close to your requirement
but without the Grub Identifier
( although the sda8 can be seen as (hd0,8) from Filesystem column)
.And for entire disk information , all the available partitions needs to be mounted.Another one is disktype but with more details including UUID
example
sudo disktype /dev/sdx
You don't need to install anything, just:
gives you for example:
You can try to use gparted or lparted.
Another choice, installed by default on 12.04:
There are options to display fields, remove headers, etc.
may also be useful, depending upon what you find easier to parse.
I don't think it will be easy to find a standard utility to convert to the grub nomenclature. The shell program /usr/lib/grub-legacy/update-grub has some shell script functions that do the conversion.