List Info

Thread: Re: (Open-)Solaris on Soekris




Re: (Open-)Solaris on Soekris
country flaguser name
United States
2007-12-16 18:51:15
William Wanders wrote:
> ...
> The feature wishlist is growing:
>
> ...
> - ipf/ipnat on sfe0/ath0/ath1
>   

I'm willing to help you out here...

Have you thought of building a single large image/executable
that
determines what it does by the name in argv[0]?

Darren

_______________________________________________
appliances-discuss mailing list
appliances-discussopensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss

Re: (Open-)Solaris on Soekris
user name
2007-12-17 10:35:53
On Mon, Dec 17, 2007 at 11:51:15AM +1100, Darren Reed
wrote:
> William Wanders wrote:
> >...
> >The feature wishlist is growing:
> >
> >...
> >- ipf/ipnat on sfe0/ath0/ath1
> >  
> 
> I'm willing to help you out here...
I finally fitted it onto the flash after freeing up another
512k.
 
> Have you thought of building a single large
image/executable that
> determines what it does by the name in argv[0]?
You have something similar like BSD's
"crunchgen/ide" tools in mind?

CRUNCHGEN(1)            FreeBSD General Commands Manual     
     CRUNCHGEN(1)

NAME
     crunchgen -- generates build environment for a crunched
binary

SYNOPSIS
     crunchgen [-foql] [-h makefile-header-name] [-m
makefile-name]
               [-p obj-prefix] [-c c-file-name] [-e
exec-file-name]
               [conf-file]

DESCRIPTION
     A crunched binary is a program made up of many other
programs linked
     together into a single executable.  The crunched binary
main() function
     determines which component program to run by the
contents of argv[0].
     The main reason to crunch programs together is for
fitting as many pro-
     grams as possible onto an installation or system
recovery floppy.

Would be really nice if something like this existed for
OpenSolaris.

However the current /bin (0.8mb), /usr/bin (5mb) and
/usr/sbin (3mb) seem
to be quite small already. The kernel (14mb) and library
directories
/lib (10mb) and /usr/lib (10mb) take up most of the space at
this time.
The /platform (5.6mb) directory is also quite large because
of the 4.5mb
boot_archive file.

If compressed kernel modules would also be useable after
mounting root
it could save about 4.5mb (6mb if genunix could be
compressed also .

William.
_______________________________________________
appliances-discuss mailing list
appliances-discussopensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )