Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 12:10:06 +0530
From:      "Sunil Sunder Raj" <unixtools@hotmail.com>
To:        jaime@snowmoon.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bad file descriptor
Message-ID:  <BAY8-F73gHbOEMBRWtC0000bd77@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
1) First get the inode no of the file
ls -li #pico29506#

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

Regards
SSR


>From: Jaime <jaime@snowmoon.com>
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY8-F73gHbOEMBRWtC0000bd77>