Re: GPT writing of unknown partition uuids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 15 Jul 2015, Karel Zak wrote:

> 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!
Thanks for the quick fix.

Is it sane for me to assume this is fixed in any version of
  util-linux > 2.26.2 ?
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux