From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 17:52:28 2004 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 92BCF16A4CE for ; Thu, 9 Sep 2004 17:52:28 +0000 (GMT) Received: from prime.gushi.org (prime.gushi.org [65.125.228.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4863943D5A for ; Thu, 9 Sep 2004 17:52:28 +0000 (GMT) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (danm@prime.gushi.org [65.125.228.130]) by prime.gushi.org (8.13.1/8.13.1) with ESMTP id i89HxcuR072621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 9 Sep 2004 13:59:40 -0400 (EDT) Date: Thu, 9 Sep 2004 13:59:38 -0400 (EDT) From: "Dan Mahoney, System Admin" To: questions@freebsd.org Message-ID: <20040909135507.H70280@prime.gushi.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: cleaner handling of mount point disappearance 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: Thu, 09 Sep 2004 17:52:28 -0000 Hey guys, Assume I have a USB hard drive attached to my machine. Is there any way to make it so that, in the event the drive is mounted and disappears (i.e. is unplugged), the system doesn't vomit on itself (i.e. kernel panic?) I can deal with the fact that data may not be written cleanly to the drive, and that the dirty bit will stay set, and I'm contemplating playing with automount as well, but it won't help the fact that assuming I cd /backupdrive, leave the system sitting there (i.e. no data writes), and unplug the drive without a umount, the system will go kerplooey. Any ideas? -Dan Mahoney -- "Hey, call me anything you like. I'm Dan to my friends, gushi to my close friends, 'hey, you' to my girlfriend, 'mrrow?' to my cat, and 'why the hell is the router on fire?' to my job. -Dan Mahoney 12/2/02 --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---------------------------