From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 23:40:08 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 00F2637B404 for ; Wed, 18 Jun 2003 23:40:08 -0700 (PDT) Received: from hotmail.com (bay8-f73.bay8.hotmail.com [64.4.27.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51EFB43FB1 for ; Wed, 18 Jun 2003 23:40:07 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 18 Jun 2003 23:40:07 -0700 Received: from 203.199.109.165 by by8fd.bay8.hotmail.msn.com with HTTP; Thu, 19 Jun 2003 06:40:06 GMT X-Originating-IP: [203.199.109.165] X-Originating-Email: [unixtools@hotmail.com] From: "Sunil Sunder Raj" To: jaime@snowmoon.com Date: Thu, 19 Jun 2003 12:10:06 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Jun 2003 06:40:07.0295 (UTC) FILETIME=[9F7180F0:01C3362D] cc: freebsd-questions@freebsd.org 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: Thu, 19 Jun 2003 06:40:08 -0000 Hi, 1) First get the inode no of the file ls -li #pico29506# 2) find . -inum -delete Regards SSR >From: Jaime >To: freebsd-questions@freebsd.org >Subject: bad file descriptor >Date: Tue, 17 Jun 2003 09:06:10 -0400 (EDT) > > 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 > > Thanks in advance, > Jaime > >"To affect the quality of the day, that is the highest of arts." > - Henry David Thoreau, _Where_I_Live_ >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Chill out. Win a Himalayan holiday! http://server1.msn.co.in/sp03/summerfun/index.asp