lkml.org 
[lkml]   [2003]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectramfs as root filesystem
From
Date
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 :-)


-
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/

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