xfs
[Top] [All Lists]

Re: How can I build a loopback filesystem?

To: ian.nelson@xxxxxxxxxxxx
Subject: Re: How can I build a loopback filesystem?
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 04 Apr 2000 11:40:21 -0500
Cc: "linux-xfs@xxxxxxxxxxx" <linux-xfs@xxxxxxxxxxx>
In-reply-to: Message from "Ian S. Nelson" <ian.nelson@echostar.com> of "Tue, 04 Apr 2000 10:23:04 MDT." <38EA16E8.6580598@echostar.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
> 
> Okay, I'm stupid.  I've been trying to build an XFS loopback filesystem
> to do some playing with, any hints?
> 
> I did it like I do it for all the others, I dd a blank file of about
> 100M then I try to build a filesystem in it.  the xfs mkfs utility
> doesn't want to detect the size and I haven't been able to get the size
> parameters to work.
> 
> Thanks,
> Ian Nelson


Try something like this:

 mkfs_xfs -d file=1,name=/tmp/fred,size=100m

The options on mkfs are somewhat arcane!

Steve



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