mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* storing a Filesystem in a file
@ 2004-07-31  1:46 sankarshana rao
  2004-07-31  1:49 ` Gard Spreemann
  2004-07-31  2:04 ` Matti Aarnio
  0 siblings, 2 replies; 3+ messages in thread
From: sankarshana rao @ 2004-07-31  1:46 UTC (permalink / raw)
  To: linux-kernel

Hi,
I have a requirement to create a file system in a file
. Is this possible???

thx in advance...


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: storing a Filesystem in a file
  2004-07-31  1:46 storing a Filesystem in a file sankarshana rao
@ 2004-07-31  1:49 ` Gard Spreemann
  2004-07-31  2:04 ` Matti Aarnio
  1 sibling, 0 replies; 3+ messages in thread
From: Gard Spreemann @ 2004-07-31  1:49 UTC (permalink / raw)
  To: sankarshana rao; +Cc: linux-kernel

On Saturday 31 July 2004 03:46, you wrote:
> Hi,
> I have a requirement to create a file system in a file
> . Is this possible???
>
> thx in advance...

The subject and body seem to conflict a bit.
Answering the subject: Yes. Check out the dd command. Example: 
dd if=/dev/cdrom of=file.iso

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: storing a Filesystem in a file
  2004-07-31  1:46 storing a Filesystem in a file sankarshana rao
  2004-07-31  1:49 ` Gard Spreemann
@ 2004-07-31  2:04 ` Matti Aarnio
  1 sibling, 0 replies; 3+ messages in thread
From: Matti Aarnio @ 2004-07-31  2:04 UTC (permalink / raw)
  To: sankarshana rao; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-31  2:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-31  1:46 storing a Filesystem in a file sankarshana rao
2004-07-31  1:49 ` Gard Spreemann
2004-07-31  2:04 ` Matti Aarnio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®