[parted-devel] [PATCH] Detect Ext4 (Parted Alioth #188)
Bryn M. Reeves
bmr at redhat.com
Fri Jan 9 15:15:38 UTC 2009
Jim Meyering wrote:
> Or use a file on an xfs file system as the backing store.
> Here's a 9MB file with apparent size of over 5 exabytes:
>
> $ dd if=/dev/zero of=big bs=1M count=1 seek=5T
> $ du -h --app big
> 5.1E big
>
> Using file systems like ext4 and xfs is fine in parted's test
> suite, as long as you're careful to diagnose "missing support"
> failures as "skipped" (not failing) tests.
>
> The advantage of doing it this way, if it works, is that the test
> doesn't have to be run as root.
I thought since we were talking about loopback devices that this would
need root access anyway, but XFS is a worthy alternative too that I'd
not thought of and should be workable on most distros. I guess whichever
is easier for the test at hand really.
Cheers,
Bryn.
More information about the parted-devel
mailing list