Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 11:34:10 -0700
From:      "Riley J. McIntire" <rileyjmc@pacbell.net>
To:        "John Mills" <john.m.mills@alum.mit.edu>, "Riley J. McIntire" <rileyjmc@pacbell.net>
Cc:        "Beech Rintoul" <akbeech@sinbad.net>, "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Can't delete a directory
Message-ID:  <HEEELMCBPANKADCOBOFPKEMGGIAA.rileyjmc@pacbell.net>
In-Reply-To: <Pine.LNX.4.21.0209121012530.4243-100000@otter.mills-atl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> > root@wimp:obj# rm -rf usr/
> > rm: usr/fsck_msdosfs: Directory not empty
> > rm: usr/: Directory not empty
> > root@wimp:obj#
>
> Sorry - I came in late on this. Even as root! Is this behavior limited to
> DOS directories?

This isn't a DOS directory, it's the remnants of the last buildworld (this
machine is "Build Master" for the other servers on the network).

As such, /usr/obj is an NFS export.  However, /usr/obj/usr/fsck_msdosfs
isn't mounted.  And after "umount -at nfs" on the other servers just to make
sure the error still occurs.

It's not convenient to take this down to single user, and I'm concerned this
might be a symptom of a more serious problem, although the logs show
nothing.

> # consider interactive use here: 'rm -i $FILENAME'
>   echo "Removing "$FILENAME
>   rm -f $FILENAME
>  done
>  echo "Removing directories below "$1
>  rm -rf $1
> fi

Seems to me running rm -rf in a script wouldn't do any more than cli.

Thanks for the help!

Riley


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?HEEELMCBPANKADCOBOFPKEMGGIAA.rileyjmc>