make /var/lib/dpkg a ramdisk :(

Thomas Lange lange at informatik.uni-koeln.de
Wed May 19 03:17:42 CEST 2010


>>>>> On Tue, 18 May 2010 17:28:38 +0200, Juergen Kahnert <Juergen.Kahnert at DESY.de> said:

    > any idea why this:
    >     # make /var/lib/dpkg a ramdisk
    >     mkramdisk $target/var/lib/dpkg
    > was added into /usr/lib/fai/subroutines?
This makes the installation much faster (on machine which have enough
memory).

    > Not every device being installed with FAI has so much memory...
You can write a hook and redefine mkramdisk as a noop subroutine.  A
future version of FAI will have a variable, which holds a list of all
directories that will be put into a ramdisk. If this list is empty, no
ramdisk will be created. But it's not yet implemented.

    > Filling up the memory also prevents the error.log being written, which
    > causes a reboot (no errors found) running into a non-working system.

-- 
regards Thomas


More information about the linux-fai-devel mailing list