Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2006 21:42:35 +0100
From:      Chris Whitehouse <chris@childeric.freeserve.co.uk>
To:        Jack Stone <antennex@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cannot delete stubborn files - New Hint
Message-ID:  <4484973B.8020604@childeric.freeserve.co.uk>
In-Reply-To: <BAY106-F214BED5FF32D7139BB12ECC940@phx.gbl>
References:  <BAY106-F214BED5FF32D7139BB12ECC940@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Jack Stone wrote:
>> From: Chris Whitehouse <chris@childeric.freeserve.co.uk>
>> CC: freebsd-questions@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
>>
> 
> Chris: Yes, there are others:
> 
> The one I can't delete:
> /tmp2/local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
> ....and the others
> /usr/libdata/perl/5.00503/Sys/Hostname.pm
> /usr/local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
> 
> 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 
involving clri(8)

http://groups.google.com/group/fa.freebsd.questions/browse_thread/thread/b031f4a77ccd26a3/0e8f61e4e58fd4a5?lnk=st&q=group%3A*.freebsd.*+%22terminated+with+1+(non-zero)+status%3A+Cross-device+link%22&rnum=3#0e8f61e4e58fd4a5

(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.

Chris




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