On Sunday 25 October 2009 19:10:20 Abdullah Sendul wrote:
> Hi,
> 
> we are having a couple of openbsd servers, of which, the content is static.
> 
> I would like to identify all the files needed for this system to run,
> and then move it to a flash disk to minimise the size of the
> distribution
> 
> find -mtime -atime is giving me some ideas, but is this the right
> approach to remove the rest of the files not used on the system.
> 
> what do you suggest?
> 
> thanks
> 
> \sendul

You could remove the games I suppose (/usr/games) and save probably
less than 2M--2 Meg--of space.

Man pages are popular to remove, as are entries in /sys for other
arches than your own.  But I've been pestered at least four times
now, by people "trying to save space" that shot themselves by this
and broke things--and didn't know how to fix it.

All of OpenBSD fits into a very small partition.  Are you saying
that you really don't have a flash drive (or whatever) of a gig 
in size?  Of course I don't know what you want to do with the
system once its runing, but the more complex it is, the smaller
OpenBSD is going to be in comparison to that.

Lastly if you do build a little shrip frankensystem, asking for
help here isn't going to get a lot of sympathy.  You'll be on
your own.

--STeve Andre'

Reply via email to