xfs
[Top] [All Lists]

Re: mkfs.xfs destoroys sun disklabel

To: Matsuo Hiroshi <matsuo@xxxxxxxxxxxxxxxxxx>
Subject: Re: mkfs.xfs destoroys sun disklabel
From: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 31 Oct 2002 13:41:34 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20021031121318C.matsuo@xxxxxxxxxxxxxxxxxx>
References: <20021031121318C.matsuo@xxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Thu, Oct 31, 2002 at 12:13:18PM +0900, Matsuo Hiroshi wrote:
> Hi,

hi there.

> I have linux-2.4.19 with xfs-1.2pre2 running on sparc (sun4m).
> I've found a problem about mkfx.xfs included in xfsprogs-2.3.5. 
> 
> If harddisk has only one partition, mkfx.xfs destoroy its disklabel.
> ...
> # mkfs.xfs -f /dev/sdb1
> meta-data=/dev/sdb1              isize=256    agcount=8, agsize=64909

The -f option means "force" (as in "force" an overwrite, even if
a filesystem/disk label signature was detected).

I'd be interested to hear whether this correctly detects the Sun
label without -f though (there's code in there to detect it, but
I don't think I ever tested it on Sun labelled disks).

cheers.

-- 
Nathan


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