Jack Stone wrote:
From: Chris Whitehouse <[EMAIL PROTECTED]>
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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to