Re: storing a Filesystem in a file

From: Matti Aarnio
Date: Fri Jul 30 2004 - 21:07:26 EST


On Fri, Jul 30, 2004 at 06:46:26PM -0700, sankarshana rao wrote:
> Hi,
> I have a requirement to create a file system in a file
> . Is this possible???

Like previous responder said, copying a device content (partition,
or whole device full) to a file is trivialish.

If you want to create a filesystem (like e.g. ramdisk-images are
created when builing kernel installation), then you do need a device
called 'loop'. See 'man losetup'.

> thx in advance...

/Matti
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/