From owner-freebsd-questions@FreeBSD.ORG Tue Jun 17 06:49:12 2003 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 BE5E737B401 for ; Tue, 17 Jun 2003 06:49:12 -0700 (PDT) Received: from pat.uio.no (pat.uio.no [129.240.130.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ABF543FAF for ; Tue, 17 Jun 2003 06:49:11 -0700 (PDT) (envelope-from heikkis@ifi.uio.no) Received: from mail-mx1.uio.no ([129.240.10.29]) by pat.uio.no with esmtp (Exim 2.12 #7) id 19SGpi-0001aB-00 for freebsd-questions@freebsd.org; Tue, 17 Jun 2003 15:49:10 +0200 Received: from [129.240.130.14] (helo=mons.uio.no) by mail-mx1.uio.no with esmtp (Exim 4.14) id 19SGpd-0005sR-NU for freebsd-questions@freebsd.org; Tue, 17 Jun 2003 15:49:05 +0200 Received: from snapp.uio.no ([129.240.130.64]) by mons.uio.no with esmtp (Exim 2.12 #7) id 19SGpe-00068X-00 for freebsd-questions@freebsd.org; Tue, 17 Jun 2003 15:49:06 +0200 Received: from ves-dhcp115.studby.uio.no ([129.240.102.145] helo=c-ko) by snapp.uio.no with smtp (Exim 2.12 #7) id 19SGpe-0006nI-00 for freebsd-questions@freebsd.org; Tue, 17 Jun 2003 15:49:06 +0200 Date: Tue, 17 Jun 2003 15:54:16 +0200 From: heikki soerum To: freebsd-questions@freebsd.org Message-Id: <20030617155416.128df944.heikkis@ifi.uio.no> In-Reply-To: <20030617090348.G94567@malkav.snowmoon.com> References: <20030617090348.G94567@malkav.snowmoon.com> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning. X-UiO-MailScanner: No virus found Subject: Re: bad 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, 17 Jun 2003 13:49:13 -0000 On Tue, 17 Jun 2003 09:06:10 -0400 (EDT) Jaime wrote: > Can anyone explain this? It looks like I can't delete a given > file. This file has been causing weird errors with just about > everything, including tar, rm, ls -l, etc. It resides on a vinum > RAID-5 array, which is the only strange thing I can think of about it. > > zeus# ls > #pico29506# .login .shrc > cdtashirt.jpg > .addressbook .login_conf > .spamassassin cdtashirtstitch.jpg.addressbook.lu > .mail_aliases December 2002 > Newsletter.docs dead.letter > .aspell.en.prepl .mailrc > Documents mail.aspell.en.pws > .pinerc Lawrence.JPG > mbox.aspell.english.prepl .profile > October 2002 Newsletter.doc public_html.aspell.english.pws > .qmail.backup.from.cyrus October 2002 Newsletter.doc. > .cshrc .rhosts acker > zeus# rm "#pico29506#" > rm: #pico29506#: Bad file descriptor > zeus# whoami > root # is usually an special character, I usually delete such files with Midnight Commander (mc shell), another possibility might be to not use "" but rather use an \ backslash before every special character. I'm not guaranteeing that it would work though. :/ Heikki S. -- If people say that here and there someone has been taken away and maltreated, I can only reply: You can't make an omelette without breaking eggs. -- Hermann Goering