On Wed, 14 Feb 2007 17:00:55 -0800, Bryan Irvine wrote: >I'm going to be installing on a soekris box (probably on flash media), >and I'm trying to figure out what the bare minimum I need to install. > >Is there somewhere I can see what files are included in the >base40.tgz, etc40.tgz etc... so I know what don't fill up the flash >card at the start? > >They are going to be a pf firewall, and ipsec vpn (with one of them >running poptop for roadwarriors). > >Any pitfalls I should watch out for on this? fstab options etc..? >
Don't even consider reducing the base install. There is no reason to. On a Soekris 4801 here I have been running OpenBSD 3.9 and 4.0 for more that a year (3.9 beta was running before release) on a Apacer PhotoSteno CF card with verbose spamd logging (until a month ago when I moved spamd onto our new MTA). I do pxe boot installs and I leave out all the X sets and the comp set. Xis not needed for anything on that host and compiling is best done on a build host we keep here with lots more RAM and grunt in the CPU. The CF is 512MB but any new boxes will have 1024MB simply because they are now cheaper than the 512 was when I bought it and also the wear-levelling is better on larger CFs. Pretty soon we won't see smaller cards easily bought. I don't run httpd or use sendmail for anything except the daily/weekly/monthly/security reports but it is more work trimming stuff than the benefit of smaller filesystems when I'm not short of space anyway. Here is the end of disklabel followed by mount and df -h. Note that I have an unused 68.9 MB partition and that /usr has ALL the manpages loaded and space for any packages I may need to add. Swap is never used. I just tossed a bit in because (1) it stops the system whinging about it not being there and (2) I don't need the space, as you can see. 16 partitions: # size offset fstype [fsize bsize cpg] a: 60.0M 0.0M 4.2BSD 2048 16384 122 # Cyl 0*- 121 b: 9.8M 60.0M swap # Cyl 122 - 141 c: 488.7M 0.0M unused 0 0 # Cyl 0 - 992 d: 99.9M 69.9M 4.2BSD 2048 16384 204 # Cyl 142 - 344 e: 250.0M 169.8M 4.2BSD 2048 16384 328 # Cyl 345 - 852 f: 68.9M 419.8M 4.2BSD 2048 16384 16 # Cyl 853 - 992 [puffy:/var/log] $ mount /dev/wd0a on / type ffs (local, noatime, softdep) /dev/wd0e on /usr type ffs (local, noatime, nodev, read-only, softdep) /dev/wd0d on /var type ffs (local, noatime, nodev, nosuid, softdep) [puffy:/var/log] $ df -h Filesystem Size Used Avail Capacity Mounted on /dev/wd0a 59.0M 27.3M 28.8M 49% / /dev/wd0e 245M 163M 69.6M 70% /usr /dev/wd0d 98.3M 6.6M 86.8M 7% /var Any questions? Rod/ >From the land "down under": Australia. Do we look <umop apisdn> from up over?