From owner-freebsd-firewire@FreeBSD.ORG Sun Dec 21 10:59:13 2003 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13B0116A4CE for ; Sun, 21 Dec 2003 10:59:13 -0800 (PST) Received: from mail.wolves.k12.mo.us (duey.wolves.k12.mo.us [207.160.214.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id BACED43D53 for ; Sun, 21 Dec 2003 10:59:10 -0800 (PST) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 1864B1FE3E; Sun, 21 Dec 2003 12:59:10 -0600 (CST) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (duey.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 47074-05; Sun, 21 Dec 2003 12:59:09 -0600 (CST) Received: by mail.wolves.k12.mo.us (Postfix, from userid 1001) id 3F7101FE1D; Sun, 21 Dec 2003 12:59:09 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 3E2A41A927; Sun, 21 Dec 2003 12:59:09 -0600 (CST) Date: Sun, 21 Dec 2003 12:59:09 -0600 (CST) From: Chris Dillon To: Mathias Haas In-Reply-To: <3FE21E61.3080303@haas.se> Message-ID: <20031221123041.R47428@duey.wolves.k12.mo.us> References: <27378.193.14.163.194.1071750767.squirrel@mail.haas.se> <20031218212616.GD51181@wiz.com> <3FE21E61.3080303@haas.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at wolves.k12.mo.us cc: freebsd-firewire@freebsd.org Subject: Re: Hotplug? X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2003 18:59:13 -0000 On Thu, 18 Dec 2003, Mathias Haas wrote: > In Linux (2.4.x kernel) and Windows it's possible to simply > disconnect the drive and put it in a bag. I don't know about Linux, but in Windows it is not OK to simply unplug most removable hardware. In Windows 2000 and later, you must use the "Safely Remove Hardware" icon on your taskbar before removing any USB, Firewire, PCMCIA, Hot-Plug PCI, and possibly some other types of removable hardware. If you don't use this feature, you will probably get away with it most of the time, but you run the risk of damaging hardware, corrupting a filesystem, losing data, or crashing the OS. Windows tries to reduce the potential for lost data and/or corrupted filesystems by either turning off the write-cache for removable storage entirely, or keeping the write delay very short. > I wanted to know if this is possible in FreeBSD as well. No more than it is in Windows and Linux. There are ways to lower the chances of a failure on sudden removal of a device, but you can't guarantee it 100% without the user first telling the OS that the device is about to go away. Remember, its called "Hot-Plug", not "Hot-Unplug". :-) -- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest, most open, and most stable OS on the planet - Available for IA32, IA64, PC98, Alpha, and UltraSPARC architectures - x86-64, PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon?