Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2007 10:47:59 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: fsck operation
Message-ID:  <44ac0kb8b4.fsf@be-well.ilk.org>
In-Reply-To: <17831.45103.444603.422280@jerusalem.litteratus.org> (Robert Huff's message of "Fri, 12 Jan 2007 10:58:39 -0500")
References:  <17831.45103.444603.422280@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Huff <roberthuff@rcn.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ac0kb8b4.fsf>