Saturday, September 26, 2009

m4a files crashing mpd

Odd. m4a supposedly is supported. But every time I try to play one, I get a crash.

I guess I'll update -- v 16 is available.

mpd --version
mpd (MPD: Music Player Daemon) 0.14.2

Copyright (C) 2003-2007 Warren Dukes
Copyright (C) 2008 Max Kellermann
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Supported formats:

mp3 mp2 ogg oga ogg oga flac wav au aiff aif aac mpc wv amf dsm far gdm imf it med mod mtm s3m stm stx ult uni xm wma asf wmv mpeg mpg avi vob mov qt swf rm swf mp1 mp2 mp3 mp4 m4a flac ogg wav au aiff aif ac3 aac mpc ape tta

Supported outputs:

shout null fifo alsa oss pulse jack

Wednesday, September 9, 2009

encrypted external drive

I recently purchased a large external drive. Using dm-crypt to set it up.


# cryptsetup luksFormat /dev/sdb

WARNING!
========
This will overwrite data on /dev/sdb irrevocably.

Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Command successful.

# mmls /dev/sdb

Cannot determine partition type

# cryptsetup luksOpen /dev/sdb myfs

Enter LUKS passphrase for /dev/sdb:

key slot 0 unlocked.
Command successful.


# mkfs.ext2 -m 0 /dev/mapper/myfs >> /documentation/external_fs_inode_info

(why waste 5% of your disk space on an external hard drive?)

# mount -t ext2 /dev/mapper/myfs /mymountpoint

# cd /mymountpoint; dd if=/dev/urandom of=crap; rm -f crap