On Sat, Oct 27, 2012 at 07:23:47PM +0200, Davidlohr Bueso wrote: > This patch enables creating a new, empty, GPT disklabel from either > an empty disk or one that already has a disklabel. For this > purpose, a 'g' option is added to the main menu and is visible to all > labels. Here's an example for a scsi_debug device (/dev/sdb): > > ... > Device does not contain a recognized partition table > Building a new DOS disklabel with disk identifier 0x20a614c8. > 3696: fdisk: CONTEXT: zeroize in-memory first sector buffer > > Command (m for help): g It would be be really nice to print a message, something like GPT disk label created. and it would be also nice to print label type in the 'p'(print) command output and maybe also PT uuid. > fdisks/fdisk.c | 4 ++ > fdisks/gpt.c | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 200 insertions(+), 6 deletions(-) Applied, excellent, thanks! Karel -- 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