From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 20 19:17:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C95731065670; Mon, 20 Feb 2012 19:17:26 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.207]) by mx1.freebsd.org (Postfix) with ESMTP id 8001D8FC0A; Mon, 20 Feb 2012 19:17:26 +0000 (UTC) Date: Mon, 20 Feb 2012 20:17:23 +0100 From: vermaden To: Freddie Cash , fernando.apesteguia@gmail.com X-Mailer: interia.pl/pf09 In-Reply-To: References: <4F3EE186.4020801@gmail.com> <201202181409.08859.hselasky@c2i.net> X-Originating-IP: 85.89.187.172 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1329765444; bh=uMYrSnlaRG9ek8YMAgsT8vbd52OexD3LRy6eEC9BVjo=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: X-Originating-IP:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding; b=B9jfS8mYmxD+kO+8tg/2zIHZvojmdcM5v8h6HN3DCTpeZgAJvAY/ylRNwhUhPZSVm rRmK4tUb5YC9NQN0CoHV9r/jq98j0jGWTnWy2Kdw3lHqzm6ZJEWORJXgG1Wp4p2BBr udXzBYjvpKe1def6q4PDWPg93UmECufpl4J7qWQU= X-Mailman-Approved-At: Mon, 20 Feb 2012 19:24:31 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: devd based AUTOMOUNTER X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 19:17:26 -0000 Hi, I removed the state_lock and stat_unlock mechanisms as they appeared to be not needed, I have shufled with 3 drives all the time and the 'integrity' has not been lost, at it was a lot faster, because the lock always had to wait for the 'slowest' drive (in term of initializing the device, like USB hard drive). I simplified the 'attach' section a lot, now each filesystem contains only check/fsck (if possible), mount and log info. I also simplified and improved the 'detach' section a little. I have added an option to automatically launch the set-up in config file manager (Yes, like in Windows ;p).=20 These are options that I currently successfully use for NAUTILUS file manager, You need to set-up all three of them to make it work. | POPUP=3DYES | FM=3D"nautilus --browser --no-desktop" | USER=3Dvermaden My whole config looks like that now: | USERUMOUNT=3DYES | POPUP=3DYES | FM=3D"nautilus --browser --no-desktop" | USER=3Dvermaden | ENCODING=3Dpl_PL.ISO8859-2 | CODEPAGE=3Dcp852 All latest updates are available at GITHUB: https://github.com/vermaden/automount written by Freddie Cash ... > Konqueror (KDE 3.x and 4.x) and Dolphin (KDE 4.x mainly, but I > believe there's a KDE 3.x version) also show automatically > mounted and removable media in the sidebar. Works nicely > with HAL. Haven't tested your script yet, but am intrigued by it. > Will see if I can test it sometime this week. >=20 > Native solutions are so much nicer than ported ones. :) Thanks, looking forward to hear some more input about it from You ;) written by Fernando Apestegu=C3=ADa ... > What a nice piece of work. Thanks mate. > I just downloaded it and try it on a FreeBSD 9.0-RELEASE with > custom kernel. It works like a charm. I tried three different > USB devices without noticing any problems (and I was very > impolite when I unplugged them). >=20 > Thanks for this script. Good to know, try the latest new version from repo, should be even better ;= ) Regards, vermaden