Received: (at 25251) by debbugs.gnu.org; 18 Apr 2017 15:25:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 18 11:25:35 2017 Received: from localhost ([127.0.0.1]:54932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1d0V0Z-0001Ai-FB for submit <at> debbugs.gnu.org; Tue, 18 Apr 2017 11:25:35 -0400 Received: from mail-ua0-f193.google.com ([209.85.217.193]:34106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <phillsusi@HIDDEN>) id 1d0V0Y-0001AW-4a for 25251 <at> debbugs.gnu.org; Tue, 18 Apr 2017 11:25:34 -0400 Received: by mail-ua0-f193.google.com with SMTP id 110so2094129uas.1 for <25251 <at> debbugs.gnu.org>; Tue, 18 Apr 2017 08:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=GY8BaQNmbejsfvNYo73WchwISXElvQeu2ahidY5/85Y=; b=S6rTS1ZvIZnDKoTugJIt4x0XKTmCaLBmi7kNl036Zsc4NTzrf98RhEydz+3F6Fn/12 +UP8hbT1kta5ddDl8bcrdAtOZaUsZekvrVPRy77HQRf3Q63WXi2mvYTOAijpYaNvaImv im86HxSdtDTyo1U8VM3UVPus8TxSmVh2bs0tJR9Q/ZgOaw6Y79JZ1QaqyD1vRY9+7Vhu Y7GerA0n4aH1NEqqxbsYjDoh7F0cOBNRfPrijEXx8CFsv4tekEKNJlfsekzxvbeY+/WD 8l8rg5iv7J1jIzERTsO2W+hjQkBhYj5l10JgNnM0LtZHVbpBFotJ52Ax2nyniWKxYk4N Pd+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=GY8BaQNmbejsfvNYo73WchwISXElvQeu2ahidY5/85Y=; b=n6QflyUA3NaQZKzQxYnjKDXyyZ331S1RofR6PP+UHpX4CJV0WoufL7z+mF8xgIpuUe I8UfsuxjT137xABhVF0YLWoRIDEquUY77PrA0S53Z/+xOZlD3nVzfZq8tRibK2rvwRxB e7sh0ArUphuJxrQxzzrW572pSFKHgmTJrVVO/frTKofPH3wriLA9QIuxFPhh1bxitVPO qPxcJ+vPH2bsHF+tFI7SF0WDSiaKTnXrw/8W6BtKGqeyENoe37fBlVUAkHnJ8ftH2T+t pxduYU3p9+iTJSJ9yb8qrusYZmf7oaX5xgX43yQTEFeYmvH57Q/TG4/sWfV9tAZmLQHA G8yQ== X-Gm-Message-State: AN3rC/72C9Vc5aBhvH7lnBHhoqxyHm3q0En5e22hiADUstQZK8yylrpb 9xZZMu8zFjaAQGqcqz8= X-Received: by 10.159.59.146 with SMTP id r18mr12961424uah.102.1492529128676; Tue, 18 Apr 2017 08:25:28 -0700 (PDT) Received: from [10.1.1.184] (fl-67-77-88-12.sta.embarqhsd.net. [67.77.88.12]) by smtp.googlemail.com with ESMTPSA id x37sm1161105uab.38.2017.04.18.08.25.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Apr 2017 08:25:28 -0700 (PDT) Subject: Re: bug#25251: Bug in GNU Parted - mistakes MBR for a FAT32 partition To: Sebastian Audet <smaudet2@HIDDEN>, 25251 <at> debbugs.gnu.org References: <CAB8WYtpJzu3DQM1Sfm8sYQVcVDJLiYA3vzfbcVyU77=i-n5=Ng@HIDDEN> From: Phil Susi <psusi@HIDDEN> Message-ID: <983e8920-8c49-8e98-5929-6f3a0d37f0fd@HIDDEN> Date: Tue, 18 Apr 2017 11:27:09 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <CAB8WYtpJzu3DQM1Sfm8sYQVcVDJLiYA3vzfbcVyU77=i-n5=Ng@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 25251 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) On 12/22/2016 5:08 PM, Sebastian Audet wrote: > I have a FAT32 partition on an MSDOS style disk (its actually an mSata > drive connected through USB for ultimate installation in another hardware > device that must read FAT32 - long story and tertiary to what I've found), > and through much debugging of software, I believe I have found a rather bad > bug in the Parted software. > > Using the latest parted 3.2, when opening a device and creating a disk from > said device, the msdos partition table detector will fail if the fat32 > partition detector fails to fail. I'm not sure why, but parted thinks my > boot sector (my MBR, the first sector on the disk) looks like a fat32 > partition. Can you hd ( hex dump ) the MBR so I can take a look at it?
bug-parted@HIDDEN
:bug#25251
; Package parted
.
Full text available.Received: (at submit) by debbugs.gnu.org; 23 Dec 2016 00:18:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 22 19:18:11 2016 Received: from localhost ([127.0.0.1]:51950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cKDYo-0003CT-Sa for submit <at> debbugs.gnu.org; Thu, 22 Dec 2016 19:18:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <smaudet2@HIDDEN>) id 1cKBXE-0000Cq-2g for submit <at> debbugs.gnu.org; Thu, 22 Dec 2016 17:08:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <smaudet2@HIDDEN>) id 1cKBX7-0000y7-OQ for submit <at> debbugs.gnu.org; Thu, 22 Dec 2016 17:08:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39312) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <smaudet2@HIDDEN>) id 1cKBX7-0000y1-L5 for submit <at> debbugs.gnu.org; Thu, 22 Dec 2016 17:08:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <smaudet2@HIDDEN>) id 1cKBX6-0003fn-EB for bug-parted@HIDDEN; Thu, 22 Dec 2016 17:08:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <smaudet2@HIDDEN>) id 1cKBX5-0000wi-7P for bug-parted@HIDDEN; Thu, 22 Dec 2016 17:08:16 -0500 Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:36580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <smaudet2@HIDDEN>) id 1cKBX5-0000wM-2X for bug-parted@HIDDEN; Thu, 22 Dec 2016 17:08:15 -0500 Received: by mail-io0-x22c.google.com with SMTP id h133so4676111ioe.3 for <bug-parted@HIDDEN>; Thu, 22 Dec 2016 14:08:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rPC79klADPTDxglI7iavttHf8DM/EXCQ5AVbFmeB81A=; b=Ec7DyoIOm5kI5cri84a90IDjEQ/8ikvBMnEPKuW5pWZ0oMKxz8bVNec4A9FL4M2j2u lXBkGygdATvByd88euPP/ENqvLc/+hlvvqN38LayWbrwfoQjIiQ5GPjEOMG68uJ/Dxp1 8N0T1kRC/Qq+YJe+2+K8YKLAvTfjA8FQ60lYSgcIo89H2eXnHyH+MBKj8Gaz5+TY81zZ blMficwQmT1ZSQ4ADRsHf38OgvPSaTrKDjR/YxH3rj632wtITgMr67BaJ9X4hzqn+Dub UUxwj91LM1zunD1BvammdA09oqiCpKlDtfNWQ4KfnzTiBNFU1ysVJGcPIAHToSMoJIaS a4iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rPC79klADPTDxglI7iavttHf8DM/EXCQ5AVbFmeB81A=; b=DBSxDpmG9piOJMuzz0X+7YxAwHurdhgi/NSFX/onMqxV7pHkFA1PmbR4Cr4xu8KkhB yWXzVH0TpY5hi4pZzvSPXy4jyjqequ0kduOaDD657VAVWz62xwMFp80oFYi1qIgU8HBb 13l+Yvnd15hP4bNNxhObqcAqmAWz23TqHhYnqAIRDRNbWYlZrbtCSfiHQ+EmbN7nV4DM N8F+8J1z/XaCIQfMJ5P4UxDPnTDYcBHfLP4p155GrUKsTqsegFdAN/V5YMLtTacVhDU8 YCXdpHb7X5Kvq+pLtnDnFsjMC8Y2dyiqvsBf2ug5+j4ZnNa1PpQMzhEQgNL1o4sm88Nr FNJw== X-Gm-Message-State: AIkVDXKmdHJJl3mZ5UWtPl9bokThN8PjpBbGNBHpW3kAu3Pywntv1eQHsbkAq1dHOJzTordTT/l3Hy9ZMP4sww== X-Received: by 10.107.135.89 with SMTP id j86mr2930451iod.116.1482444494105; Thu, 22 Dec 2016 14:08:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.28.201 with HTTP; Thu, 22 Dec 2016 14:08:13 -0800 (PST) From: Sebastian Audet <smaudet2@HIDDEN> Date: Thu, 22 Dec 2016 17:08:13 -0500 Message-ID: <CAB8WYtpJzu3DQM1Sfm8sYQVcVDJLiYA3vzfbcVyU77=i-n5=Ng@HIDDEN> Subject: Bug in GNU Parted - mistakes MBR for a FAT32 partition To: bug-parted@HIDDEN Content-Type: multipart/alternative; boundary=001a113ed26278712d054446810b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 22 Dec 2016 19:18:10 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.8 (---) --001a113ed26278712d054446810b Content-Type: text/plain; charset=UTF-8 I have a FAT32 partition on an MSDOS style disk (its actually an mSata drive connected through USB for ultimate installation in another hardware device that must read FAT32 - long story and tertiary to what I've found), and through much debugging of software, I believe I have found a rather bad bug in the Parted software. Using the latest parted 3.2, when opening a device and creating a disk from said device, the msdos partition table detector will fail if the fat32 partition detector fails to fail. I'm not sure why, but parted thinks my boot sector (my MBR, the first sector on the disk) looks like a fat32 partition. I'm fairly sure this is in fact an MSDOS disk, not a fat32 disk, as both my operating system, and the native operating system intended to read it believe it is in fact not one giant fat32 disk, but a free space partition, and a fat32 partition. I was able to resize my partition by commenting out the fat32 probe checks in the partition table detector. Is there any way we can get a flag to be able to turn off this extra detection if we're fairly sure parted is getting things wrong? Regards, Sebastian --001a113ed26278712d054446810b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><span style=3D"font-size:12.8px">I have a FAT32 partition = on an MSDOS style disk (its actually an mSata</span><br style=3D"font-size:= 12.8px"><span style=3D"font-size:12.8px">drive connected through USB for ul= timate installation in another hardware</span><br style=3D"font-size:12.8px= "><span style=3D"font-size:12.8px">device that must read FAT32 - long story= and tertiary to what I've found),</span><br style=3D"font-size:12.8px"= ><span style=3D"font-size:12.8px">and through much debugging of software, I= believe I have found a rather bad</span><br style=3D"font-size:12.8px"><sp= an style=3D"font-size:12.8px">bug in the Parted software.</span><br style= =3D"font-size:12.8px"><br style=3D"font-size:12.8px"><span style=3D"font-si= ze:12.8px">Using the latest parted 3.2, when opening a device and creating = a disk from</span><br style=3D"font-size:12.8px"><span style=3D"font-size:1= 2.8px">said device, the msdos partition table detector will fail if the fat= 32</span><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">pa= rtition detector fails to fail. I'm not sure why, but parted thinks my<= /span><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">boot = sector (my MBR, the first sector on the disk) looks like a fat32</span><br = style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">partition.</spa= n><div><br></div><div>I'm fairly sure this is in fact an MSDOS disk, no= t a fat32 disk, as both my operating system, and the native operating syste= m intended to read it believe it is in fact not one giant fat32 disk, but a= free space partition, and a fat32 partition. I was able to resize my parti= tion by commenting out the fat32 probe checks in the partition table detect= or. Is there any way we can get a flag to be able to turn off this extra de= tection if we're fairly sure parted is getting things wrong?<br style= =3D"font-size:12.8px"><br style=3D"font-size:12.8px"><span style=3D"font-si= ze:12.8px">Regards,</span><br style=3D"font-size:12.8px"><span style=3D"fon= t-size:12.8px">Sebastian</span><br></div></div> --001a113ed26278712d054446810b--
Sebastian Audet <smaudet2@HIDDEN>
:bug-parted@HIDDEN
.
Full text available.bug-parted@HIDDEN
:bug#25251
; Package parted
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.