Skip to contentSkip to conversation

Heads up

DISCUSSION Gary Thomas 3 participants 4 messages Apr 29, 2015 – Apr 30, 2015

lore
Share & tools
lore
#0 lore raw

This is just a note that the recent upgrade of util-linux to version 2.26.1 (from 2.25.2) was much more major than the version change implies. The 'sfdisk' tool changed a lot and will no longer be compatible with many scripts out there that still use it.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 5 lines · Gary Thomas

This is just a note that the recent upgrade of util-linux to version 2.26.1 (from 2.25.2) was much more major than the version change implies. The 'sfdisk' tool changed a lot and will no longer be compatible with many scripts out there that still use it.

i remember mentioning this on the beagleboard ML back in january:

https://www.mail-archive.com/[email protected]/msg23943.html

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#2 lore raw
In reply to Gary Thomas
Quoted 5 lines · Gary Thomas

This is just a note that the recent upgrade of util-linux to version 2.26.1 (from 2.25.2) was much more major than the version change implies. The 'sfdisk' tool changed a lot and will no longer be compatible with many scripts out there that still use it.

Can we document the needed differences and info for users ?
may be it will handy in release notes too eventually when release time comes

Quoted 11 lines

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw
Quoted 10 lines · Khem Raj
Quoted 5 lines · Gary Thomas

This is just a note that the recent upgrade of util-linux to version 2.26.1 (from 2.25.2) was much more major than the version change implies. The 'sfdisk' tool changed a lot and will no longer be compatible with many scripts out there that still use it.

Can we document the needed differences and info for users ?
may be it will handy in release notes too eventually when release time comes

From the 2.26 release notes:
This version provides a completely new sfdisk(8) command; the new version is based on libfdisk. If your use cases depend on sfdisk(8), then it is strongly recommended to be careful and re-test your scripts. The new version supports MBR and GPT disk labels (SGI and SUN are also supported but not well tested). The new version no longer supports some obscure MBR-specific command-line options nor legacy CHS addressing.

What this means is that any script (there are a ton of them out there) that tries to create a label for a disk device using Cylinder-Head-Sectors style will have to be rewritten as the new sfdisk only does sector unit addressing.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------