My time at Sun has come to an end along with a host of others in the great RIF of 2009.
Maybe I'll be back when Sun needs more people.
My time at Sun has come to an end along with a host of others in the great RIF of 2009.
Maybe I'll be back when Sun needs more people.
Hey look! I've got an opinion on MySQL too!
As far as I can tell, this doesn't change anything except that Sun will begin to collect the support contract revenue.
I suspect that even if Sun did absolutely nothing to the code, this purchase would pay for itself eventually, but I'm confident that Sun/MySQL will not sit on their hands. Which makes me think there's a lot more coming back from this.
So as MySQL gets better, more support contracts, more money. I simply cannot see this as a bad thing.
Dropping a $billion might be a bit shocking, but it smacks of fantastic financial health to me. They either have it in cash, or they have a plan good enough to convince a lender that it was a great idea. Either way, it still means Sun has the means to spend the money to make money.
I was trying to post this in response to Ben Rockwood but all I got was "Spam is not appreciated" so I must have done something wrong at some point.
So there it is. My opinion. It's not deep, or well-reasoned. But it's mine.
I was surfing about and found a Mac OS X software deal that seems too good to be true:
Here's my invitation for you to have a look. Clicking this link will credit me for having invited you. I'm just letting you know so that the hostile full-disclosure-police won't attack me:
https://www.macheist.com/buy/invite/97623
Thanks.
I wrote a script in attempt to help me learn a little bit about zfs.
Since I don't have an array with a lot of disks, this script uses the poor-man's technique of using files instead of disks. It works the same way as disks would work. We can think of it as using zfs in slow-motion. 
Please comment and modify the script to facilitate learning zfs. Please let me know if it was helpful to you.
Here's the script: zpool-spare-demo
I was in the Boston area last week (Bedford/Burlington to be accurate) on the Middlesex Turnpike where I saw a car with a bumper sticker that read:
More trees
Less Bush
Which I understood as some form of Eco-Political statement about loving the environment and not preferring the current administration (or possibly the former Bush administration). Whatever.
The funny thing was... as we slowed down for this car to make a left turn, they flicked out a lit cigarette which made the bumper sticker all the more ironic.
No matter what the bumper sticker says, this person doesn't love the environment and no matter who's in office they would hate them because they have no respect for authority (such as the littering laws).
All hail the god of do whatever I want. Membership is the cost of a bumper sticker.
If you love the environment, keep your butts to yourself and just by accident you might actually show some form of respect for the rest of us.
Update: The latest version is here.
I was reading some Sun blogs tonight and found the other Jonathan's blog which reminded me of a script I wrote a long time ago. This script does basically the same thing, but has a nice mnemonic name and does a little input checking for my own sanity. Also, I must confess to a little bit of cleanup in the code since I'll be laying it out here on the web.
I hope this is useful to you.
#!/bin/ksh
########################################################################################
#
# Program : mntiso
#
# Purpose : Mount an ISO image so we don't need to burn a CD or DVD to view the content.
#
# Author : Dale Sears
#
# Version : 0 (Initial Version)
#
# Notes : I think this script could use a few more features. Here are some ideas
# that I didn't bother to implement:
#
# It's rather root-centric in the defaults... There *are* other users, and
# maybe they don't have root access to mkdir /iso
#
# What if I wanted /iso/image1.iso AND /iso/image2.iso mounted at the same time
# for diffs or some other purpose? I could mount things like so:
#
# ~/iso/image1.iso/
# ~/iso/image2.iso/
#
# Check for spaces in filename? It could happen, and it would break
# my lame script.
#
# Use getopts:
#
# -f Force the mount by unmounting what is mounted on MOUNTPOINT.
# -h Usage.
# -? Usage.
# -m Set the mount point different from the default.
#
# I probably could have implemented a few of these instead of writing
# all of this...
#
#######################################################################################
MOUNTPOINT=/iso
usage() {
echo
echo "Usage: "
echo " $0 /the/fully/qualified/path.iso"
echo
}
######################################################################
# How many args?
######################################################################
if [ $# -ne 1 ]
then
usage; exit 1
fi
######################################################################
# Check for leading / on the ISO arg (needed by lofiadm):
######################################################################
case "$1" in
/* ) ISO="$1"
break
;;
* ) usage
exit 1
;;
esac
######################################################################
# Remove possibly existing lofi device for the given ISO:
######################################################################
/usr/sbin/lofiadm -d "$ISO" 2> /dev/null
######################################################################
# Add lofi device for the ISO:
######################################################################
LOFIDEVICE=`/usr/sbin/lofiadm -a "$ISO" 2> /dev/null`
if [ -z "$LOFIDEVICE" ]
then
echo
echo 'Uh, oh... : No lofi Device.'
echo
echo "Perhaps $ISO is already mounted?"
echo
echo "To unmount and try again, use this:"
echo
echo " umount $MOUNTPOINT; $0 $ISO"
echo
exit 2
fi
######################################################################
# Check for $MOUNTPOINT and create as needed:
######################################################################
if [ ! -d "$MOUNTPOINT" ]
then
/bin/mkdir -m 555 "$MOUNTPOINT"
fi
######################################################################
# We've passed enough tests, let's try to mount the ISO and 'mount'
# will complain if $MOUNTPOINT is a file or is busy:
######################################################################
/sbin/mount -F hsfs -o ro $LOFIDEVICE $MOUNTPOINT
ndd -set /dev/ce adv_autoneg_cap 0
ndd -set /dev/ce adv_1000fdx_cap 1
ndd -set /dev/ce instance 0 <---- added
ndd -set /dev/ce adv_autoneg_cap 0 <---- original
ndd -set /dev/ce adv_1000fdx_cap 1 <---- original
ndd -set /dev/ce instance 1 <---- added
ndd -set /dev/ce adv_autoneg_cap 0 <---- added
ndd -set /dev/ce adv_1000fdx_cap 1 <---- added

I'm pretty fond of this:
In my ~/.exrc file I have mapped "F" to format from the current
location to the end of the paragraph:
$ cat .exrc
:map F !}fmt -65
I'm pretty sure this is not an original thought. I'll give
credit to the man page of fmt and probably "UNIX Power Tools" I
like it because it formats my plain old ASCII text to 65
columns.
I've been doing this for more than ten years, and when I get a
new account it's one of the first things I notice missing, so I
repair it right away.
It sounds trivial, I'm sure, but there it is... one of my
quirks, wide open for the world to see.
I hope you're happy. I am.