Justin Piszcz wrote:
> # mkfs.xfs /dev/md0
> mkfs.xfs: /dev/md0 appears to contain an existing filesystem (ext3).
> mkfs.xfs: Use the -f option to force overwrite.
> This occurs if the filesystem is ext4. Need to differentiate between
> the two FS if possible?
Why, you're just overwriting it anyway ;)
FWIW, recent xfsprogs built against recent libblkid will detect ext4 correctly.
libdisk could be patched if anyone really cared enough but that's deprecated
> xfs mailing list