GNU bug report logs - #20225
Email bug report because web-based bug tracking tool is down

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: "Nugent, Bill" <wnugent@HIDDEN>; dated Sun, 29 Mar 2015 16:44:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at 20225 <at> debbugs.gnu.org:


Received: (at 20225) by debbugs.gnu.org; 30 Mar 2015 20:13:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 30 16:13:32 2015
Received: from localhost ([127.0.0.1]:40706 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Ycg3w-0001bh-7V
	for submit <at> debbugs.gnu.org; Mon, 30 Mar 2015 16:13:32 -0400
Received: from mail-qc0-f174.google.com ([209.85.216.174]:35220)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <phillsusi@HIDDEN>) id 1Ycg3u-0001bT-5F
 for 20225 <at> debbugs.gnu.org; Mon, 30 Mar 2015 16:13:30 -0400
Received: by qcfy6 with SMTP id y6so62363206qcf.2
 for <20225 <at> debbugs.gnu.org>; Mon, 30 Mar 2015 13:13:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:message-id:date:from:user-agent:mime-version:to:subject
 :references:in-reply-to:content-type:content-transfer-encoding;
 bh=jvejLIxlr+4IpPy1iq7aeV5VSBXftPGeIclUQT8xACI=;
 b=iL9k7pH+W87vB4SOWDoyZ9Hla7ybW4GVQkoFbQ0GESnBTErfPSHEop50K7wFRbF8v9
 PbYscgtrsGErSTK2mIZNdkPci2hZhLHC7e0KXbgKlfCliesxIN6ZcO3XYSN3RR85S2ik
 l8D2GXV/7Cl1GL8fRCv4TgPXJ/6k1CxfPs5MBgMPrxYHIBBOHWvpfBYAOO3Y1ny5+oQU
 g5JFfMBSS+Ap0gszzIwVsADC7URcY0lwYdJ2HypYcIsuUREhc+ygpQHopdDXo3FdilUf
 R94qGIs/eBak6tUA+2sG1fmFSbJ549h1CFsh9r+fW6T6LQsXoSLm5phpx0mfSB2cBdoe
 /37Q==
X-Received: by 10.55.22.213 with SMTP id 82mr69282626qkw.103.1427746404568;
 Mon, 30 Mar 2015 13:13:24 -0700 (PDT)
Received: from [10.1.1.228] (fl-67-77-88-12.sta.embarqhsd.net. [67.77.88.12])
 by mx.google.com with ESMTPSA id
 z93sm8428854qgd.45.2015.03.30.13.13.23
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 30 Mar 2015 13:13:24 -0700 (PDT)
Message-ID: <5519AE3C.7060401@HIDDEN>
Date: Mon, 30 Mar 2015 16:12:44 -0400
From: Phillip Susi <psusi@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1;
 rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: "Brian C. Lane" <bcl@HIDDEN>, 20225 <at> debbugs.gnu.org
Subject: Re: bug#20225: Email bug report because web-based bug tracking tool
 is down
References: <D13D71AD.876F2C%wnugent@HIDDEN>
 <20150330164234.GG13638@HIDDEN>
In-Reply-To: <20150330164234.GG13638@HIDDEN>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20225
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm not sure this isn't actually intentional.  What should parted do
when run in scripting mode?  There all exceptions are unhandled, so a
sane default action must be taken.  I think this particular error
really should be a warning, and the default is to proceed, using the
backup copy.

