Re: [PATCH v3] fdisk: add the 'i'nfo command

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

 



On Sat, May 09, 2015 at 11:15:23PM +0200, Jean-Loup 'clippix' Bogalho wrote:
> This version is modified following the comments of Karel Zak and
> Benno Schuleberg in the review of the previous patch.
> 
>  disk-utils/fdisk-menu.c |  4 ++++
>  disk-utils/fdisk.c      | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  disk-utils/fdisk.h      |  2 ++
>  3 files changed, 50 insertions(+)

 Excellent. Thanks.

 Note, I have added fdisk_label_get_fields_ids_all() to the library to
 provide the output fields independently on output mode. This change
 makes your fdisk code more simple and output more rich.

    Karel


Command (m for help): i
Partition number (1-6, default 6): 1

         Device: /dev/sda1
          Start: 2048
            End: 411647
        Sectors: 409600
           Size: 200M
           Type: EFI System
      Type-UUID: C12A7328-F81F-11D2-BA4B-00A0C93EC93B
           UUID: 2062335E-51B6-49E8-BC3C-4C6D449E6805
           Name: EFI System Partition



-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" 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