Roy's Blog

A Hacker's musings on Code | Tech | Life

After quite a few months, I've finally gotten dhcpcd to work fully on Linux (amd64, x86) and FreeBSD (sparc64, x86). The code base is a lot smaller too, and the final compiled binary comes in at 35k on 32-bit arches, although that figure drops to 31k when optimised for size. Still, that makes us s...

Continue reading...

OK, if you're a zealot and want ALL your state data saved to /var, you can pretty much forget it :evil:Here's the reasons why it's a bad idea for a package like baselayout - /var is not guaranteed to be always available. In fact, we jump through a lot of hoops to work without /usr available too, but...

Continue reading...

Saw 3

life

So Abbey and I went to see Saw 3 over the weekend and it was a good movie. Not as good as Saw 1, possibly better than Saw 2. It's the endings that I love - always a good twist. Still that's the point of the movie, the twist at the end. The beauty of Saw 1 was that you didn't expect it which is why...

Continue reading...

OK, so I run OpenVPN to secure everything. Which is good :)I also run IPv6 just for kicks, which is also good :)I'm starting to love FreeBSD more and more, which is always good :)So what's the bad part? Well, add any any firewall into the above mix (ipfw, pf - ipf didn't compile) and IPv6 conn...

Continue reading...

OK, so yet another bash release borks baselayout and friends :(

But this still probably the nicest release as bash-3.2_p3 mostly works. The big caveat is the =~ semantic has changed. Take this snippet

[[ $(/proc/filesytems)$'\n' =~ " tmpfs"$'\n' ]]

That works fine for bash-3.0 and 3.1 Not so f...

Continue reading...