[PATCH] xfsprogs: allow using libblkid instead of libdisk
Christoph Hellwig
hch at infradead.org
Wed Oct 7 15:14:51 CDT 2009
On Wed, Oct 07, 2009 at 01:52:47PM -0500, Eric Sandeen wrote:
> Christoph Hellwig wrote:
>> Add a new --enable-blkid switch to use libblkid from util-linux to detect
>> the device geometry and check for existing partitions or filesystem on a
>> device. Note that this requires the latest blkid from util-linux-ng git
>> for the topology calls, odler ones won't work. If I had a little more
>> autoconf fu we might be able to detect a too early one, but right now it
>> just fails if it's too old and --enable-blkid is specified.
>
> Here's some autoconf fu to check for blkid topo support; this changes it to
> default to using blkid, optionally disable-able, and disables it automatically
> if the topo stuff isn't found (I think ;)
Thanks, I've folded it into my patch.
Btw, something I forgot to ask with the original patch: Does anyone
have a use for the fstype binary that doesn't actually get installed?
It would be a lot cleaner to just nuke it instead of building it
conditionally.
More information about the xfs
mailing list