Dec 22, 2008

MP3-Player CMX Stringray 4GB

Today I heard the Netbeans Podcast 49 but I didn't finish on the way to work.
So I connected the MP3-Player to my SunRay 1G station which is operating with
SunRay Software 4.0.

It got automatically mounted under /tmp/SUNWut/mnt/

/opt/SUNWut/bin/utdiskadm -l shows the output:
[ewer@sunray2:/]>utdiskadm -l
Device Partition Mount Path
------ --------- ----------
disk1 disk1s2 /tmp/SUNWut/mnt/ewer/noname


The path is accessible and I could play the mp3 file with the Java Media Player.
After listening, I umounted the device and did the "eject":

[ewer@sunray2:/]>utdiskadm -u /tmp/SUNWut/mnt/ewer/noname
[ewer@sunray2:/]>utdiskadm -l
Device Partition Mount Path
------ --------- ----------
disk1 disk1s2
[ewer@sunray2:/]>utdiskadm -r disk1


After this I could unplug the player.

Dec 12, 2008

using a ramdisk in Solaris/OpenSolaris

Today, I found out, how to create ramdisks in OpenSolaris.
By reading the wiki, which was referenced by the SDN News Blog.

It is really easy.

bash-3.2$ pfexec ramdiskadm -a ramdisk1 100m
/dev/ramdisk/ramdisk1
bash-3.2$ pfexec ramdiskadm -a ramdisk2 100m
/dev/ramdisk/ramdisk2
bash-3.2$ pfexec zpool create rampool mirror /dev/ramdisk/ramdisk1 /dev/ramdisk/ramdisk2
bash-3.2$ zpool status
Pool: fujiUSB
Status: ONLINE
scrub: Keine erforderlich
config:

NAME STATE READ WRITE CKSUM
fujiUSB ONLINE 0 0 0
c6t0d0s7 ONLINE 0 0 0

Fehler: Keine bekannten Datenfehler

Pool: rampool
Status: ONLINE
scrub: Keine erforderlich
config:

NAME STATE READ WRITE CKSUM
rampool ONLINE 0 0 0
mirror ONLINE 0 0 0
/dev/ramdisk/ramdisk1 ONLINE 0 0 0
/dev/ramdisk/ramdisk2 ONLINE 0 0 0

Fehler: Keine bekannten Datenfehler

Pool: rpool
Status: ONLINE
scrub: Keine erforderlich
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c3d0s0 ONLINE 0 0 0

Fehler: Keine bekannten Datenfehler
bash-3.2$ zfs list | grep rampool
rampool 70,5K 63,4M 18K /rampool


and now destroy the mirrored pool and the ramdisks

bash-3.2$ pfexec zpool destroy rampool
bash-3.2$ pfexec ramdiskadm -d ramdisk1
bash-3.2$ pfexec ramdiskadm -d ramdisk2

It is really that easy, when you know it.

Dec 11, 2008

Update patch 1 for NetBeans 6.5 is available

Today it was announced, that the patch 1 update for NetBeans 6.5 is available

It is a two phase update. On the first run, only one update has been found.

First it updates the updater itself and after a restart the remaining updates are
pulled over the network.

Dec 6, 2008

I've won the Puzzler of the NetBeans PodCast 47

I've won the puzzler of the Netbeans Podcast 47.


Here you see a photo of me with the price I won. The Rich Client Programming book signed by the Authors Geertjan Wielenga and Jaroslav Tulach.

This Netbeans podcast is produced by some members of the Netbeans-Team in the wonderful city of Prague in the Check Republic.

I've visited the city already 3 times and it was always fantastic.