Friday, July 8, 2005

Playing A Little Night Music

If you want to play a music cd, you don't need to mount it. But you do need permission to access the device. So, as root, type:


$ chmod 666 /dev/acdo


To make this a more permanent change, add this to /etc/devfs.conf:


perm acd0 0666


so it will set the correct permissions at boot.


Reinstall boot manager

Say FreeBSD forgets that you have Windows (boo hiss) installed on hard drive, and yet you want to continue to dual boot. Here's some easy steps to either get BootMgr running again, or to start it running for the first time:


1) Do as root "sysctl kern.geom.debugflags=16"
2) Start sysinstall
3) Go Configure->FDISK-> "OK" -> Q
4) It will ask if you wish boot manager
5) Select BootMgr



Thursday, July 7, 2005

Install walkthrough

Nice step by step procedeure for installing FreeBSD, with lots of other links:



How To Install FreeBSD OS Primer



Don't fsck me

If you want to tell FreeBSD to not run fsck at boot time on a particular partition (maybe you are sharing it with another OS, or maybe it just isn't worth the trouble), you can set the sixth (last) field in /etc/fstab to be 0 (zero). This field is the order for running fsck, and if it is zero, don't do it at all.



fstab man page



Wednesday, July 6, 2005

I can hear your heartbeat

Now that my system is stored remotely, I'm looking into some way of keeping track of its status. One way is a "heartbeat", which regularily pings it and sends me a message if there is a problem. Here's one implementation in ports:



Port description for sysutils/heartbeat



Thursday, June 30, 2005

What are "Load Averages"?

Cool, if very technical, article on 'load averages' and how Unix figures these out. You can see them if you use top, and check out some of the numbers at the top.



UNIX Load Average Part 1: How It Works by Dr. Neil Gunther