Date: Sat, 14 Jun 2008 17:16:18 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Goran Lowkrantz <goran.lowkrantz@ismobile.com> Cc: freebsd-stable@freebsd.org Subject: Re: Unusually large directory - 2.0 peta bytes Message-ID: <20080614071617.GJ13734@server.vk2pj.dyndns.org> In-Reply-To: <A5C7E718EA9AEAAB810F0E8E@[10.255.253.2]> References: <A5C7E718EA9AEAAB810F0E8E@[10.255.253.2]>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <goran.lowkrantz@ismobile.co= m> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080614071617.GJ13734>