January 2009 Archives

Easy mounting from the command line.

| No TrackBacks
alias mudf if \( \! -e ~/mnt/\!\:1 \) mkdir ~/mnt/\!\:1 \; mount_udf /dev/\!\:1 ~/mnt/\!\:1
alias mfat if \( \! -e ~/mnt/\!\:1 \) mkdir ~/mnt/\!\:1 \; mount_msdosfs /dev/\!\:1 ~/mnt/\!\:1
alias mcd if \( \! -e ~/mnt/\!\:1 \) mkdir \!\:1 \; mount_cd9660 -r /dev/\!\:1 ~/mnt/\!\:1
alias um umount ~/mnt/\!\:1

The above TCSH aliases are useful for mounting disks under FreeBSD. Just create '~/mnt/' and dump the commands in '~/.cshrc' and it is good to do.

'mfat' and 'mcd' are mount various MSDOS and ISO-9660 filesystems. Nothing really fancy, but simply choosing a place to mount it. Most importantly it shortens the number of required keys pressed to mount something.

'mcd' changes to a mountpoint for a specified device.

'um' unmounts one of the mounted devices.

ZConf::Runner - Just published.

| No TrackBacks
Wooho! 24 now.

This is a little perl module for opening a file based on it's mimetype and specified action. Unlike most other things like this, this allows one to multiple actions to be defined per mimetype. Thus one can have have one for viewing, another for editing, and etc.

This a file can be ran using two methodes. The first is using an available desktop entry and the second is specified command.

http://search.cpan.org/~vvelox/ZConf-Runner/