On 3/30/2015 12:42 PM, Brian C. Lane wrote:
> On Sun, Mar 29, 2015 at 01:09:04PM +0000, Nugent, Bill wrote:
>> In case I forget I wanted to report a bug with parted where
>> Control-C is treated as an OK response.  I was testing how parted
>> handled a corrupt primary GPT and was rewarded with parted asking
>> if I wanted to use the backup GPT instead with the prompt:
>> "OK/Cancel? " I typed Control-C and it took it as an OK
>> response.
>> 
>> 
>> $ parted fu print unit s print unit chs print
>> 
>> WARNING: You are not superuser.  Watch out for permissions.
>> 
>> Error: The primary GPT table is corrupt, but the backup appears
>> OK, so that will be used.
>> 
>> parted: invalid token: unit
>> 
>> OK/Cancel? ^C
>> 
>> Model:  (file)
>> 
>> Disk /path/to/changed/fu: 4001GB
>> 
>> Sector size (logical/physical): 512B/512B
>> 
>> Partition Table: gpt
> 
> Thanks for the report, it looks like we've got some places where 
> ped_exception_throw return values aren't being checked properly --
> ^C should generate a PED_EXCEPTION_UNHANDLED and I see a number of
> places that don't take that into account.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJVGa48AAoJENRVrw2cjl5RjnMIALMtOsiRdqnKIMucQkZQMPcN
4TYCYY/Dc89jlkyVprpYjM0NjvKAvrrQYkl92CRZTevI1ghm4YkqIyy3o1bhLj53
ZD+nXo4ID1/IO0G51GjnRCcZWAiyKrNPxUUDlZVh7j4Ofw5m1Fsl3fjlaeJB7OLG
DDKERQOlYYAtnSyti/qaVX3CYZkjJwBtCb0HZAainpBRFggE7L47fHw/OL3Lpdie
HO/FgPBJbW6FKOHNPzInNwrVqblObIubXNaPyd0M4A0uqNjVuhMjtmjpMePwDR6b
z0FnCTh6Xy+wL4Qj5PFY8k33Sksv3JQpMXBUlSzuzu8UfqOg6GH+csA4OLeLF7M=
=J2Mr
-----END PGP SIGNATURE-----




Information forwarded to bug-parted@HIDDEN:
bug#20225; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Mar 2015 16:42:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 30 12:42:57 2015
Received: from localhost ([127.0.0.1]:40637 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Yccm8-0004q7-Rq
	for submit <at> debbugs.gnu.org; Mon, 30 Mar 2015 12:42:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39425)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <bcl@HIDDEN>) id 1Yccm6-0004pu-Ak
 for submit <at> debbugs.gnu.org; Mon, 30 Mar 2015 12:42:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1Ycclx-0004GA-Bz
 for submit <at> debbugs.gnu.org; Mon, 30 Mar 2015 12:42:49 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60725)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1Ycclx-0004G4-8m
 for submit <at> debbugs.gnu.org; Mon, 30 Mar 2015 12:42:45 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41129)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1Ycclw-0002xO-8j
 for bug-parted@HIDDEN; Mon, 30 Mar 2015 12:42:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1Ycclq-0004Dk-4N
 for bug-parted@HIDDEN; Mon, 30 Mar 2015 12:42:44 -0400
Received: from mx1.redhat.com ([209.132.183.28]:33624)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bcl@HIDDEN>) id 1Ycclp-0004DJ-Rz
 for bug-parted@HIDDEN; Mon, 30 Mar 2015 12:42:38 -0400
Received: from int-mx14.intmail.prod.int.phx2.redhat.com
 (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27])
 by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t2UGgacB008920
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
 for <bug-parted@HIDDEN>; Mon, 30 Mar 2015 12:42:36 -0400
Received: from lister.brianlane.com (ovpn-113-119.phx2.redhat.com
 [10.3.113.119])
 by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 t2UGgY2f007826
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
 for <bug-parted@HIDDEN>; Mon, 30 Mar 2015 12:42:36 -0400
Date: Mon, 30 Mar 2015 09:42:34 -0700
From: "Brian C. Lane" <bcl@HIDDEN>
To: bug-parted@HIDDEN
Subject: Re: bug#20225: Email bug report because web-based bug tracking tool
 is down
Message-ID: <20150330164234.GG13638@HIDDEN>
References: <D13D71AD.876F2C%wnugent@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D13D71AD.876F2C%wnugent@HIDDEN>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

On Sun, Mar 29, 2015 at 01:09:04PM +0000, Nugent, Bill wrote:
> In case I forget I wanted to report a bug with parted where Control-C is treated as an OK response.  I was testing how parted handled a corrupt primary GPT and was rewarded with parted asking if I wanted to use the backup GPT instead with the prompt: "OK/Cancel? " I typed Control-C and it took it as an OK response.
> 
> 
> $ parted fu print unit s print unit chs print
> 
> WARNING: You are not superuser.  Watch out for permissions.
> 
> Error: The primary GPT table is corrupt, but the backup appears OK, so that will be used.
> 
> parted: invalid token: unit
> 
> OK/Cancel? ^C
> 
> Model:  (file)
> 
> Disk /path/to/changed/fu: 4001GB
> 
> Sector size (logical/physical): 512B/512B
> 
> Partition Table: gpt

Thanks for the report, it looks like we've got some places where
ped_exception_throw return values aren't being checked properly -- ^C
should generate a PED_EXCEPTION_UNHANDLED and I see a number of places
that don't take that into account.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)




