Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 15:54:16 +0200
From:      heikki soerum <heikkis@student.matnat.uio.no>
To:        freebsd-questions@freebsd.org
Subject:   Re: bad file descriptor
Message-ID:  <20030617155416.128df944.heikkis@ifi.uio.no>
In-Reply-To: <20030617090348.G94567@malkav.snowmoon.com>
References:  <20030617090348.G94567@malkav.snowmoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Jun 2003 09:06:10 -0400 (EDT)
Jaime <jaime@snowmoon.com> 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



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