-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Aug 21, 2007 at 09:04:29AM -0500, Christopher Reder wrote: > <snip> > > >hmmh, are you looking for the --pad parameter of mkfs.jffs2? > > Nah, I can build the jffs2 image fine. The pad will only make the file > bigger, but at least when I issue 'df', it knows that the filesystem is on a > 256 mb partition and can therefore, use all of that even though the jffs2 > file itself is only 8 mb. > > When I build a ext2 filesystem, it is around 10 meg, and when I do a 'df', > it shows the it believes the whole partition is right around that 10 meg > value. That is expected behaviour, the size of an ext[23] filesystem is stored in its superblock. > I can make it have additional blocks, but then the file just gets > bigger and bigger (and I only have a 16MB SDRAM to load it from). Either mke2fs directly on the MTD device, or use resize2fs to enlarge the filesystem to fill the full MTD device. Or make sure the large image is a sparse file, then it needs less disk space. > >maybe you will get more answers on the linux-mtd mailing list. This is > >where the mtd experts hang out. > > Thanks for the suggestion. I may need to direct the question over there. > Just thought that someone else may be using ext2 on a large flash and knows > the correct parameter to set it up correctly (as I apparently do not. :) ) It's only now that I understand what you actually want. BTW, be careful with ext2 on flash, you really want it mounted noatime,nodiratime or otherwise every file access will update the atime information and cause needles wear on the flash block that contains the atime for that particular file. Erik - -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGyvkt/PlVHJtIto0RAryZAJwIurQmPc0ISUsEKm8ns3ly3l3ZigCghN2s 9NwRAoT3dnLxIL1QnWX+Gcs= =NQTE -----END PGP SIGNATURE----- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