Cannot delete stubborn files - New Hint
chris at childeric.freeserve.co.uk
Mon Jun 5 13:42:45 PDT 2006
Jack Stone wrote:
>> From: Chris Whitehouse <chris at childeric.freeserve.co.uk>
>> CC: freebsd-questions at freebsd.org
>> Subject: Re: Cannot delete stubborn files - New Hint
>> Date: Sun, 04 Jun 2006 22:59:48 +0100
>> Update your locate database and see if there are any other instances
>> of the file? Just a shot in the dark
> Chris: Yes, there are others:
> The one I can't delete:
> ....and the others
> What would be the issue if the above exists?
I am wondering if you can do something with the other link if there is
one, eg delete it.
How many links does
ls -l /tmp2/local/lib/perl5/5.6.1/mach/Sys/Hostname.pm show. I'm
guessing it is linked to the one in perl5/5.6.1.
Do you need perl 5.6.1? (sorry lost the earlier threads)
Can you delete /usr/local/lib/perl5/5.6.1/mach/Sys/Hostname.pm, then can
you delete the one in tmp2?
Alternative this thread has instructions which which you might be able
to adapt do what you want - see the response from Matthew Seaman
(sorry rather long line)
It relates to Fbsd 4.6 but clri is still around so could still work. It
does say it is dangerous and this example relates to a msdos filesystem.
More information about the freebsd-questions