On Tuesday 24 April 2001 00:22, Yunus Shaikh wrote:
> Hello  all
>
> has anybody worked with compressed file system that is the root filesystem
> compressed and stored and when the machine boots it uncompresses the root
> file system in ram  any pointer would be appreciated

If you need a relatively large ( a couple of MB) filesystem in ram, you could 
do it in conjunction with  and initrd filesystem. There's a HOWTO in this 
effect. Look it up. What you basically do is use lilo to specify the 
compressed initrd filesystem to use. This is a small filesystem with all the 
stuff you need to bring up the actual filesystem. I think the file /linuxrc 
is run from this filesystem prior to mounting the actual filesystem. I also 
think you could mount the actual meduim, (maybe your hard-disk), extract the 
compressed filesystem into a ramdisk, and then instruct the kernel to mount 
the ramdisk as root. How to go about doing it  - check the HOWTO.

-Faisal.

-- 
-====----====----====----====----====----====----====---
     ____
    /    \
"@'| '..` |`@"            L I N U X
/__| \__/ |__\    May the source be with you
    \__U_/

--------------------------------------------------------
DON'T PANIC!
                  -The Hitchhiker's Guide To The Galaxy.
-====----====----====----====----====----====----====---



----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to