[PATCH] mkfs: don't warn about topology when mkfsing a file
Christoph Hellwig
hch at infradead.org
Tue Jan 19 03:09:54 CST 2010
On Mon, Jan 18, 2010 at 01:21:53PM -0600, Eric Sandeen wrote:
> Some tests were failing for me like:
>
> QA output created by 206
> === truncate file ===
> === mkfs.xfs ===
> +warning: unable to probe device toplology for device /mnt/test/fsfile.21615
> ...
>
> I thought about filtering the tests, but ...
>
> It seems that we shouldn't even be trying to get topology for a
> plain file, should we? And then we won't warn about failure.
Looks good to me. Would be even nicer if libblkid handled that case,
but let's fix it where we can easily do it.
Signed-off-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list