From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fed1mtao03.cox.net ([68.6.19.242]) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 17tuj8-0001XR-00 for ; Tue, 24 Sep 2002 19:48:06 +0100 Subject: Re: Interest in DOC and YAFFS? --> YAFFS bootloading From: Russ Dill To: Marc Singer Cc: Kenneth Johansson , mtd In-Reply-To: <20020924183704.GB3074@buici.com> References: <200209231220.12682.ayalon@tadlys.com> <20020924014556.6EC8B43F2@tiger.actrix.co.nz> <20020924034410.GA18915@buici.com> <20020924040150.A1499145FF@dragon.actrix.co.nz> <20020924044434.GA23917@buici.com> <1032854017.13283.3.camel@russ> <20020924165351.GA2533@buici.com> <1032886743.13283.6.camel@russ> <20020924171419.GA2733@buici.com> <1032889498.1600.22.camel@spawn> <20020924183704.GB3074@buici.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: 24 Sep 2002 11:47:43 -0700 Message-Id: <1032893263.21552.15.camel@timmy> Mime-Version: 1.0 Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: > > cramfs is a read only filesystem not an archive format like zip or tar > > so you do not have to copy the data into another filesystem to use it. > > You use cramfs instead of initrd+filesystem. > > That isn't really the issue here. We're talking about using gzip'd > ext2 versus cramfs to do initrd. The thing is that in my tests, > cramfs images are larger than compressed ext2 images. Not what I > would expect. if you are talking about an initrd, then the features of cramfs aren't quite as usefull, as the whole thing will be loaded into ram anyway. On the other side: A cramfs will always be exactly as small as it needs to be, no guessing on an image size. cramfs is created by population, not by making an image, formatting it, mounting it loopback, and then copying files. incedentally, I have a copy of mkcramfs with device table support (as seen in mkfs.jffs2) as well as permission squashing, so that a cramfs image can be made withoutt root (complete with suid root programs, and /dev entries)