bad file descriptor

Sunil Sunder Raj unixtools at hotmail.com
Wed Jun 18 23:40:08 PDT 2003


Hi,
1) First get the inode no of the file
ls -li #pico29506#

2) find . -inum <inode no> -delete

Regards
SSR


>From: Jaime <jaime at snowmoon.com>
>To: freebsd-questions at 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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at freebsd.org"

_________________________________________________________________
Chill out. Win a Himalayan holiday! 
http://server1.msn.co.in/sp03/summerfun/index.asp



More information about the freebsd-questions mailing list