From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 20 18:56:41 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 12DFB106564A; Mon, 20 Feb 2012 18:56:41 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2513D8FC19; Mon, 20 Feb 2012 18:56:39 +0000 (UTC) Received: by lagz14 with SMTP id z14so9803374lag.13 for ; Mon, 20 Feb 2012 10:56:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VkG3S8yeRiyCDUkbWLfUqPnE/9PntwquzUJ1FS0q7DY=; b=i0Jm5vGK3PyCdEG22urQge/pTpR1GNTCrS6JZXG3JObrH1G1X0rjqoK0XgYazZWIF9 DC9yVA7T9a/ZuLvTl/6OQT8mKc973Hglr6HYEh+xDb8WfRtUX78efkqrPYd+lNHg4Ecg 0D0A2VOfa4HCB1B99Bz8bm6+YUftmeFvf92jw= MIME-Version: 1.0 Received: by 10.152.147.1 with SMTP id tg1mr13743934lab.22.1329762687569; Mon, 20 Feb 2012 10:31:27 -0800 (PST) Received: by 10.152.13.72 with HTTP; Mon, 20 Feb 2012 10:31:27 -0800 (PST) In-Reply-To: References: <4F3EE186.4020801@gmail.com> <201202181409.08859.hselasky@c2i.net> Date: Mon, 20 Feb 2012 19:31:27 +0100 Message-ID: From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: vermaden Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 18:56:41 -0000 On Mon, Feb 20, 2012 at 2:27 PM, vermaden wrote: > written by ${ME} ... > > > First BUG: (not fixed yet, but workaround already is working) > > > > TEST/BUG/CASE: > > Plug in FAT32 and NTFS drives at the same time, when FAT32 device > > will be detected first, it will get mounted and the NTFS drive will be > > mounted TWICE, so I added > __check_already_mounted function > > to check if it is not already mounted. > > This BUG is fixed, I was in wrong assumption, that the script would > be only executed for /dev/da0 but it was executed for every > device/partition node that appeared separately, like /dev/da0, > /dev/da0s1, /dev/da0s2 etc. > > Currently there is no knows bugs, but the prepared earlier > 'workaround functions' remain just in case. > > As I written before its now available here: > https://github.com/vermaden/automount > What a nice piece of work. 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). Thanks for this script. > Regards, > vermaden > > > > > > > > > > > > > > > > > > > --- > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >