31.08.2011 21:35, Eugene Grosbein пишет: > # ls -al /usr/local/obj/usr/local/src/secure/lib/libssh > ls: : No such file or directory > total 8 > drwxr-xr-x 2 root wheel 4608 Aug 30 01:28 . > drwxr-xr-x 3 root wheel 512 Aug 30 01:28 .. > > # rm -rf /usr/local/obj/usr/local/src/secure/lib/libssh > rm: /usr/local/obj/usr/local/src/secure/lib/libssh: Directory not empty > > As I've said, I cold booted this FreeBSD 8.2-STABLE system to single user mode > where all file systems are not mounted (except root) and ran fsck -y > /usr/local > It found no errors and said it is CLEAN. The problem still persists. > > I've written small program and it said me this directory contains third file > (besides <.> and <..> entries) having zero file length.
Not file but file name length is zero. I've just found that dircheck() function in src/sbin/fsck_ffs/dir.c simply does not check if d_namlen is zero as it should, shouldn't it? Eugene Grosbein _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"