Date: Tue, 12 Apr 2005 17:42:14 -0500 From: Guillermo Garcia-Rojas <garciarojas@gmail.com> To: f-questions <freebsd-questions@freebsd.org> Subject: Re: Can't remove empty directory Message-ID: <397b2cad05041215421f6b705a@mail.gmail.com> In-Reply-To: <20050412223327.GB71285@xor.obsecurity.org> References: <425C4834.2090909@gmail.com> <20050412223327.GB71285@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
After moving the directory, the system will prompt for a corruption on the filesystem and a simple fsck, as you say, will fix the problem :) These are my 2 cents. On 4/12/05, Kris Kennaway <kris@obsecurity.org> wrote: > On Tue, Apr 12, 2005 at 12:14:12PM -1000, Robert Marella wrote: >=20 > > drwxr-xr-x 3 root wheel 1024 Apr 12 10:06 . > > drwxr-xr-x 3 root wheel 512 Apr 12 10:06 .. > > drwxr--r-- 4 root wheel 0 Apr 12 09:51 gail > > p4# chflags -R noschg gail > > p4# rm -r gail > > rm: gail: Directory not empty > > p4# rm gail > > rm: gail: is a directory > > p4# rmdir gail > > rmdir: gail: Directory not empty > > p4# > > > > The obvious problem is that the number of links is incorrect but I don'= t > > know how to make that right. > > > > Any help is greatly appreciated. >=20 > Unmount the filesystem and run fsck to repair the filesystem > corruption. >=20 > Kris >=20 >=20 >=20 --=20 --- Guillermo Garc=EDa Rojas Covarrubias Director General=20 SoloBSD http://www.solobsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?397b2cad05041215421f6b705a>