I followed an outdated tutorial to mount my hardrives in the fstab with their assigned names (like /dev/hda1). I found out the hard way that those names can change at any time, e.g. when plugging the harddrive into a different slot on the controller. I learned that it’s much safer to do this by labelling the harddrives and referencing those labels when mouting them.
First give your harddrive or partition a name:
Now you can use the label in your /etc/fstab (Add other parameters as needed):
An uglier solution would be to reference the drives by their UUIDs but it will make fstab a lot less readable and editing it after a while might get confusing.
The upside of this is: If you hook up a new harddrive to your controller or if you swap them, the system will still mount them into the right directories.
Overall dig is an invaluable tool that can help you debug all sorts of DNS related situations, ranging from “Why’s my server not reachable” to “Why does Google Mail not accept my mails” (e.g. when it comes to MX records). Here are some console tricks to dig up some infos about domains.
To find the authorative dns servers for a domain:
This would tell us that these servers manage this domain:
Now we can find all CNAME and MX records of this domain (no A records!)
To find out who owns the domain (this might not work, depending on the policy of the registrar):
Finally, you might want to find out some things about an IP address:
Sometimes there are messages stuck in the Exim mail queue and sometimes you might wish to look inside them. Exim is a complex beast, but it comes with plenty of tools to help you analyze the current situation.
To see how many mails are stuck in the queue and since when use:
This will output a list of message IDs; to look inside these messages use for the header
for the body
If these don’t work for you, try “exim” or “exim3” instead of “exim4”.
Since Apple transitioned to Intel chips I started thinking about bying a Macbook Pro. Professionally I’ve been using Macs off and on and I’ve owned an iPod for quite a while now. I was always impressed by the polish and attention to detail Apple products have. But the price and totally different hardware architecture always held me back from buying a Mac. For all its flaws, I really appreciate the versatility of Windows machines that allows me to work but also game on them. With Bootcamp I hope to get the best of both worlds.