UnukLCD

Last week I got the PicoLCD. There is an open source driver for using it with the LCDProc deamon. The LCDproc provides a service which allows applications to show some information on the display.
LCDproc provides an easy to use protocol for showing your own information on the display see the LCDproc Developer’s Guide. I wrote a small python script which shows the currently playing song of a running Music Player Daemon (mpd). Since the PicoLCD provides a few buttons I added some basic control buttons (play, pause, stop, next, previous).
I have different ideas to improve this scripts but I left it this ways, because now it is quite simple and should give a good starting point for every one interested in doing something similar with LCDProc.

You can get the source code from the following page:

2008-12-18 | Posted in: Development | Comments Closed

Sync ReadOnly (syncro)

I have put together a small description of how to use my syncro script and uploaded the script including the config file to the web server. I have mentioned this script before (Ubuntu on Alix (aufs))

You can find the description and the download here:

2008-12-16 | Posted in: Development | Comments Closed

$HOME move to ZFS

Since we had some file system problems we decided better take the opportunity to move all our $HOME to the rising star of the file systems ZFS. This was achieved very easily:

  • make sure you have a valid backup of the current home directories
  • unmount all
  • create a zfs pool
    # zpool create -f userhome <device number, …>
  • we hide the default mount point “userhome” and create a new one by mapping userhome/home to /export/home
    # zfs userhome/home
    # zfs set mountpoint=/export/home userhome/home
    # zfs set mountpoint=none userhome
    # zfs set
  • after restoring the $HOME backup, we need to make an entry in /etc/dfs/dfstab and share all (zfs would not need a dfstab entry if we didn’t hide the userhome mount point).

To clarify: If you “pwd” in your $HOME you see /export/home/<username>. If we would not hide the default mountpoint (userhome) we would see an additional empty mountpoint: /userhome .