Re: CRAMFS on Flash

From: Jörn Engel (joern@wohnheim.fh-wedel.de)
Date: Mon Feb 17 2003 - 08:05:41 EST


On Mon, 17 February 2003 12:25:26 -0000, Nandakumar NarayanaSwamy wrote:
>
> 1) Where to create the mtd partitions for the file system in
> flash? First i just want to create a simple CRAMFS with some
> binaries and executables and then mount it using mount command i.e
> like
> mount -t cramfs /dev/mtdblock0 /home

Several options:
- Create a custom mapping driver with hard coded partitions, like most
  in drivers/mtd/maps.
- Use a partition table parser and put the partition table into flash.
- Look at the documentation to cmdline.c or browse through the mtd
  archives. (not sure, haven't looked at it myself yet)

Jörn

-- 
The competent programmer is fully aware of the strictly limited size of
his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the plague. 
-- Edsger W. Dijkstra
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:17 EST