[rescue] i'm in love

David Stipp dstipp at coolhack.net
Thu Apr 28 22:55:00 CDT 2005


On Thu, Apr 28, 2005 at 04:34:59PM -0500, Bill Bradford wrote:
> On Thu, Apr 28, 2005 at 05:22:18PM -0400, Phil Stracchino wrote:
> > Was this sufficient to get rid of the almost-4GB of Gnome bloatware?

Instead of SUNWCall, I suggest you use SUNWCreq, or one of the other
small(er) clusters.

> > What was your final install size?
> root at bradford:/> df -h
> Filesystem             size   used  avail capacity  Mounted on
> /dev/dsk/c0t0d0s0       32G   2.5G    29G     8%    /

defiant:~% df -hl
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d0         992M   415M   518M    45%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   1.7G   816K   1.7G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
fd                       0K     0K     0K     0%    /dev/fd
/dev/md/dsk/d3         992M   134M   799M    15%    /var
swap                   256M    56K   256M     1%    /tmp
swap                   1.7G    40K   1.7G     1%    /var/run
/dev/md/dsk/d41        1.9G   1.3G   630M    68%    /opt
/dev/md/dsk/d40         15G   234M    14G     2%    /export/home
/export/home/dstipp     15G   234M    14G     2%    /home/dstipp

I got my install down to 415 meg without even trying. And there's still
a lot of junk that I can nuke.

One thing that I did find handy to do was to use netbsd pkgsrc. It's
working out *really* well.  Basically, install a minimal Solaris
(reduced core or something else, then use pkgsrc on top.)
Pkgsrc is in /opt on this system.

> root at bradford:/> uname -a
> SunOS bradford 5.10.1 snv_10 sun4u sparc SUNW,Ultra-60

defiant:~% uname -a
SunOS defiant 5.10 Generic sun4u sparc SUNW,UltraSPARC-IIi-cEngine

w.r.t. SMF, it's pretty easy to write your own framework files. I've
already done a few of my own for apache2, mysql, dovecot, and something
else I forget. Just define the dependencies of the service, what command
to run, and it pretty much works.

David

-- 
David Stipp <dstipp at coolhack.net>



More information about the rescue mailing list