[lkml]   [2001]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectMounting a in-ROM filesystem efficiently


I'm looking for a way to put a filesystem into ROM.
Seems pretty trivial, isn't it ?

My understanding is (the way initrd does, and the way I do as of today)
* create a RAMDISK
* loads the data into ramdisk
* mount the ramdisk

problem is that I don't want to waste the RAM as the data in the ROM is
already in the address space. (it's an embedded system, btw)

Speed is not an issue here. ROM access might be slower than RAM, it will
always be so much quicker than a disk access. (wrong?)

Ideally, i would give address/length of the fs in ROM to a function, and I
would get a ramdisk configured to read its data exactly there, and not in

Any hint ?

I've tried to look in the different options from mainstream kernels and
embedded-oriented kernels whithout success.

ps : i'm subscribed to lkml, no need to cc:

Thomas Capricelli <>, kvim, zetalinux-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:14    [W:0.130 / U:1.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site