From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 16:34:46 2004 Return-Path: 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 24E4E16A4CE for ; Tue, 13 Jul 2004 16:34:46 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADFF243D49 for ; Tue, 13 Jul 2004 16:34:45 +0000 (GMT) (envelope-from tuc@ttsg.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)i6DGYi6i004799 for ; Tue, 13 Jul 2004 12:34:45 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id i6DGYiHK062645 for ; Tue, 13 Jul 2004 12:34:44 -0400 (EDT) (envelope-from tuc@ttsg.com) Received: (from tuc@localhost)i6DGYiCF062644 for freebsd-questions@freebsd.org; Tue, 13 Jul 2004 12:34:44 -0400 (EDT) (envelope-from tuc) From: Tuc Message-Id: <200407131634.i6DGYiCF062644@himinbjorg.tucs-beachin-obx-house.com> To: freebsd-questions@freebsd.org Date: Tue, 13 Jul 2004 12:34:44 -0400 (EDT) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Odd issue with file descriptor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 16:34:46 -0000 Hi, Having a weird problem. %df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 516062 112528 362250 24% / /dev/da1s1e 70566166 7792 64913082 0% /data /dev/da2s1e 35283058 1430 32458984 0% /logs /dev/da0s1f 516062 16 474762 0% /tmp /dev/da0s1g 31669682 3640150 25495958 12% /usr /dev/da0s1e 516062 8086 466692 2% /var procfs 4 4 0 100% /proc %cd /logs %ls 20040705 20040707 20040709 20040711 20040713 20040706 20040708 20040710 20040712 lost+found %cd 20040705 %ls www17-00_access_log %ls -la ls: www17-00_access_log: Bad file descriptor total 4 drwxr-xr-x 2 root wheel 512 Jul 12 23:59 . drwxr-xr-x 12 root wheel 512 Jul 13 00:00 .. What happened with this file? How do I "delete" it so I can delete the directory too, otherwise : %rm -rf 20040705 rm: 20040705/www17-00_access_log: Bad file descriptor rm: 20040705: Directory not empty Thanks, Tuc/TTSG Internet Services, Inc.