[Top] [All Lists]

Re: [PATCH] xfs_mkfs: wipe old signatures from the device

To: LukÃÅ Czerner <lczerner@xxxxxxxxxx>
Subject: Re: [PATCH] xfs_mkfs: wipe old signatures from the device
From: Karel Zak <kzak@xxxxxxxxxx>
Date: Wed, 13 Feb 2013 13:16:55 +0100
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, sandeen@xxxxxxxxxx, Zach Brown <zabrown@xxxxxxxxxx>, linux-btrfs@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <alpine.LFD.2.00.1302131127070.2315@(none)>
References: <1360667215-14701-1-git-send-email-lczerner@xxxxxxxxxx> <20130212202753.GC26694@dastard> <20130213080154.GC18597@xxxxxxxxxxx> <alpine.LFD.2.00.1302131127070.2315@(none)>
User-agent: Mutt/1.5.21 (2012-12-30)
On Wed, Feb 13, 2013 at 11:41:08AM +0100, LukÃÅ Czerner wrote:
> However
> mkfs.btrfs /dev/sda
> mkfs.ext4 -F /dev/sda
> works well, however I am not sure why that is. Is that some kind of
> mount(8) magic ?

 This is bug in libmount. Fixed in upstream tree. The libmount in some
 cases ignores the ambivalent probing result from libblkid and tries 
 stuff from /etc/filesystems (where is for example ext4).

> So I think that liblkid _and_ btrfs tools has to be fixed not to treat
> backup superblocks as primary!

 The problem with additional btrfs superblocks has been already reported
 to btrfs guys:


 and I don't see a reply "yep, this is btrfs-progs bug" :-)


 Karel Zak  <kzak@xxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>