auto mounting of hard disk partitions
Hi,
I have started using linux since last 2 months and I am mostly newbi. I am using PXELINUX which is used to as thin clients to connect windows server.
Here the local devices ( CDROM & FLOPPY DRIVE) are mounted automatically but the Hard Disk Partitions are not mounted. While going through initialisation script in /etc/init.d/rcS I found that the ide devices is already detected but not mounted. I manually gave the command to mount the 1st patition
mount -t vfat /dev/discs/disc0/part1 /mnt/hd and the partition was mounted.
Now I want a script to run this under various hardware and it should auto detect all the hard disk partitions present and mount them automatically. Also is it possible to detect type of partition like fat32, ntfs, ext3 etc and mount them accordingly.
Thanks.
|