From owner-freebsd-questions@FreeBSD.ORG Mon Jan 15 15:48:01 2007 Return-Path: X-Original-To: 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 753AF16A407 for ; Mon, 15 Jan 2007 15:48:01 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5324913C448 for ; Mon, 15 Jan 2007 15:48:01 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 30913 invoked from network); 15 Jan 2007 15:48:00 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Jan 2007 15:48:00 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id EC1722842F; Mon, 15 Jan 2007 10:47:59 -0500 (EST) To: Robert Huff References: <17831.45103.444603.422280@jerusalem.litteratus.org> From: Lowell Gilbert Date: Mon, 15 Jan 2007 10:47:59 -0500 In-Reply-To: <17831.45103.444603.422280@jerusalem.litteratus.org> (Robert Huff's message of "Fri, 12 Jan 2007 10:58:39 -0500") Message-ID: <44ac0kb8b4.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: fsck operation 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, 15 Jan 2007 15:48:01 -0000 Robert Huff writes: > Let's say fsck is examining a filesystem, and determines the > block count is wrong for file FOO. When it adjusts the value, does > it leave a trace (e.g. changed modification time for the file) or > would one have to not such changes by hand? It looks to me as though fsck(8) doesn't help you in this area. [Changing the modification timestamp would be the wrong thing to do anyway, in my opinion -- the contents haven't necessarily been changed since the previous time the stamp was touched. Other fields might make sense, though.] I don't claim to be an authoritative voice on this, however. Also note that the filesystem type might affect the answer; I only checked the code for FFS. Be well. Lowell Gilbert