Anyone have an idea on where in the boot sequence I should add a call to my automount script? I have tried setting this up in the mountlist, but have had no success so far. Even though I put in the "nofail" parameter, if there is no drive to be mounted, it just hangs, and I can't even get in with SSH.
It would be handy to know what scripts/programs are called for booting.
Thanks Gunnar! I added a call to it in /root/.profile, and it works well.
For anyone else looking to do the same, here is the script.
I only use this for a hard drive or two.
#!/bin/bash
if [ -b /dev/sda1 ]
then
mount /dev/sda1 /media/usb0
fi
if [ -b /dev/sdb1 ]
then
mount /dev/sdb1 /media/usb1
fi
if [ -b /dev/sdc1 ]
then
mount /dev/sdc1 /media/usb2
fi
if [ -b /dev/sdd1 ]
then
mount /dev/sdd1 /media/usb3
fi