From: Karel Zak <kzak@redhat.com>
To: Phillip Susi <psusi@ubuntu.com>
Cc: Marc MERLIN <marc@merlins.org>, util-linux@vger.kernel.org
Subject: Re: Severe fdisk problem leading to data loss?
Date: Wed, 27 Nov 2013 15:58:40 +0100 [thread overview]
Message-ID: <20131127145840.GB32483@x2.net.home> (raw)
In-Reply-To: <529605B7.3020903@ubuntu.com>
On Wed, Nov 27, 2013 at 09:46:15AM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/25/2013 5:31 AM, Karel Zak wrote:
> > This is definitely bug too, because Linux does not care about
> > partition type and kernel is able to use this partition:
>
> Isn't the bug actually in the kernel, not parted? An ID of zero means
> the slot is unused, so it shouldn't be paying any attention to the
> start and length.
After 20 years it's feature ;-) as I'm almost sure that we cannot fix
it and disable all partition where is no the ID.
And Linux kernel have never cared about partition type (this is not
specific to MBR, the same behaviour we have for Sun, SGI, MAC, BSD,
..), only PT where we care is GPT (zero GUID is ignored).
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2013-11-27 14:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20131118102051.GA31813@merlins.org>
2013-11-24 13:52 ` Severe fdisk problem leading to data loss? Marc MERLIN
2013-11-25 10:31 ` Karel Zak
2013-11-25 11:59 ` Marc MERLIN
2013-11-27 14:46 ` Phillip Susi
2013-11-27 14:58 ` Karel Zak [this message]
2013-11-27 18:25 ` Phillip Susi
2013-11-27 19:58 ` Curtis Gedak
2013-11-27 20:08 ` Phillip Susi
2013-11-27 20:23 ` Curtis Gedak
2013-11-27 21:05 ` Phillip Susi
2013-11-27 21:07 ` Curtis Gedak
2013-11-27 23:02 ` Ángel González
2013-11-27 20:07 ` Karel Zak
2013-11-27 20:19 ` Phillip Susi
2013-11-27 21:09 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131127145840.GB32483@x2.net.home \
--to=kzak@redhat.com \
--cc=marc@merlins.org \
--cc=psusi@ubuntu.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox