On Fri, Dec 01, 2006 at 02:16:11PM +0100, Chris C. wrote: > Hi, > > we're going to build a simple Wlan between a friends apartment and my house. > We decided to run obsd 4.0 as we want to use ipsec for encryption. > One of these systems will have to boot from a CF Card (or any other really > silent media if you have suggestions). Since flash media only has limited > write cycles and we will need to modify some files from time to time (Port > forwards in pf.conf, some files in /var and so on..., logging isn't that > important) we want to use a ramdisk (or tmpfs, don't know the exact name) and > then sync the data to disk every hour or so. Is there a Howto for booting > openbsd from a CF-Card (using an IDE adapter) and then mounting a ramdisk > over /var? (I think we could just symlink files in /etc which we will need to > modify to the ramdisk).
Perhaps there is one, but: RTF[ine]M mfs(8) # Have a look at -P A mfs line for fstab /tmp: swap /tmp mfs rw,-s=2048000,noexec,noatime,nosuid,nodev 0 0 # ^-- Might be somewhat to big for a router/fw ;) Booting from an IDE adapter means booting an IDE-Disk. Should "just work(tm)". > > -- > Greetings > Chris Regrads, ahb