From owner-freebsd-questions@FreeBSD.ORG Mon Aug 18 17:09:43 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 58FBF1065675 for ; Mon, 18 Aug 2008 17:09:43 +0000 (UTC) (envelope-from bmiller@lablaw.org) Received: from labex.labnet.lablaw.org (lablaw.org [69.61.245.66]) by mx1.freebsd.org (Postfix) with ESMTP id 231D48FC16 for ; Mon, 18 Aug 2008 17:09:43 +0000 (UTC) (envelope-from bmiller@lablaw.org) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 18 Aug 2008 13:10:30 -0400 Message-ID: <7FB5330A2962844C9F95E25CEFA021956F4D91@labex.labnet.lablaw.org> In-Reply-To: <20080818122638.c0635d7b.wmoran@potentialtech.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Auto Mount USB Thread-Index: AckBT0bVvL74GJMSSYKJmVewd5fT2wABTMyw References: <7FB5330A2962844C9F95E25CEFA021956F4D90@labex.labnet.lablaw.org> <20080818122638.c0635d7b.wmoran@potentialtech.com> From: "Brian Miller" To: "Bill Moran" 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 17:09:43 -0000 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? 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" Thanks for the response. -----Original Message----- From: Bill Moran [mailto:wmoran@potentialtech.com]=20 Sent: Monday, August 18, 2008 12:27 PM To: Brian Miller Cc: freebsd-questions@freebsd.org Subject: Re: Auto Mount USB In response to "Brian Miller" : >=20 > I can mount the drive just fine with the mount command. I also was able > to add it to the fstab and have it mount at boot. >=20 > However if the drive is removed it has to be mounted again. How do you > get it to mount back up with out having to run the mount command again? You're slightly off course. Read man 8 amd and see if that helps. Also, section 27.3.5 of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.ht ml If you get stuck on specifics, ask here. > Also I noticed while playing with it that the device assignment keeps > changing each time it is plugged back into the system. Started with > /dev/da0s1, then da1s1, then da2s1, da3s1 and so on. Which means I have > to change my mount comand every time. I've not see this happen. Are you umounting it before you remove the drive? If not, then the drive is still mounted from a previous connection (even though it can't be accessed) so the system has to grab the next available device. This will go away once you have amd running. --=20 Bill Moran http://www.potentialtech.com