[Top] [All Lists]

Re: Small change for mkfs.xfs?

To: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Subject: Re: Small change for mkfs.xfs?
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sun, 28 Feb 2010 16:37:32 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1002270628120.17433@xxxxxxxxxxxxxxxx>
References: <alpine.DEB.2.00.1002270628120.17433@xxxxxxxxxxxxxxxx>
User-agent: Thunderbird (Macintosh/20090812)
Justin Piszcz wrote:
> 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...

> Justin.
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>