[Bug 1046665] Re: wipefs does not properly clean up vfat signatures

Launchpad Bug Tracker 1046665 at bugs.launchpad.net
Thu Sep 6 18:59:18 UTC 2012


This bug was fixed in the package util-linux - 2.20.1-5.1ubuntu2

---------------
util-linux (2.20.1-5.1ubuntu2) quantal; urgency=low

  * misc-utils/wipefs.c: In --all mode, wipe several times until no further
    signatures are found. This is required for file systems like VFAT which
    can be detected in multiple different ways. This is fixed properly in 2.21
    (see LP #1012081), but does not backport well, so use this local hack for
    now. (LP: #1046665)
 -- Martin Pitt <martin.pitt at ubuntu.com>   Thu, 06 Sep 2012 08:00:00 +0200

** Changed in: util-linux (Ubuntu Quantal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1046665

Title:
  wipefs does not properly clean up vfat signatures

Status in “util-linux” package in Ubuntu:
  Fix Released
Status in “util-linux” source package in Quantal:
  Fix Released

Bug description:
  With the current version you need to call wipefs three times on vfat
  before it succeeds. This is reproduced with the udisks2 test suite,
  and with these manual commands:

  $ dd if=/dev/zero of=/tmp/img bs=1M count=50 && mkfs.vfat -n txx /tmp/img && wipefs -a /tmp/img && blkid -p /tmp/img
  8 bytes were erased at offset 0x36 (vfat)
  they were: 46 41 54 31 36 20 20 20
  /tmp/img: SEC_TYPE="msdos" LABEL="txx" UUID="3F05-CCD3" VERSION="FAT16" TYPE="vfat" USAGE="filesystem" 

  After second time:
  $ wipefs -a /tmp/img && blkid -p /tmp/img
  1 bytes were erased at offset 0x0 (vfat)
  they were: eb
  /tmp/img: SEC_TYPE="msdos" LABEL="txx" UUID="3F05-CCD3" VERSION="FAT16" TYPE="vfat" USAGE="filesystem" 

  Third time is the charm:
  $ wipefs -a /tmp/img && blkid -p /tmp/img
  2 bytes were erased at offset 0x1fe (vfat)
  they were: 55 aa

  This is fixed in the current upstream version (see bug 1012081), but
  I'd like to fix it for Quantal as this makes other test suite
  regressions in udisks hard to see (we missed a regression on i386 for
  weeks due to this).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1046665/+subscriptions




More information about the foundations-bugs mailing list