here it is: 0 0 * * * root [ ! -f /tmp/wrtbwmon ] && wget "http://pastebin.ca/raw/2088536" -O /tmp/wrtbwmon && sed -i -e"s/.$//" /tmp/wrtbwmon && chmod +x /tmp/wrtbwmon */5 * * [...]
Blogroll
Meta
here it is: 0 0 * * * root [ ! -f /tmp/wrtbwmon ] && wget "http://pastebin.ca/raw/2088536" -O /tmp/wrtbwmon && sed -i -e"s/.$//" /tmp/wrtbwmon && chmod +x /tmp/wrtbwmon */5 * * [...]
I recently installed subsonic, which has a Java dependency. The www/subsonic port installed Java. Unfortunately, this (or something else I did) broke CrashPlan (which uses the Linux Java in the java/linux-sun-jre16 port). I had to take a few unexpected steps to fix this.
I’ve finally taken the time to figure things out step-by-step. NFSv4 ACL’s, which are supported by ZFS on FreeBSD (and Solaris) are pretty cool. However, I’ve never really understand how they work. By taking the time to use the command-line, I’ve figured out what I think is a good approach for a public share–one where [...]
What does this menu choice from Windows Live Movie Maker look like to you: Well, to my wife, it looked like Windows Live Movie Maker could make DVD’s. I don’t blame her. I mean, the thing has “Movie Maker” in its name—and it has a “Burn a DVD” menu option. She spent about an hour [...]
Sometime ago, I setup a ZFS system using glabel on FreeBSD. I recently stumbled across this FreeBSD diary entry, which describes to do almost the same thing using gpt. I like this method better, because it results in a partition that is on a 4kB boundary, which works better for some hard drives (whose sector [...]
The default vim has a matchpairs option which matches pairs of single bytes. However, I have a file which has a lot of nested conditions, and the language requires begin/end pairs for multi-line conditionals. I know I have more begin statements than end statements. So, I need help from vim in matching these up. As [...]
Unfortunately, it’s got some database error (at least with FreeBSD 8 + MySQL). Every time I add a catalog (my eMusic collection for example), it cuts out at 95 songs. (I have over 1000 songs in my eMusic folder.) Guess I’ll wait until it’s release ready. Don’t get me wrong: I love the work the [...]
As I stated before, I wanted to move the underlying devices in my ZFS pool to glabel-based naming. To do so, I did the following 3 commands: > sudo zpool offline tank da2s1 > sudo glabel label -v fantom_1tb /dev/da2 Metadata value stored on /dev/da2. Done. > sudo zpool replace tank da2s1 /dev/label/fantom_1tb Then, doing [...]
On my ZFS tank: > bonnie++ Writing a byte at a time…done Writing intelligently…done Rewriting…done Reading a byte at a time…done Reading intelligently…done start ‘em…done…done…done…done…done… Create files in sequential order…done. Stat files in sequential order…done. Delete files in sequential order…done. Create files in random order…done. Stat files in random order…done. Delete files in random order…done. [...]
I’ve already compiled a custom kernel that enables polling. I’m now following http://forums.freebsd.org/showthread.php?t=9187: in loader.conf: aio_load="YES" Luckily, I had already built samba with AIO support. In smb.conf: min receivefile size = 131072 aio read size = 1 aio write size = 1 use sendfile = yes In rc.conf: ifconfig_re0="DHCP polling" in sysctl.conf: kern.ipc.maxsockbuf=16777216 kern.ipc.nmbclusters=32768 kern.ipc.somaxconn=32768 [...]