GNU bug report logs - #25006
Non-interactively extending a GPT disklabel to cover all disk

Previous Next

Package: parted;

Reported by: Yann Dirson <yann.dirson <at> blade-group.com>

Date: Wed, 23 Nov 2016 16:31:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Yann Dirson <yann.dirson <at> blade-group.com>
To: bug-parted <at> gnu.org
Cc: tech <tech <at> blade-group.com>
Subject: Non-interactively extending a GPT disklabel to cover all disk
Date: Wed, 23 Nov 2016 15:45:57 +0100
[Message part 1 (text/plain, inline)]
If we build a GPT image for flashing on arbitrary disks, chances are there
is space left after
that second partition-table, placed at end of image.

When launching parted interactively, we get asked "Not all of the space
available to ... appears to be used" and asked "Fix/Ignore?".

The code does not look like the job done on "fix" is available from any
other mean, whether lib or parted command. And the exception system does
not look like it will work with no tty attached, so
just using "echo fix | parted /dev/whatever print" will just not workaround
this.

Did I miss something ?

What would be the preferred approach ?  What about adding a flag to
auto-fix this ?

Best regards,
-- 
Yann Dirson <yann <at> blade-group.com>
Blade -- 90 avenue des Ternes, 75017 Paris
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.