public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ramfs as root filesystem
@ 2003-02-07 16:08 Gianni Trevisti
  0 siblings, 0 replies; only message in thread
From: Gianni Trevisti @ 2003-02-07 16:08 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I'm trying to mount ramfs as rootdisk in a 2.4.19 based SetTopBox:
- the filesystem is loaded using etherboot
- then using linuxrc I mount a ramfs in /ramfs, expand the STB
filesystem in it and then I should use /ramfs as my root filesystem.
I think I should modify the mount_root() function in order to
sys_chdir("/ramfs") but in that case I'm not able to unmount the initrd
ext2 filesystem, and so I loose a lot of memory!

Using kernel 2.4.0 there was a patch to perform this task, but it is not
apply anymore to the current kernel tree.

Thanks in advance for any help :-)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-07 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-07 16:08 ramfs as root filesystem Gianni Trevisti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox