Doth quoth the DaveM

OpenSolaris BE names equivalent to build numbers

Thursday Sep 18, 2008

I recently read a thread on one of the OpenSolaris mailing lists about how BE (boot environment) names don't reflect anything about the OpenSolaris build it contains. It occurred to me that since pkg image-update finds a BE named opensolaris-N and then creates a new BE named opensolaris-N+1, you could rename your current BE opensolaris-buildnumber and pkg image-update would "just do it". This only works if you upgrade at every build. If you don't, the number gets off, but you can fix that by renaming BEs or by creating BEs for the missing builds with the appropriate names.

Having done all this, my system shows this for BEs:

BE             Active Mountpoint Space  Policy Created          
--             ------ ---------- -----  ------ -------          
opensolaris-96 -      -          37.92M static 2008-09-05 10:14 
opensolaris-97 -      -          18.31M static 2008-09-11 15:59 
opensolaris-98 NR     /          13.78G static 2008-09-18 11:36 
    

[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

I do the same thing! :)
If only the updates were more reliable.

Posted by Abraham Tehrani on September 18, 2008 at 06:14 PM CDT #

I've found the updates I've installed to be reliable. Are you talking about the updates, or do you have problems getting the updates to your machine?

Posted by David Marquardt on September 19, 2008 at 08:56 AM CDT #

Post a Comment:
Comments are closed for this entry.