Date: Wed, 11 Sep 2002 17:52:15 -0700 From: "Riley J. McIntire" <rileyjmc@pacbell.net> To: "FreeBSD Questions" <freebsd-questions@FreeBSD.org> Subject: Can't delete a directory Message-ID: <HEEELMCBPANKADCOBOFPGEJHGAAA.rileyjmc@pacbell.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HEEELMCBPANKADCOBOFPGEJHGAAA.rileyjmc>