From owner-freebsd-questions@FreeBSD.ORG Mon May 8 23:40:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 780DE16A401 for ; Mon, 8 May 2006 23:40:46 +0000 (UTC) (envelope-from lists@webtent.net) Received: from genoa.webtent.org (static-70-110-70-42.tampfl.fios.verizon.net [70.110.70.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 350AF43D48 for ; Mon, 8 May 2006 23:40:45 +0000 (GMT) (envelope-from lists@webtent.net) Received: from columbus.webtent.org (columbus.webtent.org [192.168.1.25]) by genoa.webtent.org (Postfix) with ESMTP id 092188A02A for ; Mon, 8 May 2006 19:40:44 -0400 (EDT) From: Robert Fitzpatrick To: FreeBSD Content-Type: text/plain Date: Mon, 08 May 2006 19:40:44 -0400 Message-Id: <1147131644.31831.29.camel@columbus.webtent.org> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 Content-Transfer-Encoding: 7bit Subject: Auto mount/unmount USB hard drive 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, 08 May 2006 23:40:46 -0000 I have a USB hard drive mounting and working fine. I have the following entry in /etc/fstab that allows it to work on boot. The device loads as /dev/da4. But if I disconnect without unmounting the device, it detaches, but when plugged back in, it receives a new device as /dev/da5, which is not what is in fstab of course, yada, yada, yada. Is there a way I can get it to automatically mount/unmount the drive while working under the same device id as I unplug and plug back in? /dev/da4s1 /mnt/usb msdos rw,noauto 0 0 Also, if I try to reboot after unplugging the device, I get a page fault error. Not sure where this error is in the logs so I can post here in my message. -- Robert