Re: GPT writing of unknown partition uuids

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

 



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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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