Date: Mon, 6 Jul 2009 08:54:44 -0700 (PDT) From: Unga <unga888@yahoo.com> To: freebsd-questions@freebsd.org Subject: How to modify the default unmount time of automounter (amd)? Message-ID: <761956.13353.qm@web57004.mail.re3.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?761956.13353.qm>