ghost files

Super Biscuit super_bisquit at
Sun Aug 7 22:01:07 UTC 2011

I suggest sprinkling holy water on your computer and then hitting a bong.

--- On Sun, 8/7/11, deeptech71 at <deeptech71 at> wrote:

From: deeptech71 at <deeptech71 at>
Subject: ghost files
To: freebsd-current at
Date: Sunday, August 7, 2011, 6:08 AM

as of recent times, some git rebase operations fail unexpectedly with
an error: "cannot create .git/index.lock: file exists". an
investigation session was something like the following:
$ ls -l .git
the index.lock file is not in the shown list.
$ ls -l .git/index.lock
the file is listed! it's a regular file, its size is ~60KiB.
$ cat .git/index.lock
some file content is shown.
$ mv .git/index.lock .git/someplace
moving fails with: index.lock: file does not exist.
$ ee .git/index.lock
some file content is shown, which i edit and save. then the
.git/index.lock file really disappears (cat, direct ls, ee, mv, etc.
do not find the file), and the content i put in the .git/index.lock
file via ee is now in .git/index.


i still have some git rebase operations (which are notably
disk-active) fail from time to time with "impossible" reasons (for
example: something like "cherry picking failed", or something like
"cannot move git-rebase-new to git-rebase-todo: file does not exist").

i'd note that the hard drive is kind of old (>7 years), and i recently
had the power cut during port build operations twice, although the
(UFS) filesystem is fsck-clean.

has anyone experienced anything like this?
what is the possibility of a filesystem/kernel bug or fsck bug?
freebsd-current at mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscribe at"

More information about the freebsd-current mailing list