gettimeofday() should never be used to measure time

Categories: bugs, coding

gettimeofday() and time() should only be used to get the current time if the current wall-clock time is actually what you want. They should never be used to measure time or schedule an event X time into the future.

Read the rest of this entry »

Erlang BGP daemon

Categories: bgp, bugs, cisco, coding, erlang, network

I'm writing a BGP daemon in Erlang. It can connect, parse update packets and announce routes.

Read the rest of this entry »

Solaris installation

Categories: bugs, solaris, unix

In what top scientists are calling "pretty gay", Solaris can't handle disks that used to have non-solaris stuff on them without being wiped first.

I thought only the windows installer borked if the partition table looked weird, but no! The installer could not see the disk, and I was dropped into a dtterm where I had to do dd if=/dev/zero of=/dev/dsk/c0t0d0 bs=1048576 and reboot.

So... wipe the disk before trying to install Solaris.

Open post to comment