On Sun, 27 Jul 2003, Md. Ashraful Alam wrote: > Can any one suggest me ...how i can automount the cdrom in Redhat 7.1 ?
You could install an rpm of autofs, and then to mount the floppy on /mnt/floppy and the cdrom on /mnt/cdrom (you'll need to mkdir the ones you need I think) you do something like this: # vi /etc/auto.master add: /mnt /etc/auto.floppy timeout=10 # vi /etc/auto.floppy add: floppy -fstype=auto,rw,user,nodev,uid=guest :/dev/fd0 cdrom -fstype=iso9660,r,user,uid=guest :/dev/cdrom # vi /etc/fstab remove cdrom and floppy entries # service autofs reload I haven't tested this, I saw it on a page about a webcafe but you get the idea. Patrick Lesslie -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
