From owner-freebsd-questions@FreeBSD.ORG Wed Oct 22 07:27:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F0A316A4B3 for ; Wed, 22 Oct 2003 07:27:26 -0700 (PDT) Received: from quynh-and-brian.org (h-69-3-155-2.MCLNVA23.covad.net [69.3.155.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 633D743F93 for ; Wed, 22 Oct 2003 07:27:25 -0700 (PDT) (envelope-from brian@quynh-and-brian.org) Received: (qmail 14882 invoked from network); 22 Oct 2003 14:27:23 -0000 Received: from host1.quynh-and-brian.org (HELO quynh-and-brian.org) ([10.1.1.1]) (envelope-sender ) by host1.quynh-and-brian.org (qmail-ldap-1.03) with SMTP for ; 22 Oct 2003 14:27:23 -0000 Message-ID: <3F969360.1080407@quynh-and-brian.org> Date: Wed, 22 Oct 2003 10:25:36 -0400 From: Brian Skrab User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Heinrich Rebehn References: <3F95324C.4090201@ant.uni-bremen.de> <44k76xe85g.fsf@be-well.ilk.org> <3F966C4D.5040105@ant.uni-bremen.de> In-Reply-To: <3F966C4D.5040105@ant.uni-bremen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.org Subject: Re: Automatic mounting of removable meadia X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 14:27:26 -0000 Heinrich Rebehn wrote: > > Yes. Although it does not provide automatic mounting upon insertion of > the disk (like windows does), it would be a solution. > Unfortunately "man amd" does not say anything about the format of the > map for a local device and i was unable to find anything in > /usr/share/examples. Can anyone give me an example? This article provides a tutorial for adding this functionality using amd. It may be a little out-of-date, but it has worked for me in the past. http://www.daemonnews.org/200202/automounting.html This solution mounts the media on access, and unmounts it on quiescence. Not exactly "like windows does", but still useful. Hope this helps. ~brian