From owner-freebsd-questions Wed Sep 11 17:52:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A536137B400 for ; Wed, 11 Sep 2002 17:52:18 -0700 (PDT) Received: from aji.wilshire.net (mail.wilshire.net [64.161.77.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05D0943E42 for ; Wed, 11 Sep 2002 17:52:18 -0700 (PDT) (envelope-from rileyjmc@pacbell.net) Received: from emilyd (emilyd.wilshire.net [10.100.123.20]) by aji.wilshire.net (8.12.3/8.12.3) with SMTP id g8C0nvqC091177 for ; Wed, 11 Sep 2002 17:49:58 -0700 (PDT) (envelope-from rileyjmc@pacbell.net) From: "Riley J. McIntire" To: "FreeBSD Questions" Subject: Can't delete a directory Date: Wed, 11 Sep 2002 17:52:15 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, Prior to a buildworld (adding sasl support to sendmail by installing cyrus-sasl2 and modifying /etc/make.conf on 4.6.2-RELEASE) when removing the old /usr/obj/usr this happened: root@wimp:obj# chflags -R noschg * && \rm -r usr/ rm: usr/src/fsck_msdosfs: Directory not empty rm: usr/src: Directory not empty rm: usr/: Directory not empty root@wimp:obj# ls -ilaFo usr/src/fsck_msdosfs/ total 4 155993 drwxr-xr-x 2 root wheel - 512 Sep 11 17:14 ./ 133634 drwxr-xr-x 3 root wheel - 512 Sep 11 17:14 ../ root@wimp:obj# ls -ilaFo usr/src/ total 6 133634 drwxr-xr-x 3 root wheel - 512 Sep 11 17:14 ./ 133633 drwxr-xr-x 3 root wheel - 512 Sep 1 13:58 ../ 155993 drwxr-xr-x 2 root wheel - 512 Sep 11 17:14 fsck_msdosfs/ It will move within the fs, but not across: root@wimp:src# mv fsck_msdosfs/ /usr root@wimp:src# ll total 4 drwxr-xr-x 2 root wheel - 512 Sep 11 17:45 ./ drwxr-xr-x 3 root wheel - 512 Sep 1 13:58 ../ root@wimp:src# mv /usr/fsck_msdosfs/ /tmp mv: /usr/fsck_msdosfs/: Directory not empty mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link root@wimp:src# Any ideas? Thanks, Riley Warning: this .sig is umop ap!sdn Oh, I'm sorry...did I break your concentration? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message