On Feb 14, Jin Chen wrote:
> Edward Muller wrote:
>
> > On Wednesday 14 February 2001 12:06 pm, Sridharan Subramanian wrote:
> > > Hi,
> > >
> > > Can anyone please explain to me what the 3 ramdisk images - namely init,
> > > root and usr - are for?
> >
> > They are not ramdisks. They are cramfs images, that get mounted as cramfs
> > filesystems. And depending on which version of what distro you are using the
> > init cramfs fs get's cp -a 'd into a ramfs drive (not a ramdisk mind you).
>
> Can you tell us the difference between ramdisk and cramfs and their meaning?
> How to installe a file which ends with .cramfs?
Mabe I can do a better job on this one.
ramfs is a new file system that is similar to the current ramdisk. ramfs
differs from ramdisk in that data space is not preallocated. ramfs will
dynamically allocate and deallocate memory as files are created and deleted. A
16MB ramfs will only use 16MB of RAM when there are 16MB of files in it.
The cramfs is a compressed ram file system. The files are individually
compressed within the file system (using zlib, I believe). The file are
decompress into RAM when they are opened. cramfs is a read-only file system
best suited to be burned into ROM or Flash. And being a file system, you can
mount it and access it directly like any other file syste,
You can 'cram' more file into your ROM or Flash using cramfs then you would
normally be able to. (pun intended ;)
Stephen L Johnson <sjohnson@monsters.org>
Received on Wed Feb 14 12:42:14 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:53 EDT