Small change for mkfs.xfs?
Hi,
# 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?
Justin.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 8 lines · Justin Piszcz
Hi,
# 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 going forward...
-Eric
Quoted 7 lines
Justin.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs