From owner-freebsd-stable@FreeBSD.ORG Wed Jul 4 17:37:21 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73BFD106566C for ; Wed, 4 Jul 2012 17:37:21 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id D050D8FC18 for ; Wed, 4 Jul 2012 17:37:20 +0000 (UTC) Received: from vhoffman-macbooklocal.local ([94.116.80.67]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q64HbGnZ041945 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 4 Jul 2012 18:37:19 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <4FF47F35.1020407@unsane.co.uk> Date: Wed, 04 Jul 2012 18:36:53 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: George Mitchell References: <4FF3918F.1080002@m5p.com> <1341376920.1097.46.camel@revolution.hippie.lan> <4FF44280.3090300@m5p.com> In-Reply-To: <4FF44280.3090300@m5p.com> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 9.0-STABLE: Can't umount umass device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2012 17:37:21 -0000 On 04/07/2012 14:17, George Mitchell wrote: > On 07/04/12 00:42, Ian Lepore wrote: >> >> >> Are you running a desktop environment that automatically launches >> gam_server to watch for changes on mounted filesystems? If so, the fix >> is to edit /usr/local/etc/gamin/gaminrc and tell it to use polling >> rather than kernel notification on the mount points you use for >> removable media. >> >> -- Ian >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to >> "freebsd-stable-unsubscribe@freebsd.org" > > Thanks, this was the problem. By the way, here between these two rows > of equals signs is the total amount of documentation that the gamin > port/package installed on my system: > ====================================================================== > ====================================================================== > Google showed me what to put in my /usr/local/etc/gamin/gaminrc file: > > poll /flash > > I appreciate the help! -- George To be fair the pkg-message for the port says jhary@ostracod $ cd (18:35:30 <~>) 0 jhary@ostracod $ pkg_info -D gamin-0.1.10_4 Information for gamin-0.1.10_4: Install notice: =============================================================================== Gamin will only provide realtime notification of changes for at most n files, where n is the minimum value between (kern.maxfiles * 0.7) and (kern.maxfilesperproc - 200). Beyond that limit, files will be polled. If you often open several large folders with Nautilus, you might want to increase the kern.maxfiles tunable (you do not need to set kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles). For a typical desktop, add the following line to /boot/loader.conf, then reboot the system: kern.maxfiles="25000" The behavior of gamin can be controlled via the various gaminrc files. See http://www.gnome.org/~veillard/gamin/config.html on how to create these files. In particular, if you find gam_server is taking up too much CPU time polling for changes, something like the following may help in one of the gaminrc files: # reduce polling frequency to once per 10 seconds # for UFS file systems in order to lower CPU load fsset ufs poll 10 =============================================================================== The lack of a manpage is sadly down to gamin though. Vince > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"