<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Spen's Notes</title>
	<atom:link href="http://spensnotes.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://spensnotes.wordpress.com</link>
	<description>My stuff</description>
	<lastBuildDate>Wed, 08 Jul 2009 08:19:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='spensnotes.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Spen's Notes</title>
		<link>http://spensnotes.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://spensnotes.wordpress.com/osd.xml" title="Spen&#039;s Notes" />
	<atom:link rel='hub' href='http://spensnotes.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Mac OS X printer sharing from Panther to Leopard</title>
		<link>http://spensnotes.wordpress.com/2009/07/08/mac-os-x-printer-sharing-from-panther-to-leopard/</link>
		<comments>http://spensnotes.wordpress.com/2009/07/08/mac-os-x-printer-sharing-from-panther-to-leopard/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 08:19:58 +0000</pubDate>
		<dc:creator>spencerharvey</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://spensnotes.wordpress.com/?p=68</guid>
		<description><![CDATA[I recently dusted of my mother-in-law&#8217;s trusty G3 iMac (333MHz) and installed Mac OS X Panther (10.3.9) after acquiring some more RAM. As other computers in the house are Mac laptops, the iMac was a good place to connect the USB printer and share it out for the rest of the network. After sharing the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=68&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently dusted of my mother-in-law&#8217;s trusty G3 iMac (333MHz) and installed Mac OS X Panther (10.3.9) after acquiring some more RAM. As other computers in the house are Mac laptops, the iMac was a good place to connect the USB printer and share it out for the rest of the network.</p>
<p>After sharing the printer on the iMac I could not see the printer in the add printer dialogue on the Macs running 10.5.</p>
<p>A quick google revealed that OS X 10.4 and above uses Bonjour to search for shared printers and 10.2 &#8211; 10.3 uses CUPS. An <a href="http://support.apple.com/kb/HT2275">Apple knowledge base article</a> gives a solution:</p>
<ol>
<li>Open Terminal (located in /Applications/Utilities).</li>
<li>Type or paste this command, followed by Return:<br />
<code>cupsctl BrowseProtocols='"cups dnssd"'</code></li>
</ol>
<p>Voila! The next time you add a printer, you should see printers shared by Mac OS X 10.2 through 10.3.9.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spensnotes.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spensnotes.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spensnotes.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spensnotes.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spensnotes.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spensnotes.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spensnotes.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spensnotes.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spensnotes.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spensnotes.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spensnotes.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spensnotes.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spensnotes.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spensnotes.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=68&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spensnotes.wordpress.com/2009/07/08/mac-os-x-printer-sharing-from-panther-to-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d14fc5056d5cc40caa408fc681264625?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Spencer</media:title>
		</media:content>
	</item>
		<item>
		<title>Sync OS X Address Book with GMail contacts</title>
		<link>http://spensnotes.wordpress.com/2009/05/28/sync-os-x-address-book-with-gmail-contacts/</link>
		<comments>http://spensnotes.wordpress.com/2009/05/28/sync-os-x-address-book-with-gmail-contacts/#comments</comments>
		<pubDate>Thu, 28 May 2009 09:28:35 +0000</pubDate>
		<dc:creator>spencerharvey</dc:creator>
				<category><![CDATA[Productivity]]></category>

		<guid isPermaLink="false">http://spensnotes.wordpress.com/?p=42</guid>
		<description><![CDATA[I have pieced this item together from a few forums on the web, so kudos to those involved. In OS X 10.5, the Address Book application has a &#8220;Synchronize with Google&#8221; option that is only enabled if you have an iPhone or iPod Touch. To use this option regardless requires a few steps to set [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=42&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have pieced this item together from a few forums on the web, so kudos to those involved.</p>
<p>In OS X 10.5, the Address Book application has a &#8220;Synchronize with Google&#8221; option that is only enabled if you have an iPhone or iPod Touch. To use this option regardless requires a few steps to set up a dummy iPod Touch.</p>
<p>First you have to register a dummy iPod with the correct <em>family ID</em> into your <code>com.apple.iPod.plist</code>.</p>
<ol>
<li><code>cd ~/Library/Preferences</code></li>
<li><code>plutil -convert xml1 com.apple.iPod.plist</code></li>
<li><code>vi com.apple.iPod.plist</code> and add a new key for your dummy iPod with the <em>family ID</em> of <strong>10001</strong> (copy the following XML if you don&#8217;t have a com.apple.iPod.plist file). <strong>Note: if you do have an existing iPod you must change the key ID number (twice) for the dummy entry.</strong>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
 &lt;plist version="1.0"&gt;
 &lt;dict&gt;
 	&lt;key&gt;Devices&lt;/key&gt;
 	&lt;dict&gt;
 		&lt;key&gt;000A27001000D03E&lt;/key&gt;
 		&lt;dict&gt;
 			&lt;key&gt;Connected&lt;/key&gt;
 			&lt;date&gt;2009-05-17T06:57:29Z&lt;/date&gt;
 			&lt;key&gt;Device Class&lt;/key&gt;
 			&lt;string&gt;iPod&lt;/string&gt;
 			&lt;key&gt;Family ID&lt;/key&gt;
 			&lt;integer&gt;10001&lt;/integer&gt;
 			&lt;key&gt;Firmware Version&lt;/key&gt;
 			&lt;integer&gt;582&lt;/integer&gt;
 			&lt;key&gt;Firmware Version String&lt;/key&gt;
 			&lt;string&gt;1.1.5&lt;/string&gt;
 			&lt;key&gt;ID&lt;/key&gt;
 			&lt;string&gt;000A27001000D03E&lt;/string&gt;
 			&lt;key&gt;Serial Number&lt;/key&gt;
 			&lt;string&gt;XXXXXXXXXXX&lt;/string&gt;
 			&lt;key&gt;Software Version&lt;/key&gt;
 			&lt;integer&gt;18186240&lt;/integer&gt;
 			&lt;key&gt;Updater Family ID&lt;/key&gt;
 			&lt;integer&gt;128&lt;/integer&gt;
 			&lt;key&gt;Use Count&lt;/key&gt;
 			&lt;integer&gt;14&lt;/integer&gt;
 		&lt;/dict&gt;
 	&lt;/dict&gt;
 	&lt;key&gt;com.apple.PreferenceSync.ExcludeAllSyncKeys&lt;/key&gt;
 	&lt;true/&gt;
 	&lt;key&gt;conn:128:Last Connect&lt;/key&gt;
 	&lt;data&gt;
 	xkCjIQ==
 	&lt;/data&gt;
 &lt;/dict&gt;
 &lt;/plist&gt;</pre>
</li>
<li><code>plutil -convert binary1 com.apple.iPod.plist</code></li>
</ol>
<p>Now open Address Book and enter the preferences. You can now select the option to sync with Google.</p>
<p>To get the Address Book to sync you have to use the iSync menu bar icon (Sync Now). If you have no devices defined in iSync you may have to do the following to enable the Sync Now menu item.</p>
<p><code>sudo defaults write /System/Library/PrivateFrameworks/GoogleContactSync.framework/Resources/ClientDescription Type 'server'</code></p>
<p><code>sudo chmod 644 /System/Library/PrivateFrameworks/GoogleContactSync.framework/Resources/ClientDescription.plist</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spensnotes.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spensnotes.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spensnotes.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spensnotes.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spensnotes.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spensnotes.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spensnotes.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spensnotes.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spensnotes.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spensnotes.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spensnotes.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spensnotes.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spensnotes.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spensnotes.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=42&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spensnotes.wordpress.com/2009/05/28/sync-os-x-address-book-with-gmail-contacts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d14fc5056d5cc40caa408fc681264625?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Spencer</media:title>
		</media:content>
	</item>
		<item>
		<title>Solaris Live Upgrade</title>
		<link>http://spensnotes.wordpress.com/2009/04/09/solaris-live-upgrade/</link>
		<comments>http://spensnotes.wordpress.com/2009/04/09/solaris-live-upgrade/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 14:56:51 +0000</pubDate>
		<dc:creator>spencerharvey</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Upgrade/Patch]]></category>
		<category><![CDATA[live upgrade]]></category>

		<guid isPermaLink="false">http://spensnotes.wordpress.com/?p=32</guid>
		<description><![CDATA[Solaris Live Upgrade allows for the creation of alternate boot environments (ABE) for upgrading or patching without modifying the running (primary, P)BE. Once the upgrade / patching is complete the ABE can be activated. After a restart (not reboot), the system is running on the upgraded BE. If problems are identified the system administrator can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=32&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Solaris Live Upgrade allows for the creation of alternate boot environments (ABE) for upgrading or patching without modifying the running (primary, P)BE. Once the upgrade / patching is complete the ABE can be activated. After a restart (not <code>reboot</code>), the system is running on the upgraded BE. If problems are identified the system administrator can simply re-activate the unmodified BE.</p>
<p>Solaris Live Upgrade documentation is available as part of the <a href="http://docs.sun.com/app/docs/prod/solaris">Solaris documentation set</a>.</p>
<p>Sun have published a few blueprints for using Live Upgrade. A handy one demonstrates how to <a title="Patching Mirrored Systems with the Solaris Live Upgrade Software" href="http://www.sun.com/blueprints/0607/820-2188.html">patch mirrored systems using Live Upgrade</a> (two disk set-up).</p>
<h2>Create Alt Boot Environment</h2>
<p>The following will name the current BE Main_boot and copy this to a BE called Alt_boot on d40 and d50.</p>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">lucreate -c Main_boot -m /:/dev/md/dsk/d40:ufs -m /var:/dev/md/dsk/d50:ufs -n Alt_boot</span>
Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations
Determining types of file systems supported
Validating file system requests
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Analyzing system configuration.
No name for current boot environment.
Current boot environment is named &lt;Main_boot&gt;.
Creating initial configuration for primary boot environment &lt;Main_boot&gt;.
WARNING: The device &lt;/dev/md/dsk/d0&gt; for the root file system mount point &lt;/&gt; is not a physical device.
WARNING: The system boot prom identifies the physical device &lt;/dev/dsk/c1t0d0s0&gt; as the system boot device.
Is the physical device &lt;/dev/dsk/c1t0d0s0&gt; the boot device for the logical device &lt;/dev/md/dsk/d0&gt;? (yes or no) yes
INFORMATION: Assuming the boot device &lt;/dev/dsk/c1t0d0s0&gt; obtained from the system boot prom is the physical boot device for logical device &lt;/dev/md/dsk/d0&gt;.
The device &lt;/dev/dsk/c1t0d0s0&gt; is not a root device for any boot environment.
PBE configuration successful: PBE name &lt;Main_boot&gt; PBE Boot Device &lt;/dev/dsk/c1t0d0s0&gt;.
Comparing source boot environment &lt;Main_boot&gt; file systems with the file
system(s) you specified for the new boot environment. Determining which
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Searching /dev for possible boot environment filesystem devices

Updating system configuration files.
The device &lt;/dev/dsk/c1t0d0s4&gt; is not a root device for any boot environment.
Creating configuration for boot environment &lt;Alt_boot&gt;.
Source boot environment is &lt;Main_boot&gt;.
Creating boot environment &lt;Alt_boot&gt;.
Creating file systems on boot environment &lt;Alt_boot&gt;.
Creating &lt;ufs&gt; file system for &lt;/&gt; on &lt;/dev/md/dsk/d40&gt;.
Creating &lt;ufs&gt; file system for &lt;/var&gt; on &lt;/dev/md/dsk/d50&gt;.
Mounting file systems for boot environment &lt;Alt_boot&gt;.
Calculating required sizes of file systems for boot environment &lt;Alt_boot&gt;.
Populating file systems on boot environment &lt;Alt_boot&gt;.
Checking selection integrity.
Integrity check OK.
Populating contents of mount point &lt;/&gt;.
Populating contents of mount point &lt;/var&gt;.
Copying.
Creating shared file system mount points.
Creating compare databases for boot environment &lt;Alt_boot&gt;.
Creating compare database for file system &lt;/var&gt;.
Creating compare database for file system &lt;/&gt;.
Updating compare databases on boot environment &lt;Alt_boot&gt;.
Making boot environment &lt;Alt_boot&gt; bootable.
Setting root slice to Solaris Volume Manager metadevice &lt;/dev/md/dsk/d40&gt;.
Population of boot environment &lt;Alt_boot&gt; successful.
Creation of boot environment &lt;Alt_boot&gt; successful.</pre>
<h2>List Boot Environments</h2>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">lustatus</span>
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
-------------------------- -------- ------ --------- ------ ----------
Main_boot                  yes      yes    yes       no     -
Alt_boot                   yes      no     no        yes    -</pre>
<h2>Activate Alternate Boot Environment</h2>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">luactivate Alt_boot</span>
**********************************************************************
The target boot environment has been activated. It will be used when you
reboot. NOTE: You MUST NOT USE the reboot, halt, or uadmin commands. You
MUST USE either the init or the shutdown command when you reboot. If you
do not use either init or shutdown, the system will not boot using the
target BE.
**********************************************************************
In case of a failure while booting to the target BE, the following process
needs to be followed to fallback to the currently working boot environment:
1. Enter the PROM monitor (ok prompt).
2. Boot the machine to Single User mode using a different boot device
(like the Solaris Install CD or Network). Examples:
     At the PROM monitor (ok prompt):
     For boot to Solaris CD:  boot cdrom -s
     For boot to network:     boot net -s
3. Mount the Current boot environment root slice to some directory (like
/mnt). You can use the following command to mount:
     mount -Fufs /dev/dsk/c1t0d0s0 /mnt
4. Run &lt;luactivate&gt; utility with out any arguments from the current boot
environment root slice, as shown below:
     /mnt/sbin/luactivate
5. luactivate, activates the previous working boot environment and
indicates the result.
6. Exit Single User mode and reboot the machine.
**********************************************************************
Activation of boot environment &lt;Alt_boot&gt; successful.</pre>
<h2>Apply Patches to Alt Boot Environment</h2>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">luupgrade -n Alt_boot -t -s /mnt/10/2007-01/10_Recommended patch_order</span>

Validating the contents of the media &lt;/mnt/10/2007-01/10_Recommended&gt;.
The media contains 58 software patches that can be added.
Mounting the BE &lt;Alt_boot&gt;.
Adding patches to the BE &lt;Alt_boot&gt;.
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!

The following requested patches have packages not installed on the system
Package SUNWgzipS from directory SUNWgzipS in patch 120719-02 is not installed on the system. Changes for package SUNWgzipS will not be applied to the system.
Package SUNWdtrc from directory SUNWdtrc in patch 120900-04 is not installed on the system. Changes for package SUNWdtrc will not be applied to the system.
&lt;…etc…&gt;

The following requested patches are already installed on the system
Requested to install patch 121296-01 is already installed on the system.
Requested to install patch 120900-04 is already installed on the system.
&lt;…etc…&gt;

Checking patches that you specified for installation.
Done!

The following requested patches will not be installed because they have been made obsolete by other patches already installed on the system or by patches you have specified for installation.

0 All packages from patch 119254-06 are patched by higher revision patches.
1 All packages from patch 118833-24 are patched by higher revision patches.
&lt;…etc…&gt;

The following requested patches will not be installed because the packages they patch are not installed on this system.

0 Packages from patch 120467-05 are not installed on the system.
1 Packages from patch 122856-03 are not installed on the system.
&lt;…etc…&gt;

Approved patches will be installed in this order:
120719-02 122032-03 120824-07

Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...

Patch 120719-02 has been successfully installed.
See /a/var/sadm/patch/120719-02/log for details

Patch packages installed:
  SUNWgzip
&lt;…etc…&gt;

Unmounting the BE &lt;Alt_boot&gt;.
The patch add to the BE &lt;Alt_boot&gt; completed.</pre>
<h2>Sync Offline BE With Updated/Patched BE</h2>
<p>UPDATE: You can use lumake to refresh an alternate BE:</p>
<pre># <span style="color:#99cc00;">lumake –n Main_boot</span></pre>
<p>The following is kept for posterity&#8230;<br />
No flashy sync; just delete out-of-date BE and re-create:</p>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">ludelete Main_boot</span>
Determining the devices to be marked free.
Updating boot environment configuration database.
Updating boot environment description database on all BEs.
Updating all boot environment configuration databases.
Boot environment &lt;Main_boot&gt; deleted.</pre>
<p>Note: If supplying SVM meta devices for the BE, use -C to indicate what the physical boot slice is. Sometimes Live Upgrade can not determine this.</p>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">lucreate -C /dev/dsk/c1t0d0s0 -m /:/dev/md/dsk/d0:ufs -m /var:/dev/md/dsk/d30:ufs -n Main_boot</span>
Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations
Determining types of file systems supported
Validating file system requests
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Analyzing system configuration.
Comparing source boot environment &lt;Alt_boot&gt; file systems with the file
system(s) you specified for the new boot environment. Determining which
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Searching /dev for possible boot environment filesystem devices
Updating system configuration files.
The device &lt;/dev/dsk/c1t0d0s0&gt; is not a root device for any boot environment.
Creating configuration for boot environment &lt;Main_boot&gt;.
Source boot environment is &lt;Alt_boot&gt;.
Creating boot environment &lt;Main_boot&gt;.
Creating file systems on boot environment &lt;Main_boot&gt;.
Creating &lt;ufs&gt; file system for &lt;/&gt; on &lt;/dev/md/dsk/d0&gt;.
Creating &lt;ufs&gt; file system for &lt;/var&gt; on &lt;/dev/md/dsk/d30&gt;.
Mounting file systems for boot environment &lt;Main_boot&gt;.
Calculating required sizes of file systems for boot environment &lt;Main_boot&gt;.
Populating file systems on boot environment &lt;Main_boot&gt;.
Checking selection integrity.
Integrity check OK.
Populating contents of mount point &lt;/&gt;.
Populating contents of mount point &lt;/var&gt;.
Copying.
Creating shared file system mount points.
Creating compare databases for boot environment &lt;Main_boot&gt;.
Creating compare database for file system &lt;/var&gt;.
Creating compare database for file system &lt;/&gt;.
Updating compare databases on boot environment &lt;Main_boot&gt;.
Making boot environment &lt;Main_boot&gt; bootable.
Setting root slice to Solaris Volume Manager metadevice &lt;/dev/md/dsk/d0&gt;.
Population of boot environment &lt;Main_boot&gt; successful.
Creation of boot environment &lt;Main_boot&gt; successful.</pre>
<h2>List Packages Installed on a BE</h2>
<pre>root@labt2000:~ &gt; <span style="color:#99cc00;">luupgrade -n Alt_boot -I</span>

Mounting the BE &lt;Alt_boot&gt;.
Retrieving package information from the BE &lt;Alt_boot&gt;.
system      SUNWadmap                    System administration applications
system      SUNWadmc                     System administration core libraries
&lt;…etc…&gt;</pre>
<h2>Pkgchk BE Packages</h2>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">luupgrade -n Alt_boot -C</span>

Mounting the BE &lt;Alt_boot&gt;.
Checking packages from the BE &lt;Alt_boot&gt;.
ERROR: /a/etc/default/init
    modtime &lt;11/10/06 05:51:49 AM&gt; expected &lt;07/31/07 01:13:10 PM&gt; actual
    file size &lt;667&gt; expected &lt;662&gt; actual
    file cksum &lt;54863&gt; expected &lt;54496&gt; actual
&lt;…etc…&gt;</pre>
<h2>Remove Packages from Alt BE</h2>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">luupgrade -n Alt_boot -P SUNWtcsh SUNWzsh</span>

Mounting the BE &lt;Alt_boot&gt;.
Removing packages from the BE &lt;Alt_boot&gt;.

The following package is currently installed:
   SUNWtcsh  Tenex C-shell (tcsh)
             (sparc) 11.10.0,REV=2005.01.08.05.16

Do you want to remove this package? [y,n,?,q] y</pre>
<h2>Install Packages on Alt BE</h2>
<pre>root@labt2000:~&gt; <span style="color:#99cc00;">luupgrade -n Alt_boot -p -s /mnt/Solaris/10_2006-11/Solaris_10/Product SUNWtcsh SUNWzsh</span>

Validating the contents of the media &lt;/mnt/Solaris/10_2006-11/Solaris_10/Product&gt;.
Mounting the BE &lt;Alt_boot&gt;.
Adding packages to the BE &lt;Alt_boot&gt;.

Processing package instance &lt;SUNWtcsh&gt; from &lt;/mnt/Solaris/10_2006-11/Solaris_10/Product&gt;
&lt;…etc…&gt;</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spensnotes.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spensnotes.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spensnotes.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spensnotes.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spensnotes.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spensnotes.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spensnotes.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spensnotes.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spensnotes.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spensnotes.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spensnotes.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spensnotes.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spensnotes.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spensnotes.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=32&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spensnotes.wordpress.com/2009/04/09/solaris-live-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d14fc5056d5cc40caa408fc681264625?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Spencer</media:title>
		</media:content>
	</item>
		<item>
		<title>Some TSM commands</title>
		<link>http://spensnotes.wordpress.com/2009/04/09/some-tsm-commands/</link>
		<comments>http://spensnotes.wordpress.com/2009/04/09/some-tsm-commands/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 12:21:40 +0000</pubDate>
		<dc:creator>spencerharvey</dc:creator>
				<category><![CDATA[System recovery]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[tsm]]></category>

		<guid isPermaLink="false">http://spensnotes.wordpress.com/?p=27</guid>
		<description><![CDATA[Tivoli Storage Manager (TSM) is IBM&#8217;s enterprise backup and recovery software. Full documentation is available from IBM. Here are a few commands that come in handy. dsmc query sched dsmc query restore dsmc restart restore dsmc cancel restore dsmc help dsmc sel /appl/data/ -subdir=y dsmc query backup "/etc/*" -subdir=y dsmc query backup -inactive &#60;some file&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=27&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tivoli Storage Manager (TSM) is IBM&#8217;s enterprise backup and recovery software. Full documentation is available <a title="TSM documentation" href="http://publib.boulder.ibm.com/infocenter/tsminfo/v6/index.jsp" target="_self">from IBM</a>. Here are a few commands that come in handy.</p>
<pre><span style="color:#99cc00;">dsmc query sched
dsmc query restore
dsmc restart restore
dsmc cancel restore
dsmc help
dsmc sel /appl/data/ -subdir=y
dsmc query backup "/etc/*" -subdir=y
dsmc query backup -inactive &lt;some file&gt;</span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spensnotes.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spensnotes.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spensnotes.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spensnotes.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spensnotes.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spensnotes.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spensnotes.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spensnotes.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spensnotes.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spensnotes.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spensnotes.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spensnotes.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spensnotes.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spensnotes.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=27&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spensnotes.wordpress.com/2009/04/09/some-tsm-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d14fc5056d5cc40caa408fc681264625?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Spencer</media:title>
		</media:content>
	</item>
		<item>
		<title>Compile a static binary</title>
		<link>http://spensnotes.wordpress.com/2009/04/09/compile-a-static-binary/</link>
		<comments>http://spensnotes.wordpress.com/2009/04/09/compile-a-static-binary/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 12:09:45 +0000</pubDate>
		<dc:creator>spencerharvey</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[gcc]]></category>

		<guid isPermaLink="false">http://spensnotes.wordpress.com/?p=24</guid>
		<description><![CDATA[For some reason you might want to include the linked libraries in you compiled binary. This is easy peasy: gcc -static hello.c<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=24&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For some reason you might want to include the linked libraries in you compiled binary. This is easy peasy:</p>
<pre><span style="color:#99cc00;">gcc -static hello.c</span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spensnotes.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spensnotes.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spensnotes.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spensnotes.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spensnotes.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spensnotes.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spensnotes.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spensnotes.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spensnotes.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spensnotes.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spensnotes.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spensnotes.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spensnotes.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spensnotes.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=24&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spensnotes.wordpress.com/2009/04/09/compile-a-static-binary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d14fc5056d5cc40caa408fc681264625?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Spencer</media:title>
		</media:content>
	</item>
		<item>
		<title>Compile with enhanced symbol table</title>
		<link>http://spensnotes.wordpress.com/2009/04/09/compile-with-enhanced-symbol-table/</link>
		<comments>http://spensnotes.wordpress.com/2009/04/09/compile-with-enhanced-symbol-table/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 12:06:27 +0000</pubDate>
		<dc:creator>spencerharvey</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://spensnotes.wordpress.com/?p=20</guid>
		<description><![CDATA[If you want to debug a core from your executable you must compile it with the enhanced symbol table option: gcc –ggdb hello.c<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=20&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to debug a core from your executable you must compile it with the enhanced symbol table option:</p>
<pre><span style="line-height:18px;font-size:12px;white-space:pre;"><span style="color:#99cc00;">gcc –ggdb hello.c</span></span></pre>
<p><span style="font-family:Consolas;line-height:18px;font-size:12px;white-space:pre;"><br />
</span></p>
<pre></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spensnotes.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spensnotes.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spensnotes.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spensnotes.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spensnotes.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spensnotes.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spensnotes.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spensnotes.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spensnotes.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spensnotes.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spensnotes.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spensnotes.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spensnotes.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spensnotes.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=20&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spensnotes.wordpress.com/2009/04/09/compile-with-enhanced-symbol-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d14fc5056d5cc40caa408fc681264625?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Spencer</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://spensnotes.wordpress.com/2009/04/08/hello-world/</link>
		<comments>http://spensnotes.wordpress.com/2009/04/08/hello-world/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 18:50:38 +0000</pubDate>
		<dc:creator>spencerharvey</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi there, and welcome to my first post on this new blog. Now I know that there are loads of sites out there that provide a large amount of background information on the various Unix technologies; this is not one or those! What you will find here the bare-bone details or instructions to help me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=1&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi there, and welcome to my first post on this new blog. Now I know that there are loads of sites out there that provide a large amount of background information on the various Unix technologies; <em>this is not one or those!</em></p>
<p>What you will find here the bare-bone details or instructions to help me get the job done. I will try to link back to the full documentation where appropriate.</p>
<p><strong><span style="color:#ffff00;">Do not trust a word I say, or complain that content here broke your production server.</span></strong></p>
<p>Now then, seeing as WordPress gives you a starter post called <em>Hello world!</em>, the obvious edit is:</p>
<pre><span style="color:#99cc00;">#include &lt;stdio.h&gt;
int main(void)
{
    printf("Hello, World!\n");
    return 0;
}</span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spensnotes.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spensnotes.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spensnotes.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spensnotes.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spensnotes.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spensnotes.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spensnotes.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spensnotes.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spensnotes.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spensnotes.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spensnotes.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spensnotes.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spensnotes.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spensnotes.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spensnotes.wordpress.com&amp;blog=7286892&amp;post=1&amp;subd=spensnotes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spensnotes.wordpress.com/2009/04/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d14fc5056d5cc40caa408fc681264625?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">Spencer</media:title>
		</media:content>
	</item>
	</channel>
</rss>