Information forwarded to bug-parted@HIDDEN:
bug#20225; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Mar 2015 16:43:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 29 12:43:26 2015
Received: from localhost ([127.0.0.1]:39759 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YcGJ3-0001Xx-Vx
	for submit <at> debbugs.gnu.org; Sun, 29 Mar 2015 12:43:26 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38676)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <wnugent@HIDDEN>) id 1YcCyW-00050d-2c
 for submit <at> debbugs.gnu.org; Sun, 29 Mar 2015 09:10:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wnugent@HIDDEN>) id 1YcCyQ-00019n-1P
 for submit <at> debbugs.gnu.org; Sun, 29 Mar 2015 09:09:55 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39521)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wnugent@HIDDEN>) id 1YcCyP-00019c-V6
 for submit <at> debbugs.gnu.org; Sun, 29 Mar 2015 09:09:53 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40397)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wnugent@HIDDEN>) id 1YcCyO-00080W-TE
 for bug-parted@HIDDEN; Sun, 29 Mar 2015 09:09:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wnugent@HIDDEN>) id 1YcCyL-00018i-LA
 for bug-parted@HIDDEN; Sun, 29 Mar 2015 09:09:52 -0400
Received: from prod-mail-xrelay02.akamai.com ([72.246.2.14]:39452)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wnugent@HIDDEN>) id 1YcCyL-00018Y-HB
 for bug-parted@HIDDEN; Sun, 29 Mar 2015 09:09:49 -0400
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1])
 by postfix.imss70 (Postfix) with ESMTP id D83E8285F3
 for <bug-parted@HIDDEN>; Sun, 29 Mar 2015 13:09:48 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com
 [172.17.121.112])
 by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id C5DFD285F2
 for <bug-parted@HIDDEN>; Sun, 29 Mar 2015 13:09:48 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-cas3.msg.corp.akamai.com
 [172.27.123.32])
 by prod-mail-relay07.akamai.com (Postfix) with ESMTP id B327F80040
 for <bug-parted@HIDDEN>; Sun, 29 Mar 2015 13:09:48 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by
 usma1ex-dag1mb5.msg.corp.akamai.com (172.27.123.105) with Microsoft SMTP
 Server (TLS) id 15.0.913.22; Sun, 29 Mar 2015 09:09:17 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by
 usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id
 15.00.0913.011; Sun, 29 Mar 2015 09:09:05 -0400
From: "Nugent, Bill" <wnugent@HIDDEN>
To: "bug-parted@HIDDEN" <bug-parted@HIDDEN>
Subject: Email bug report because web-based bug tracking tool is down
Thread-Topic: Email bug report because web-based bug tracking tool is down
Thread-Index: AQHQaiGIiJB46qLV5UC1ylPIHfqO3A==
Date: Sun, 29 Mar 2015 13:09:04 +0000
Message-ID: <D13D71AD.876F2C%wnugent@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.8.150116
x-originating-ip: [172.19.4.172]
Content-Type: multipart/alternative;
 boundary="_000_D13D71AD876F2Cwnugentakamaicom_"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 29 Mar 2015 12:43:23 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--_000_D13D71AD876F2Cwnugentakamaicom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

In case I forget I wanted to report a bug with parted where Control-C is tr=
eated as an OK response.  I was testing how parted handled a corrupt primar=
y GPT and was rewarded with parted asking if I wanted to use the backup GPT=
 instead with the prompt: "OK/Cancel? " I typed Control-C and it took it as=
 an OK response.


$ parted fu print unit s print unit chs print

WARNING: You are not superuser.  Watch out for permissions.

Error: The primary GPT table is corrupt, but the backup appears OK, so that=
 will be used.

parted: invalid token: unit

OK/Cancel? ^C

Model:  (file)

Disk /path/to/changed/fu: 4001GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt


Number  Start   End     Size    File system  Name      Flags

 1      20.5kB  32.9MB  32.9MB               FORBDLCS  msftdata

 2      32.9MB  500GB   500GB                P2        msftdata

 3      500GB   1000GB  500GB                P3        msftdata

 4      1000GB  1500GB  500GB                P4        msftdata

 5      1500GB  2000GB  500GB                P5        msftdata

 6      2000GB  2500GB  500GB                P6        msftdata

 7      2500GB  3000GB  500GB                P7        msftdata

 8      3000GB  3500GB  500GB                P8        msftdata

 9      3500GB  4000GB  500GB                P9        msftdata

Also was going to open an enhancement request for parted to force it to use=
 the backup GPT no matter what the state of the MBR and primary GPT.  This =
