From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 20 16:38:30 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 49CB91065672 for ; Mon, 20 Feb 2012 16:38:30 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id EDFB58FC1B for ; Mon, 20 Feb 2012 16:38:29 +0000 (UTC) Received: by vcmm1 with SMTP id m1so5317400vcm.13 for ; Mon, 20 Feb 2012 08:38:29 -0800 (PST) Received-SPF: pass (google.com: domain of fjwcash@gmail.com designates 10.52.76.165 as permitted sender) client-ip=10.52.76.165; Authentication-Results: mr.google.com; spf=pass (google.com: domain of fjwcash@gmail.com designates 10.52.76.165 as permitted sender) smtp.mail=fjwcash@gmail.com; dkim=pass header.i=fjwcash@gmail.com Received: from mr.google.com ([10.52.76.165]) by 10.52.76.165 with SMTP id l5mr4823285vdw.24.1329755909430 (num_hops = 1); Mon, 20 Feb 2012 08:38:29 -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:content-transfer-encoding; bh=GOIONmwfIpBn8+emc+dK2II/K6MfFe84UpcSR28CgJo=; b=DBrbsW7kMRi4qMUm2ZXiEB1OJHptKxCbqmcmeUtHdu/trtmzAEb2mQ7LFRbXlBjpsu vRAVNlcE8dOGFlEe4Qf7p5ohpvt58tvemYkPwerFyTwvvIGTGq0BKmPN7ubEHIj04sPF MbwCu+11+TmwArIpztXrU/bQzRm9CT9/har+g= MIME-Version: 1.0 Received: by 10.52.76.165 with SMTP id l5mr3901728vdw.24.1329755909364; Mon, 20 Feb 2012 08:38:29 -0800 (PST) Received: by 10.220.192.135 with HTTP; Mon, 20 Feb 2012 08:38:29 -0800 (PST) In-Reply-To: References: <4F3EE186.4020801@gmail.com> <201202181409.08859.hselasky@c2i.net> Date: Mon, 20 Feb 2012 08:38:29 -0800 Message-ID: From: Freddie Cash To: vermaden Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@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 16:38:30 -0000 On Mon, Feb 20, 2012 at 12:43 AM, vermaden wrote: > new version with new features (and BUGs ;p) > > Added check if ntfsfix from sysutils/ntfsprogs is available, if Yes then > try to fix the NTFS filesystem before mouting it. > > Added GPL3 License ... just joking ;) ... added FreeBSD License to the fi= le. > > Added 'noatime' as a default mount option when possible. > > Added TIMEOUT so when an 'orphan' STATE file lock remains, it will be del= eted after a TIMEOUT. > > Added /usr/local/etc/devd/automount.devd file instead of messing with the= base system config at /etc/devd.conf. > > Added config file to be used from /usr/local/etc/automount.conf file, pos= sible options are (these are defaults): > =C2=A0MNTPREFIX=3D"/media" > =C2=A0LOG=3D"/var/log/automount.log" > =C2=A0STATE=3D"/var/run/automount.state" > =C2=A0ENCODING=3D"en_US.ISO8859-1" > =C2=A0CODEPAGE=3D"cp437" > =C2=A0DATEFMT=3D"%Y-%m-%d %H:%M:%S" > =C2=A0USERUMOUNT=3D"NO" > > Mine config currently has only these: > =C2=A0ENCODING=3D"pl_PL.ISO8859-2" > =C2=A0CODEPAGE=3D"cp852" > =C2=A0USERUMOUNT=3D"YES" > > The USERMOUNT otions if set to YES (default to NO) will 'chmod +s /sbin/u= mount', > so You can click the ^ button on the devices list in NAUTILUS. > > These newly mounted devices appear on NAUTILUS sidebar (only with /media = prefix). > > But THUNAR and PCMANFM does not do that, You know any other FMs that disp= lay mounted thumb drives/devices? 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. Native solutions are so much nicer than ported ones. :) --=20 Freddie Cash fjwcash@gmail.com