From owner-freebsd-questions@FreeBSD.ORG Mon Aug 18 18:01:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BB971065684 for ; Mon, 18 Aug 2008 18:01:02 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id CE3ED8FC14 for ; Mon, 18 Aug 2008 18:01:01 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 45207EBC0C; Mon, 18 Aug 2008 14:00:59 -0400 (EDT) Date: Mon, 18 Aug 2008 14:01:12 -0400 From: Bill Moran To: "Brian Miller" Message-Id: <20080818140112.8451549e.wmoran@potentialtech.com> In-Reply-To: <7FB5330A2962844C9F95E25CEFA021956F4D91@labex.labnet.lablaw.org> References: <7FB5330A2962844C9F95E25CEFA021956F4D90@labex.labnet.lablaw.org> <20080818122638.c0635d7b.wmoran@potentialtech.com> <7FB5330A2962844C9F95E25CEFA021956F4D91@labex.labnet.lablaw.org> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Auto Mount USB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 18:01:02 -0000 In response to "Brian Miller" : > I started looking at amd and it is just what I need but it doesn't > appear to be available? From what I have read it should be part of > FreeBSD? I see that I can download a tar from www.am-utils.org should I > do that or is there a "Package" available for it? Is there something > similar to "YUM" for FreeBSD? Actually, I found this spiffy port while looking for a good reference to point you to: cd /usr/ports/sysutils/automounter && make install then read man automounter for setup instructions. Keep in mind that the reason this is less than simple is because automatically mounting removable media is a huge security risk. The fact that it's so convenient that most people ignore the security risk does not mitigate the risk in any way. > You are correct that I was not dismounting then removing the drive. So > that makes sense. Next question is how/can I free them up? Tried "umount > /dev/da0s1" but it fails with "Device not configured" umount the mountpoint, not the device. I.e. umount /usr, not /dev/ad0s1g -- Bill Moran http://www.potentialtech.com