Re: displaying ext2 partition names in fdisk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux