Messages in this thread |  | | Subject | ramfs as root filesystem | From | Gianni Trevisti <> | Date | 07 Feb 2003 17:08:32 +0100 |
| |
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/
|  |