Wolfgang Denk schrieb:
In message <[EMAIL PROTECTED]> you wrote:

Hmmm, I don't know if I understand this right, however, it is possible (at least on my machine it seems to work) to copy a filesystem image,


What sort of filesystem image? ext2 or so, right? But then this is an
ext2 filesystem image, not a ramfs image.


say the file varfs, to
/dev/ram (yes, this isn't a ramfs) and mount it afterwords like this:

dd if=varfs of=/dev/ram
mount /dev/ram /var


What you're using here is a standard ramdisk. This has nothing to  do
with a ramfs filesystem. You cannot build a "ramfs" filesystem image;
you  can  just  populate  the filesystem itself. You cannot copy this
"filesystem" to any storage device (except on a file by  file  base).
It just lives in the VFS cache.

Ah, I see. Thought I was wrong. But then, what is the purpose of ramfs?

 thanks
   cris


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to