Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 11:28:54 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        george <george@vagner.com>
Cc:        questions <questions@freebsd.org>
Subject:   Re: cant delete directory
Message-ID:  <Pine.GSO.4.31.0111291125030.22773-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <KKEHKNLEIDMDLKDOMLGFKEINCFAA.george@vagner.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Nov 2001, george wrote:

> I am trying to delete a directory but it keeps giving me errors
>
> see below
>
> gateway# chflags -R noschg SysV
> gateway# ll
> total 1
> drwxrwxrwx  4 root  wheel  512 Nov 28 19:15 SysV
> gateway# rm -rf SysV
> rm: SysV: Directory not empty
> gateway# ls -la SysV
> total 2
> drwxrwxrwx  4 root  wheel  512 Nov 28 19:15 .
             ^^^

This would indicate that there are two subdirectories of SysV. Or at
least, it thinks there are. References to "." come from:
	1 from the parent directory
	1 from the "." entry itself
	1 from each ".." entry in each subdirectory

> drwxr-xr-x  3 root  wheel  512 Aug 31 22:19 ..
> gateway#
>
>
>
> could it be corrupt or something? i been having hard disk problems lately
> with this partition.

It certainly looks like that; fsck ought to pick up problems like this,
however.

> fsck output donnt show anything bad.

You might try fsdb(8).


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
"My army boots contain everything not in them." - Russell's pair o' Docs.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.31.0111291125030.22773-100000>