[ale] Replacing HD with a CF card for firewall box

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon May 14 10:34:36 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm interested in the answers to most of these questions myself.  but
i can only help out concretely with one of them.

On Mon 2007-05-14 10:28:32 -0400, Chris Woodfield wrote:

> 2. What about the directory structure - would the system get angry
> if certain directories (/var/run, /var/lock, etc) were not present
> at boot time? Could a solution here be to specify an image file as
> the mount "source" for the ramdisk, or would it be necessary to dd
> in an image file at mount time?

if it's a stock debian install, you can set up the following variables
in /etc/default/tmpfs:

RAMRUN=yes
RAMLOCK=yes

they'll be read by /etc/init.d/mountkernfs.sh, which should
automatically set up /var/run and /var/lock properly.

hth,

              --dkg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFGSHN5iXTlFKVLY2URApSGAKCxCURGRmFuyj9POrwrjbQleCyE0gCcC8Nq
OJ0vcWvwT9yUDArz1sFoFSQ=
=+P9c
-----END PGP SIGNATURE-----



More information about the Ale mailing list