Hi all

I'm using the amd that comes with the FreeBSD 7.2 i386.

I want to automatically mount and unmount an USB thumbdrive. Mounting part work 
well, but the unmounting part does work as specified. I have set "utimeout=1" 
but amd still take 120 seconds to automatically unmount.

cat /etc/rc.conf
amd_flags="-a /.amd_mnt -l syslog -x all /media /etc/amd.map"
amd_enable="YES"


cat /etc/amd.conf
[ global ]
map_type = file

[ /media ]
map_name =              /etc/amd.map



cat /etc/amd.map
/defaults       type:=host;fs:=${autodir}/${rhost}/host;rhost:=${key}
*               opts:=rw,grpid,resvport,vers=3,proto=tcp,nosuid,nodev,utimeout=1

thumdrive      type:=pcfs;opts:=longname;dev:=/dev/da0s1;fs:=${autodir}/thumdriv


I want to automatically unmount of 1 second of inactivity. Have I specified the 
unmounting incorrectly?

Thanks in advance.

Best regards
Unga




      
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to