hello group. . here is the copy of the script i got from google for automount. . .i just want you have a comment if this will work.. but it seems that i really dont have a directory name "auto.master" in /etc as mentioned in the article.
autofs.script :
**********************************************
cd
echo "Please ignore any errors when making directories"
### Let us make sure the two directories exist, ignore errors
mkdir /mnt/floppy
mkdir /mnt/cdrom
### Let us backup the auto files in case they haven't
mv /etc/auto.master /etc/auto.master_old
mv /etc/auto.floppy /etc/auto.floppy_old
mv /etc/auto.cdrom /etc/auto.cdrom_old
### Create the files for autofs
echo "/mnt/cdrom /etc/auto.cdrom --timeout 10" > /etc/auto.master
echo "/mnt/floppy /etc/auto.floppy --timeout 3" >> /etc/auto.master
echo "floppy -user,suid,fstype=msdos :/dev/fd0" > /etc/auto.floppy
echo "cdrom -fstype=iso9660,ro :/dev/cdrom" > /etc/auto.cdrom
### Create the links to floppy drive and cdrom drive
ln -s /mnt/floppy/floppy a:
ln -s /mnt/cdrom/cdrom d:
ln -s /mnt/floppy/floppy floppy
ln -s /mnt/cdrom/cdrom cdrom
# Let us restart autofs, you might have to reboot
cd /etc/rc.d/init.d
./autofs restart
### if it did not work, reboot
### try "./autofs start" if the restart claims autofs has not been started
cd
*************************************
will this script will work even i dnt have the auto.master in /etc? ? ? i need you help guys.. thanks in advance. .