From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 02:21:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FFCE16A46C for ; Tue, 12 Jun 2007 02:21:55 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id 1E15E13C4CA for ; Tue, 12 Jun 2007 02:21:54 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1043474mue for ; Mon, 11 Jun 2007 19:21:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o34OulELqNscnS2grpFg5C4PZMpC0spqqa+Cm/v6d7KOzNvHfSIPEN2p/X//0h4eZF0YVfDl/BEG5X1/3XTbFZJ9AYrHgWhHxajMs/MCYxTMza1GJa7pDoqWQLzRrRjk7A8rmLvM7pONZW4vgWqklPaS3tvAj8iWqwPIh61ixRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Bxtet6updIhhBp/Q8IaHWpd+/kfwy7GnRLsT3X+uOTwByIUscTzBucJCW108VebZE+NqGS+e9/VtXC4ML3CZyg0LU5T0mbGNwN4X8u8bV4jVAdEfwhzsOkIxYJxJGSbawNn/uMp/XMkUZq8cWDN7znao2htAc4bQQr99W4tIblU= Received: by 10.82.174.20 with SMTP id w20mr12200450bue.1181614912243; Mon, 11 Jun 2007 19:21:52 -0700 (PDT) Received: by 10.82.187.12 with HTTP; Mon, 11 Jun 2007 19:21:52 -0700 (PDT) Message-ID: Date: Mon, 11 Jun 2007 21:21:52 -0500 From: "illoai@gmail.com" To: Modulok In-Reply-To: <64c038660706111652p311c6d84i1ec295edcfc16994@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <64c038660706111652p311c6d84i1ec295edcfc16994@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: umount -f 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: Tue, 12 Jun 2007 02:21:55 -0000 On 11/06/07, Modulok wrote: > 3. Is there any safe way to unconditionally umount a file system, even if a > run-away process is writing to it (as bad of an idea as this is)? UFS is refreshingly robust (at least in my experience) in this regard, in that you may end up with a truncated (or slightly mauled) file but never a corrupt filesystem. Even kicking the power cord out only results in minor, repairable corruption something like 30% of the time. Again, in terms of personal experience I would suggest that umount -f is shrug-inducingly "safe" at 3 or 4 nines of the time. -- --