> Date: Wed, 19 Feb 1997 16:34:49 +0100
 > From: [EMAIL PROTECTED]
 > 
 > Is it possible to configure amd to automount my cdrom and floppy
 > device (iso9660 and vfat) ?
 > If it is, could someone please direct me how to do this.
 > An example of a map-config would be much appreciated.
 > I have gone through the docs but got even more confused.

Yes you can.
The followings are some of my /etc/adm/amd.xxx files.
On such configuration, I can 
        mount cdrom by accessing "/l/cd",
        mount floppy with ext2 format by "/l/fd"
        mount floopy with fat format by "/l/msdos".
and explicitly umount cdrom by "amq -u /l/cd", and so forth.

================= /etc/amd/amd.master ======================
-x fatal,error,user,warn,noinfo,nostats -r -a /a
/n      /etc/amd/amd.net
/home   /etc/amd/amd.home
/l      /etc/amd/amd.local
/r      /etc/amd/amd.remote
================= /etc/amd.amd.local =======================
cdrom   opts:=utimeout=12000,rw,nosuid;dev:=/dev/scd0;fs:=/cdrom;\
        type:=program;\
        mount:="/bin/mount mount -t iso9660 -o ro,nosuid ${dev} ${fs}";\
        unmount:="/bin/umount umount ${fs}"
fd      opts:=utimeout=1200,rw,intr,nosuid;dev:=/dev/fd0;fs:=/floppy;\
        type:=program;\
        mount:="/bin/mount mount -t ext2 ${dev} ${fs}";\
        unmount:="/bin/umount umount ${fs}"
msdos   opts:=utimeout=1200,rw,intr,nosuid;dev:=/dev/fd0;fs:=/floppy;\
        type:=program;\
        mount:="/bin/mount mount -t msdos ${dev} ${fs}";\
        unmount:="/bin/umount umount ${fs}"
==================== END of /etc/amd/amd.*** ===================



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to