FreeBSD mounting devices at boot time

This post describes how to set up mounting file systems at FreeBSD boot time.

I have 3 partitions on my PC:

Backup  FAT32

1. To mount WINXP and Backup create file
with the folowing contents:

mount_ntfs -u ivan -g wheel -CKOI8-R /dev/ad4s1 /media/WINXP
mount_msdosfs -u 1001 -g 1001 -Wkoi2dos -L ru_RU.KOI8-R -D CP866 /dev/ad4s5 /media/Backup

2. Set executable:

chmod 755

3. Than move to /usr/local/etc/rc.d to make it run
on system boot:

mv ./ /usr/local/etc/rc.d/