would be useful if case the MBR and/or primary GPT were corrupt (think: "dd=
 if=3D/dev/zero of=3D/dev/sdX bs=3D512 count 130" or something similar).

Bill

--_000_D13D71AD876F2Cwnugentakamaicom_
Content-Type: text/html; charset="us-ascii"
Content-ID: <443354BF7FF50A4CB9D65336FD45C840@HIDDEN>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; font-family: Courier, sans-serif; font-size: 12=
px; color: rgb(0, 0, 0);">
<div>In case I forget I wanted to report a bug with parted where Control-C =
is treated as an OK response. &nbsp;I was testing how parted handled a corr=
upt primary GPT and was rewarded with parted asking if I wanted to use the =
backup GPT instead with the prompt: &quot;OK/Cancel?
 &quot; I typed Control-C and it took it as an OK response.</div>
<div><br>
</div>
<div>
<div>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">$ parted f=
u print unit s print unit chs print</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">WARNING: Y=
ou are not superuser.&nbsp; Watch out for permissions.</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">Error: The=
 primary GPT table is corrupt, but the backup appears OK, so that will be u=
sed.</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">parted: in=
valid token: unit</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;"><span styl=
e=3D"background-color: rgb(255, 255, 0);">OK/Cancel? ^C</span>&nbsp;&nbsp;&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">Model:&nbs=
p; (file)</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">Disk /path=
/to/changed/fu: 4001GB</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">Sector siz=
e (logical/physical): 512B/512B</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">Partition =
Table: gpt</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier; min-height:=
 13px;">
<br>
</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">Number&nbs=
p; Start &nbsp; End &nbsp; &nbsp; Size&nbsp; &nbsp; File system&nbsp; Name&=
nbsp; &nbsp; &nbsp; Flags</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;1&nb=
sp; &nbsp; &nbsp; 20.5kB&nbsp; 32.9MB&nbsp; 32.9MB &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; FORBDLCS&nbsp; msftdata</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;2&nb=
sp; &nbsp; &nbsp; 32.9MB&nbsp; 500GB &nbsp; 500GB&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; P2&nbsp; &nbsp; &nbsp; &nbsp; msftdata</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;3&nb=
sp; &nbsp; &nbsp; 500GB &nbsp; 1000GB&nbsp; 500GB&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; P3&nbsp; &nbsp; &nbsp; &nbsp; msftdata</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;4&nb=
sp; &nbsp; &nbsp; 1000GB&nbsp; 1500GB&nbsp; 500GB&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; P4&nbsp; &nbsp; &nbsp; &nbsp; msftdata</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;5&nb=
sp; &nbsp; &nbsp; 1500GB&nbsp; 2000GB&nbsp; 500GB&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; P5&nbsp; &nbsp; &nbsp; &nbsp; msftdata</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;6&nb=
sp; &nbsp; &nbsp; 2000GB&nbsp; 2500GB&nbsp; 500GB&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; P6&nbsp; &nbsp; &nbsp; &nbsp; msftdata</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;7&nb=
sp; &nbsp; &nbsp; 2500GB&nbsp; 3000GB&nbsp; 500GB&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; P7&nbsp; &nbsp; &nbsp; &nbsp; msftdata</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;8&nb=
sp; &nbsp; &nbsp; 3000GB&nbsp; 3500GB&nbsp; 500GB&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; P8&nbsp; &nbsp; &nbsp; &nbsp; msftdata</p>
<p style=3D"margin: 0px; font-size: 11px; font-family: Courier;">&nbsp;9&nb=
sp; &nbsp; &nbsp; 3500GB&nbsp; 4000GB&nbsp; 500GB&nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; P9&nbsp; &nbsp; &nbsp; &nbsp; msftdata</p>
</div>
<div><br>
</div>
<div>Also was going to open an enhancement request for parted to force it t=
o use the backup GPT no matter what the state of the MBR and primary GPT. &=
nbsp;This would be useful if case the MBR and/or primary GPT were corrupt (=
think: &quot;dd if=3D/dev/zero of=3D/dev/sdX bs=3D512
 count 130&quot; or something similar).</div>
<div><br>
</div>
</div>
<div><span class=3D"Apple-tab-span" style=3D"white-space: pre;"></span>Bill=
</div>
</body>
</html>

--_000_D13D71AD876F2Cwnugentakamaicom_--




Acknowledgement sent to "Nugent, Bill" <wnugent@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#20225; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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