All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Scott Moser <smoser@ubuntu.com>
Cc: util-linux@vger.kernel.org
Subject: Re: GPT writing of unknown partition uuids
Date: Wed, 15 Jul 2015 15:42:34 +0200	[thread overview]
Message-ID: <20150715134234.GC31997@ws.net.home> (raw)
In-Reply-To: <alpine.DEB.2.02.1507141610310.21273@brickies>

On Tue, Jul 14, 2015 at 04:16:56PM -0400, Scott Moser wrote:
> It seems like if the user provided you with a GUID, sfdisk should trust
> them, or at very least exit failure if it refuses to use the provided
> GUID.
> 
> Thoughts?

It's bug, the "unknown" partition type is expected. Fixed in git tree:

# sfdisk -ql /dev/sdc
Device     Start     End Sectors  Size Type
/dev/sdc1   2048 1023966 1021919  499M Linux filesystem


# sfdisk --part-type /dev/sdc 1 $(uuidgen)
...


# sfdisk -ql /dev/sdc
Device     Start     End Sectors  Size Type
/dev/sdc1   2048 1023966 1021919  499M unknown


Thanks for your report!

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

  parent reply	other threads:[~2015-07-15 13:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-14 20:16 GPT writing of unknown partition uuids Scott Moser
2015-07-15  0:37 ` Dale R. Worley
2015-07-15 13:28   ` Scott Moser
2015-07-15 13:42 ` Karel Zak [this message]
2015-07-15 14:56   ` Scott Moser
2015-07-15 15:02     ` Karel Zak
2015-07-15 15:09     ` Vadim Kochan
2015-07-15 15:12       ` Vadim Kochan

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=20150715134234.GC31997@ws.net.home \
    --to=kzak@redhat.com \
    --cc=smoser@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.