[PATCH V2] xfstests: routine to create scratch of certain size
Eric Sandeen
sandeen at sandeen.net
Tue Feb 2 20:49:23 CST 2010
Eric Sandeen wrote:
> This is needed for later enospc tests to be generic
>
> Signed-off-by: Eric Sandeen <sandeen at sandeen.net>
> ---
>
> V2: Address Christoph's comment about use of MKFS_OPTIONS;
> just do it like the other geom helper and explicitly -set-
> MKFS_OPTIONS for scratch, to set the size, then just call
> _scratch_mkfs
>
> (this would override any global MKFS_OPTIONS setting, but
> I think that's ok for now, and not sure how these options might
> interact w/ previously set MKFS_OPTIONS anyway)
Scratch that, I'm not being diligent enough and didn't test
this :/ (yay for "simple" changes)
mke2fs takes the size arg at the end, after the device, so
we cannot just set up MKFS_OPTIONS
Sorry for the noise.
-Eric (who will try to be more dilient now...)
More information about the xfs
mailing list