Your message dated Sun, 12 Aug 2018 21:21:53 +0200
with message-id <[email protected]>
and subject line Re: Bug#805277: sfdisk: dump format changed in 2.26
has caused the Debian Bug report #805277,
regarding sfdisk: dump format changed in 2.26
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
805277: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805277
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.27.1-1
Severity: wishlist

Dear Maintainer,

The sfdisk man page documents using --dump to dump partitions of a
system and later restore them by feeding them to sfdisk from the
standard input.

The format of this dump has changed in the rewrite in version 2.26, and
thus a dump generated by Stretch cannot be used by Jessie.

New versions seem to be able to use old dumps.

A simple cwscript I use here to convert new format to old:

sed \
        -e 's/type=/Id=/' \
        -e '/^label:/d' \
        -e '/^label-id:/d' \
        -e '/^device:/d' \
        #

Is dumping and restoring accross versions supported?

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages util-linux depends on:
ii  initscripts     2.88dsf-59.2
ii  libblkid1       2.27.1-1
ii  libc6           2.19-22
ii  libfdisk1       2.27.1-1
ii  libmount1       2.27.1-1
ii  libncursesw5    6.0+20151024-1
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2+b1
ii  libsmartcols1   2.27.1-1
ii  libsystemd0     227-2
ii  libtinfo5       6.0+20151024-1
ii  libudev1        227-2
ii  libuuid1        2.27.1-1
ii  lsb-base        9.20150917
ii  sysvinit-utils  2.88dsf-59.2
ii  tzdata          2015g-1
ii  zlib1g          1:1.2.8.dfsg-2+b1

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  console-tools       1:0.2.3dbs-70
ii  dosfstools          3.0.28-2
ii  util-linux-locales  2.27.1-1

-- debconf information excluded

--- End Message ---
--- Begin Message ---
* Tzafrir Cohen <[email protected]> [180812 19:20]:
> The sfdisk man page documents using --dump to dump partitions of a
> system and later restore them by feeding them to sfdisk from the
> standard input.
> 
> The format of this dump has changed in the rewrite in version 2.26, and
> thus a dump generated by Stretch cannot be used by Jessie.

So, as with almost all tools, forward-compatibility but not
backwards; upstream appears to agree. I think this is just how any
feature evolves, and don't see a bug as such here.

Thanks,
Chris

--- End Message ---

Reply via email to