[PATCH] fix partuuid format

Sascha Hauer s.hauer at pengutronix.de
Fri Feb 28 01:46:38 PST 2025


Hi Oliver,

On Wed, Feb 26, 2025 at 02:29:48PM +0000, Oliver ROHE wrote:
> root=PARTUUID=SSSSSSSS-PP
> 
> Where SSSSSSSS is a zero-filled 32-bit MBR disk signature,
> and PP is a zero-filled partition number in hexadecimal format.

Thanks for fixing this. This doesn't seem to be documented in Linux, so
I digged in the code and added this to the commit message:

| This is not explicitly documented in Linux, but can be seen in [1].
| 
| [1] https://github.com/torvalds/linux/blob/76544811c850a1f4c055aa182b513b7a843868ea/block/partitions/msdos.c#L108

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list