From owner-freebsd-stable@FreeBSD.ORG Sat Jun 14 07:16:21 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87C62106564A for ; Sat, 14 Jun 2008 07:16:21 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.freebsd.org (Postfix) with ESMTP id 1F8238FC1E for ; Sat, 14 Jun 2008 07:16:20 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m5E7GIXr019398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jun 2008 17:16:19 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m5E7GIA4048604; Sat, 14 Jun 2008 17:16:18 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m5E7GIQ7048603; Sat, 14 Jun 2008 17:16:18 +1000 (EST) (envelope-from peter) Date: Sat, 14 Jun 2008 17:16:18 +1000 From: Peter Jeremy To: Goran Lowkrantz Message-ID: <20080614071617.GJ13734@server.vk2pj.dyndns.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Unusually large directory - 2.0 peta bytes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2008 07:16:21 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Jun-14 07:17:56 +0200, Goran Lowkrantz wrote: >drwxr-xr-x 2 root wheel 2251799813685760 Jun 14 04:06 . This is 0x8000000000200 ># od -c /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/PerlIO | more >0000000 s 313 O \0 \f \0 004 001 . \0 \0 \0 1 313 O \0 >0000020 364 001 004 002 . . \0 \0 t 313 O \0 024 \0 \b \t >0000040 P e r l I O . s o \0 217 300 u 313 O \0 >0000060 324 001 \b \t P e r l I O . b s \0 217 300 >0000100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 >* >0001000 \0 \0 \0 \0 \0 002 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 =2E.. >This does not look like a directory, it looks like a shared library,=20 >PerlIO.so, that somehow got the directory bit set. Actually, no. It looks like a valid directory that somehow managed to get the high bit in its length set (random bit flip). The od output makes it look like it contains (or used to contain) PerlIO.so and PerlIO.bs. >Second, how do I remove the directory bit so I can delete the file? I'd try a fsck - that may detect the inconsistency and fix it to the point where rm works. If not, then you'll need to use fsdb(8) - just be careful with the latter - you can do major damage with it. Your second issue is how you got a random bit-flip - you might like to check your hardware. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEUEARECAAYFAkhTcEEACgkQ/opHv/APuIeDmwCgo0F3JOOPLt18DR680rr9oLlx fhIAmM+ot+4EIgtWT94GgRDtF+2omvY= =Efmw -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--