bad file descriptor
heikki soerum
heikkis at student.matnat.uio.no
Tue Jun 17 06:49:13 PDT 2003
On Tue, 17 Jun 2003 09:06:10 -0400 (EDT)
Jaime <jaime at 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
More information about the freebsd-questions
mailing list