is there an install packages file list?

2007-02-14 Thread Bryan Irvine

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..?

--Bryan



Re: is there an install packages file list?

2007-02-14 Thread Nick !

On 2/14/07, Bryan Irvine [EMAIL PROTECTED] 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're just .tgz files. Just
$tar -tzvf *40.tgz


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..?


This has come up before lots. Trying searching the archives at
http://marc.theaimsgroup.com?l=openbsd-misc

and good luck
-Nick



Re: is there an install packages file list?

2007-02-14 Thread RW
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:
# sizeoffset  fstype [fsize bsize  cpg]
  a: 60.0M  0.0M  4.2BSD   2048 16384  122 # Cyl
0*-   121
  b:  9.8M 60.0Mswap   # 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.0M169.8M  4.2BSD   2048 16384  328 # Cyl   345
-   852
  f: 68.9M419.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 SizeUsed   Avail Capacity  Mounted on
/dev/wd0a 59.0M   27.3M   28.8M49%/
/dev/wd0e  245M163M   69.6M70%/usr
/dev/wd0d 98.3M6.6M   86.8M 7%/var

Any questions?

Rod/

From the land down under: Australia.
Do we look umop apisdn from up over?



Re: is there an install packages file list?

2007-02-14 Thread Greg Thomas

On 2/14/07, Bryan Irvine [EMAIL PROTECTED] 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..?



After reading many posts on misc about the reliability of CF and since
1 GB compact flash is cheap these days I didn't bother with any of the
above and just did an install picking the sets that I needed, avoiding
x*, comp, and game:

[EMAIL PROTECTED]:/home/ethant# df -k
Filesystem  1K-blocks  Used Avail Capacity  Mounted on
/dev/wd0a  74254050650219891272%/
mfs:24827   15855 1 15062 0%/tmp

[EMAIL PROTECTED]:/home/ethant# cat /etc/fstab
/dev/wd0a / ffs rw,noatime 1 1
swap /tmp mfs rw,-s=32768,nodev,nosuid,noexec 0 0

Nothing fancy.  noatime is the only thing different from a normal
install for me other than the fact that I split the filesystem into /,
/usr, /tmp, /var, and /home on larger disks.

Greg



Re: is there an install packages file list?

2007-02-14 Thread Greg Thomas

On 2/14/07, Greg Thomas [EMAIL PROTECTED] wrote:

On 2/14/07, Bryan Irvine [EMAIL PROTECTED] 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..?


After reading many posts on misc about the reliability of CF and since
1 GB compact flash is cheap these days I didn't bother with any of the
above and just did an install picking the sets that I needed, avoiding
x*, comp, and game:

[EMAIL PROTECTED]:/home/ethant# df -k
Filesystem  1K-blocks  Used Avail Capacity  Mounted on
/dev/wd0a  74254050650219891272%/
mfs:24827   15855 1 15062 0%/tmp

[EMAIL PROTECTED]:/home/ethant# cat /etc/fstab
/dev/wd0a / ffs rw,noatime 1 1
swap /tmp mfs rw,-s=32768,nodev,nosuid,noexec 0 0

Nothing fancy.  noatime is the only thing different from a normal
install for me other than the fact that I split the filesystem into /,
/usr, /tmp, /var, and /home on larger disks.



Oh, yeah:

[EMAIL PROTECTED]:/var# du -hs www
82.1M   www

And I don't know why my /usr is so much larger than Rod's:

[EMAIL PROTECTED]:/# sudo du -hs /usr
369M/usr

Greg