How small can Solaris go

I've been playing around lately to see how small of a Solaris image I can get that will boot to a shell prompt... It turns out, it can get pretty small.. And it boots to the prompt in ~ 1 second... Although there's not a lot you can do with it :-)
SunOS Release 5.11 Version onnv-3.3-mrj 32-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
WARNING: Last shutdown is later than time on time-of-day chip; check date.
strplumb: failed to initialize drv/dld
# df -lk
Filesystem            kbytes    used   avail capacity  Mounted on
/ramdisk:a             38255   15146   19284    44%    /
/devices                   0       0       0     0%    /devices
/dev                       0       0       0     0%    /dev
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 1768156       0 1768156     0%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
sharefs                    0       0       0     0%    /etc/dfs/sharetab
# du -sk \*
31      boot
952     dev
1       devices
67      etc
6087    kernel
4849    lib
8       lost+found
1931    platform
11277   proc
122     sbin
1441    system
1       tmp
59      usr
3       var
# 
Comments:

Fun stuff, especially from a jeos perspective -- any commentary/detail on your setup and procedure, etc., would be appreciated by those of us wishing to play along.

Thanks,
Sean

Posted by sean on March 12, 2009 at 04:46 PM EDT #

So OpenSolaris can have the opportunity go to the embedded OS market?

Posted by org on March 12, 2009 at 09:04 PM EDT #

With enough enthusiasm and work, any OS "can have the opportunity" to go embedded; Solaris is no exception. He would make for a fine embedded OS.

Posted by UX-admin on March 12, 2009 at 09:18 PM EDT #

It would be really nice if this could be the basis of an 'appliance creator' project.

Is there enough there to be able (after a PXE boot) to mount NFS or iSCSI and switch (or layer) root and continue startup from there?

Can it run swapless at that stage?

James

Posted by James Mansion on March 12, 2009 at 10:45 PM EDT #

And in a memory usage how light can solaris go ?

Posted by Benoit on March 15, 2009 at 01:58 PM EDT #

Post a Comment:
Comments are closed for this entry.
About

mrj

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today