> I wanted fdisk -l to return the partition names of all the disks.
s/partition names/filesystem LABELs/ ... right?
I see few problems:
* we really don't want do hardcode FS detection code to fdisk
(there is libblkid or libvolume_id -- see mount/fsprobe_*.c)
* I don't think that we need to mix functionally -- I'd like to keep
fdisk as simple as possible.
Please, use blkid (from ex2fsprogs,) or "ls -l /dev/disk/by-label".
It would be nice if mount(8) had a option to list all possible
devices (according to /proc/partitions) with LABEL/UUID/FS type. We
can add this to v2.14 TODO list.
Karel
--
Karel Zak <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html