From owner-freebsd-questions@FreeBSD.ORG Tue Sep 7 15:50:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACC6216A4CE for ; Tue, 7 Sep 2004 15:50:12 +0000 (GMT) Received: from web53909.mail.yahoo.com (web53909.mail.yahoo.com [206.190.36.219]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F51A43D58 for ; Tue, 7 Sep 2004 15:50:12 +0000 (GMT) (envelope-from akhali1@yahoo.com) Message-ID: <20040907155009.48813.qmail@web53909.mail.yahoo.com> Received: from [4.21.77.2] by web53909.mail.yahoo.com via HTTP; Tue, 07 Sep 2004 08:50:09 PDT Date: Tue, 7 Sep 2004 08:50:09 -0700 (PDT) From: Aram Khalili To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: . and .. directories missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 15:50:12 -0000 Hello, I'm having some trouble with FreeBSD on my T20 ThinkPad. There is a problem with the hard disk that prevents me from booting into multi-user mode. I'm not exactly sure what the problem is; fsck reports many hundreds of errors on the /usr & /home partitions, claims to fix those, but doesn't. If I run fsck back to back, the same errors show up. When I reboot after fsck, it does attempt to boot (since filesystems are marked clean) but panic, and fails to sync 1 buffer. Not sure which one, but it's always 1 buffer. I'm also not entirely sure what caused this problem to occur, but right before when it occurred I was doing a massive portupgrade -rR of many things, and many (but not all) of the disk problems seem to be in the /usr/ports tree. Now to the things that I do know: I suddenly have many directories, particularly under /usr/ports, that do not have the normal . and .. entries. I also cannot rmdir or rm -rf them, because it says they're not empty (except they're as empty as I've seen, ls -al returns no lines). Why would that occur. Is there a way to put them back in? Could I ln . to what, maybe .? and ln .. to the parent directory? Anybody have any ideas as to what could have occurred or what I can do to fix the problem? I have downloaded, burned & booted the excellent FreeSBIE disk and I can mount and access the hard disk partitions that way. Also, the install CDs mention a repair disk in their install menu, that I couldn't find images for. Instead I used FreeSBIE. I was tracking STABLE (4.10) and had done an update & rebuild of the system about 10 days ago. -aram __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail