Re: Cannot delete stubborn files - New Hint

2006-06-05 Thread Chris Whitehouse

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=stq=group%3A*.freebsd.*+%22terminated+with+1+(non-zero)+status%3A+Cross-device+link%22rnum=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]


Cannot delete stubborn files

2006-06-04 Thread Jack Stone

Hello:
I have 2 files that resists all efforts to delete them. I can even move them 
to another directory, but still cannot delete. Can chmod too, but still same 
resistance;


I originally figured they occupied a bad spot on the HD, but now not sure 
about that.


Please, any suggestions about what to do to remove these files?

Here are the files and the error message:
rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted
rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted

I've gone all the way down to the last dir and tried to delete them there. 
No joy!
All directories in between only include the dirs and no files. I want to 
delete the entire path of directories, but those 2 stubborn files will not 
permit that.


rm: local/lib/perl5/5.6.1/mach/Sys: Directory not empty

Please, any help appreciated!

Thank you,
Jack L Stone.

_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


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


Re: Cannot delete stubborn files

2006-06-04 Thread Peter

--- Jack Stone [EMAIL PROTECTED] wrote:

 Hello:
 I have 2 files that resists all efforts to delete them. I can even
 move them 
 to another directory, but still cannot delete. Can chmod too, but
 still same 
 resistance;
 
 I originally figured they occupied a bad spot on the HD, but now not
 sure 
 about that.
 
 Please, any suggestions about what to do to remove these files?
 
 Here are the files and the error message:
 rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not
 permitted
 rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted
 
 I've gone all the way down to the last dir and tried to delete them
 there. 
 No joy!
 All directories in between only include the dirs and no files. I want
 to 
 delete the entire path of directories, but those 2 stubborn files
 will not 
 permit that.
 
 rm: local/lib/perl5/5.6.1/mach/Sys: Directory not empty

Try:

# rm -rf local/lib/perl5/5.6.1/mach/Sys

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot delete stubborn files

2006-06-04 Thread Chris Hill

On Sun, 4 Jun 2006, Jack Stone wrote:


I have 2 files that resists all efforts to delete them.


[...]


Here are the files and the error message:
rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted
rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted


Make sure the files do not have the system immutable flag set:

# chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
# chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm

...and then see if you can't delete them. I don't know why the flag 
would be set, but it's something to try.


HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot delete stubborn files

2006-06-04 Thread Jack Stone

From: Peter [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED], freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 09:17:09 -0400 (EDT)


--- Jack Stone [EMAIL PROTECTED] wrote:

 Hello:
 I have 2 files that resists all efforts to delete them. I can even
 move them
 to another directory, but still cannot delete. Can chmod too, but
 still same
 resistance;

 I originally figured they occupied a bad spot on the HD, but now not
 sure
 about that.

 Please, any suggestions about what to do to remove these files?

 Here are the files and the error message:
 rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not
 permitted
 rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted

 I've gone all the way down to the last dir and tried to delete them
 there.
 No joy!
 All directories in between only include the dirs and no files. I want
 to
 delete the entire path of directories, but those 2 stubborn files
 will not
 permit that.

 rm: local/lib/perl5/5.6.1/mach/Sys: Directory not empty

Try:

# rm -rf local/lib/perl5/5.6.1/mach/Sys



Peter: That's among the first thigs tried, at all levels -- no joy!

The problem seems to be the *.pm files at the end of the path. Once they can 
be deleted, then all dirs should then go.


THX
Jack

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


Re: Cannot delete stubborn files

2006-06-04 Thread Jack Stone

From: Chris Hill [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)

On Sun, 4 Jun 2006, Jack Stone wrote:


I have 2 files that resists all efforts to delete them.


[...]


Here are the files and the error message:
rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted
rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted


Make sure the files do not have the system immutable flag set:

# chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
# chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm

...and then see if you can't delete them. I don't know why the flag would 
be set, but it's something to try.


HTH.

--
Chris Hill   [EMAIL PROTECTED]


Chris: Tried that at the very first. No joy!

THX
Jack

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: Cannot delete stubborn files

2006-06-04 Thread David J Brooks
On Sunday 04 June 2006 08:11, Jack Stone wrote:
 Hello:
 I have 2 files that resists all efforts to delete them. I can even move
 them to another directory, but still cannot delete. Can chmod too, but
 still same resistance;

 I originally figured they occupied a bad spot on the HD, but now not sure
 about that.

 Please, any suggestions about what to do to remove these files?

 Here are the files and the error message:
 rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted
 rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted

 I've gone all the way down to the last dir and tried to delete them there.
 No joy!
 All directories in between only include the dirs and no files. I want to
 delete the entire path of directories, but those 2 stubborn files will not
 permit that.

 rm: local/lib/perl5/5.6.1/mach/Sys: Directory not empty

 Please, any help appreciated!

I had a similar problem recently with some a directory created on the fly by 
ktorrent. Everytime I tried to delete them they would appear in the trashcan, 
I would flush them, and sooner or later the directory and all its files would 
be right back where they started.

I finally noticed that they reappeared everytime I restarted ktorrent. So I 
went poking under the hood and found a reference to them in deep down in 
~/.kde/share/apps/ktorrent/cache folder. Apparently ktorrent was recreating 
empty files in anticipation of downloading a torrent that was no longer in 
the queue. 

Perhaps something similar is going on with your machine?

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot delete stubborn files

2006-06-04 Thread Lowell Gilbert
Jack Stone [EMAIL PROTECTED] writes:

From: Chris Hill [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)

On Sun, 4 Jun 2006, Jack Stone wrote:

I have 2 files that resists all efforts to delete them.

[...]

Here are the files and the error message:
rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted
rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted

Make sure the files do not have the system immutable flag set:

# chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
# chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm

 ...and then see if you can't delete them. I don't know why the flag
 would be set, but it's something to try.

HTH.

--
Chris Hill   [EMAIL PROTECTED]

 Chris: Tried that at the very first. No joy!

There are other flags.  Use ls -lo to see if any are set, rather
trying to reset them and then retrying the delete command.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot delete stubborn files

2006-06-04 Thread Ricardo Carvalho

This occurred to me once, I simply booted the system in single user mode and
removed the file.

On 6/4/06, Jack Stone [EMAIL PROTECTED] wrote:


Hello:
I have 2 files that resists all efforts to delete them. I can even move
them
to another directory, but still cannot delete. Can chmod too, but still
same
resistance;

I originally figured they occupied a bad spot on the HD, but now not sure
about that.

Please, any suggestions about what to do to remove these files?

Here are the files and the error message:
rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted
rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted

I've gone all the way down to the last dir and tried to delete them there.
No joy!
All directories in between only include the dirs and no files. I want to
delete the entire path of directories, but those 2 stubborn files will not
permit that.

rm: local/lib/perl5/5.6.1/mach/Sys: Directory not empty

Please, any help appreciated!

Thank you,
Jack L Stone.

_
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

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


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


Re: Cannot delete stubborn files

2006-06-04 Thread Bill Moran
Jack Stone [EMAIL PROTECTED] wrote:

 From: Chris Hill [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)
 
 On Sun, 4 Jun 2006, Jack Stone wrote:
 
 I have 2 files that resists all efforts to delete them.
 
 [...]
 
 Here are the files and the error message:
 rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted
 rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted
 
 Make sure the files do not have the system immutable flag set:
 
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm
 
 ...and then see if you can't delete them. I don't know why the flag would 
 be set, but it's something to try.
 
 HTH.
 
 --
 Chris Hill   [EMAIL PROTECTED]
 
 Chris: Tried that at the very first. No joy!

If flags and permissions are all set so that the files should delete, and
they still don't, reboot the system into single user mode and fsck the
partition.

I had this happen a number of years ago.  We had dirty power and the system
would reboot on occasion during brownout.  We finally got UPS on the system,
but months later we had files that wouldn't delete.  The only way we finally
got rid of them was to reboot in single user and fsck.  I expect the disk
suffered some subtle corruption during an unclean boot and it took time
before we noticed.

Another option would be to use fstat to make sure nothing has the files open.

HTH.

-- 
Bill Moran

Six men came to kill me one time, and the best of them carried this. It's
a Callahan fullbore autolock, customized trigger and double cartridge
thourough-gage.  It's my very favorite gun.

Jayne Cobb

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


Re: Cannot delete stubborn files

2006-06-04 Thread Jack Stone

From: Ricardo Carvalho [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 15:39:05 -0300

This occurred to me once, I simply booted the system in single user mode 
and

removed the file.



Nope, that didn't work either. really strangest undeletes I've ever 
encounted.


THX
Jack

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: Cannot delete stubborn files

2006-06-04 Thread Jack Stone

From: Lowell Gilbert [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 04 Jun 2006 12:53:03 -0400

Jack Stone [EMAIL PROTECTED] writes:

From: Chris Hill [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)

On Sun, 4 Jun 2006, Jack Stone wrote:

I have 2 files that resists all efforts to delete them.

[...]

Here are the files and the error message:
rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not permitted
rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted

Make sure the files do not have the system immutable flag set:

# chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
# chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm

 ...and then see if you can't delete them. I don't know why the flag
 would be set, but it's something to try.

HTH.

--
Chris Hill   [EMAIL PROTECTED]

 Chris: Tried that at the very first. No joy!

There are other flags.  Use ls -lo to see if any are set, rather
trying to reset them and then retrying the delete command.


Indeed, tried that early on and see no flags set at all.

THX
Jack

_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


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


Re: Cannot delete stubborn files

2006-06-04 Thread Jack Stone

From: Bill Moran [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 14:40:22 -0400

Jack Stone [EMAIL PROTECTED] wrote:

 From: Chris Hill [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)
 
 On Sun, 4 Jun 2006, Jack Stone wrote:
 
 I have 2 files that resists all efforts to delete them.
 
 [...]
 
 Here are the files and the error message:
 rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not 
permitted

 rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted
 
 Make sure the files do not have the system immutable flag set:
 
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm
 
 ...and then see if you can't delete them. I don't know why the flag 
would

 be set, but it's something to try.
 
 HTH.
 
 --
 Chris Hill   [EMAIL PROTECTED]

 Chris: Tried that at the very first. No joy!

If flags and permissions are all set so that the files should delete, and
they still don't, reboot the system into single user mode and fsck the
partition.

I had this happen a number of years ago.  We had dirty power and the system
would reboot on occasion during brownout.  We finally got UPS on the 
system,
but months later we had files that wouldn't delete.  The only way we 
finally

got rid of them was to reboot in single user and fsck.  I expect the disk
suffered some subtle corruption during an unclean boot and it took time
before we noticed.

Another option would be to use fstat to make sure nothing has the files 
open.


HTH.

--
Bill Moran



Hi, Bill: Yes, tried all of that before and again no joy -- very mysteries.
A free cigar to anyone who solves this one!

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Jack Stone

From: Jack Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 04 Jun 2006 14:52:01 -0500


From: Bill Moran [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 14:40:22 -0400

Jack Stone [EMAIL PROTECTED] wrote:

 From: Chris Hill [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)
 
 On Sun, 4 Jun 2006, Jack Stone wrote:
 
 I have 2 files that resists all efforts to delete them.
 
 [...]
 
 Here are the files and the error message:
 rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not 
permitted

 rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted
 
 Make sure the files do not have the system immutable flag set:
 
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm
 
 ...and then see if you can't delete them. I don't know why the flag 
would

 be set, but it's something to try.
 
 HTH.
 
 --
 Chris Hill   [EMAIL PROTECTED]

 Chris: Tried that at the very first. No joy!

If flags and permissions are all set so that the files should delete, and
they still don't, reboot the system into single user mode and fsck the
partition.

I had this happen a number of years ago.  We had dirty power and the 
system
would reboot on occasion during brownout.  We finally got UPS on the 
system,
but months later we had files that wouldn't delete.  The only way we 
finally

got rid of them was to reboot in single user and fsck.  I expect the disk
suffered some subtle corruption during an unclean boot and it took time
before we noticed.

Another option would be to use fstat to make sure nothing has the files 
open.


HTH.

--
Bill Moran



Hi, Bill: Yes, tried all of that before and again no joy -- very mysteries.
A free cigar to anyone who solves this one!



Since I learned I could mv the directory that contains the 2 files, I 
tried to move it to another partition, figuring I had a solution IF I could 
only do that.


Here's the new error when I tried to move the directory from / to /usr

mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link

Does this new hint stike any bells?

THX
Jack

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Garrett Cooper

On Jun 4, 2006, at 12:57 PM, Jack Stone wrote:


From: Jack Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 04 Jun 2006 14:52:01 -0500


From: Bill Moran [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 14:40:22 -0400

Jack Stone [EMAIL PROTECTED] wrote:

 From: Chris Hill [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)
 
 On Sun, 4 Jun 2006, Jack Stone wrote:
 
 I have 2 files that resists all efforts to delete them.
 
 [...]
 
 Here are the files and the error message:
 rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not  
permitted
 rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not  
permitted

 
 Make sure the files do not have the system immutable flag set:
 
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm
 
 ...and then see if you can't delete them. I don't know why the  
flag would

 be set, but it's something to try.
 
 HTH.
 
 --
 Chris Hill   [EMAIL PROTECTED]

 Chris: Tried that at the very first. No joy!

If flags and permissions are all set so that the files should  
delete, and
they still don't, reboot the system into single user mode and  
fsck the

partition.

I had this happen a number of years ago.  We had dirty power and  
the system
would reboot on occasion during brownout.  We finally got UPS on  
the system,
but months later we had files that wouldn't delete.  The only way  
we finally
got rid of them was to reboot in single user and fsck.  I expect  
the disk
suffered some subtle corruption during an unclean boot and it  
took time

before we noticed.

Another option would be to use fstat to make sure nothing has the  
files open.


HTH.

--
Bill Moran



Hi, Bill: Yes, tried all of that before and again no joy -- very  
mysteries.

A free cigar to anyone who solves this one!



Since I learned I could mv the directory that contains the 2  
files, I tried to move it to another partition, figuring I had a  
solution IF I could only do that.


Here's the new error when I tried to move the directory from /  
to /usr


mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link

Does this new hint stike any bells?

THX
Jack


	I assume that you tried deleting this as root? Sometimes files have  
been resistant to my deleting them unless I am root, even when I'm  
the owner.
	Have you also tried doing something to the file to write to it, like  
cat or echo? My theory is that maybe if you did that then tried to  
delete the file, it will work because you flushed the previous  
information and closed the file properly.

Best of luck,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Nikolas Britton

On 6/4/06, Jack Stone [EMAIL PROTECTED] wrote:



mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link

Does this new hint stike any bells?



http://groups.google.com/groups/search?q=group%3A%2A.freebsd.%2A+%22terminated+with+1+%28non-zero%29+status%3A+Cross-device+link%22qt_s=Search

If that doesn't help try using a hammer :-)


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Duane Whitty
On Sun, Jun 04, 2006 at 02:57:38PM -0500, Jack Stone wrote:
 From: Jack Stone [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 04 Jun 2006 14:52:01 -0500
 
 From: Bill Moran [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 14:40:22 -0400
 
 Jack Stone [EMAIL PROTECTED] wrote:
 
  From: Chris Hill [EMAIL PROTECTED]
  To: Jack Stone [EMAIL PROTECTED]
  CC: freebsd-questions@freebsd.org
  Subject: Re: Cannot delete stubborn files
  Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)
  
  On Sun, 4 Jun 2006, Jack Stone wrote:
  
  I have 2 files that resists all efforts to delete them.
  
  [...]
  
  Here are the files and the error message:
  rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not 
 permitted
  rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted
  
  Make sure the files do not have the system immutable flag set:
  
  # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
  # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm
  
  ...and then see if you can't delete them. I don't know why the flag 
 would
  be set, but it's something to try.
  
  HTH.
  
  --
  Chris Hill   [EMAIL PROTECTED]
 
  Chris: Tried that at the very first. No joy!
 
 If flags and permissions are all set so that the files should delete, and
 they still don't, reboot the system into single user mode and fsck the
 partition.
 
 I had this happen a number of years ago.  We had dirty power and the 
 system
 would reboot on occasion during brownout.  We finally got UPS on the 
 system,
 but months later we had files that wouldn't delete.  The only way we 
 finally
 got rid of them was to reboot in single user and fsck.  I expect the disk
 suffered some subtle corruption during an unclean boot and it took time
 before we noticed.
 
 Another option would be to use fstat to make sure nothing has the files 
 open.
 
 HTH.
 
 --
 Bill Moran
 
 
 Hi, Bill: Yes, tried all of that before and again no joy -- very mysteries.
 A free cigar to anyone who solves this one!
 
 
 Since I learned I could mv the directory that contains the 2 files, I 
 tried to move it to another partition, figuring I had a solution IF I could 
 only do that.
 
 Here's the new error when I tried to move the directory from / to /usr
 
 mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link
 
 Does this new hint stike any bells?
 
 THX
 Jack
 
Hi,

Since you can move the directory can you move (rename) the file?
If you can mv just the files can you access/modify the files?

Because of the cross-device link error message maybe this is hard link
related?  Any files with the same name floating around?  Obviously this
isn't normal hard link behaviour but maybe a link was somehow damaged?


Best Regards,

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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Jack Stone

From: Garrett Cooper [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files - New Hint
Date: Sun, 4 Jun 2006 13:37:37 -0700

On Jun 4, 2006, at 12:57 PM, Jack Stone wrote:


From: Jack Stone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 04 Jun 2006 14:52:01 -0500


From: Bill Moran [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 14:40:22 -0400

Jack Stone [EMAIL PROTECTED] wrote:

 From: Chris Hill [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)
 
 On Sun, 4 Jun 2006, Jack Stone wrote:
 
 I have 2 files that resists all efforts to delete them.
 
 [...]
 
 Here are the files and the error message:
 rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not  
permitted
 rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not  
permitted

 
 Make sure the files do not have the system immutable flag set:
 
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
 # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm
 
 ...and then see if you can't delete them. I don't know why the  flag 
would

 be set, but it's something to try.
 
 HTH.
 
 --
 Chris Hill   [EMAIL PROTECTED]

 Chris: Tried that at the very first. No joy!

If flags and permissions are all set so that the files should  delete, 
and

they still don't, reboot the system into single user mode and  fsck the
partition.

I had this happen a number of years ago.  We had dirty power and  the 
system
would reboot on occasion during brownout.  We finally got UPS on  the 
system,
but months later we had files that wouldn't delete.  The only way  we 
finally
got rid of them was to reboot in single user and fsck.  I expect  the 
disk

suffered some subtle corruption during an unclean boot and it  took time
before we noticed.

Another option would be to use fstat to make sure nothing has the  files 
open.


HTH.

--
Bill Moran



Hi, Bill: Yes, tried all of that before and again no joy -- very  
mysteries.

A free cigar to anyone who solves this one!



Since I learned I could mv the directory that contains the 2  files, I 
tried to move it to another partition, figuring I had a  solution IF I 
could only do that.


Here's the new error when I tried to move the directory from /  to /usr

mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link

Does this new hint stike any bells?

THX
Jack


	I assume that you tried deleting this as root? Sometimes files have  been 
resistant to my deleting them unless I am root, even when I'm  the owner.
	Have you also tried doing something to the file to write to it, like  cat 
or echo? My theory is that maybe if you did that then tried to  delete the 
file, it will work because you flushed the previous  information and closed 
the file properly.

Best of luck,
-Garrett


Good suggest  I thought you had the answer. I was able to write to the 
(zero bytes) file with cat and it took the new bytes. But, still can't 
delete.


BTW: Have the permissions set to 777 too.

How to find that crosslink and break it is the issue I guess.

The mystery continues.

THX
Jack

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Jack Stone

From: Nikolas Britton [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files - New Hint
Date: Sun, 4 Jun 2006 15:37:52 -0500

On 6/4/06, Jack Stone [EMAIL PROTECTED] wrote:



mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link

Does this new hint stike any bells?



http://groups.google.com/groups/search?q=group%3A%2A.freebsd.%2A+%22terminated+with+1+%28non-zero%29+status%3A+Cross-device+link%22qt_s=Search

If that doesn't help try using a hammer :-)



Nothing new there. I guess it's the hammer.

Where is Superman when you need him...??

THX
Jack

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Jack Stone

From: Duane Whitty [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files - New Hint
Date: Sun, 04 Jun 2006 17:58:11 -0300

On Sun, Jun 04, 2006 at 02:57:38PM -0500, Jack Stone wrote:
 From: Jack Stone [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 04 Jun 2006 14:52:01 -0500
 
 From: Bill Moran [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 14:40:22 -0400
 
 Jack Stone [EMAIL PROTECTED] wrote:
 
  From: Chris Hill [EMAIL PROTECTED]
  To: Jack Stone [EMAIL PROTECTED]
  CC: freebsd-questions@freebsd.org
  Subject: Re: Cannot delete stubborn files
  Date: Sun, 4 Jun 2006 09:39:51 -0400 (EDT)
  
  On Sun, 4 Jun 2006, Jack Stone wrote:
  
  I have 2 files that resists all efforts to delete them.
  
  [...]
  
  Here are the files and the error message:
  rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not
 permitted
  rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not 
permitted

  
  Make sure the files do not have the system immutable flag set:
  
  # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
  # chflags noschg local/lib/perl5/5.6.1/mach/Sys/Syslog.pm
  
  ...and then see if you can't delete them. I don't know why the flag
 would
  be set, but it's something to try.
  
  HTH.
  
  --
  Chris Hill   [EMAIL PROTECTED]
 
  Chris: Tried that at the very first. No joy!
 
 If flags and permissions are all set so that the files should delete, 
and

 they still don't, reboot the system into single user mode and fsck the
 partition.
 
 I had this happen a number of years ago.  We had dirty power and the
 system
 would reboot on occasion during brownout.  We finally got UPS on the
 system,
 but months later we had files that wouldn't delete.  The only way we
 finally
 got rid of them was to reboot in single user and fsck.  I expect the 
disk
 suffered some subtle corruption during an unclean boot and it took 
time

 before we noticed.
 
 Another option would be to use fstat to make sure nothing has the 
files

 open.
 
 HTH.
 
 --
 Bill Moran
 
 
 Hi, Bill: Yes, tried all of that before and again no joy -- very 
mysteries.

 A free cigar to anyone who solves this one!
 

 Since I learned I could mv the directory that contains the 2 files, I
 tried to move it to another partition, figuring I had a solution IF I 
could

 only do that.

 Here's the new error when I tried to move the directory from / to /usr

 mv: /bin/rm: terminated with 1 (non-zero) status: Cross-device link

 Does this new hint stike any bells?

 THX
 Jack

Hi,

Since you can move the directory can you move (rename) the file?
If you can mv just the files can you access/modify the files?

Because of the cross-device link error message maybe this is hard link
related?  Any files with the same name floating around?  Obviously this
isn't normal hard link behaviour but maybe a link was somehow damaged?


Best Regards,

Duane Whitty
--
[EMAIL PROTECTED]


I can move the entire directory package, i.e.,
local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
 but, not just the file.
Also, any move must be within the same partition.

I cannot get it to reveal the crosslink that is preventing the removal.

THX
Jack

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Cannot delete stubborn files

2006-06-04 Thread James Long
 Date: Sun, 04 Jun 2006 14:42:16 -0500
 From: Jack Stone [EMAIL PROTECTED]
 Subject: Re: Cannot delete stubborn files
 To: [EMAIL PROTECTED], freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; format=flowed
 
 From: Ricardo Carvalho [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 15:39:05 -0300
 
 This occurred to me once, I simply booted the system in single user mode 
 and
 removed the file.
 
 
 Nope, that didn't work either. really strangest undeletes I've ever 
 encounted.
 
 THX
 Jack

Have you posted the output of ls -lo (problem filename) ?

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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Chris Whitehouse

[EMAIL PROTECTED]


I can move the entire directory package, i.e.,
local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
 but, not just the file.
Also, any move must be within the same partition.

I cannot get it to reveal the crosslink that is preventing the removal.

THX
Jack


Update your locate database and see if there are any other instances of 
the file? Just a shot in the dark


Chris

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


Re: Cannot delete stubborn files

2006-06-04 Thread Jack Stone

From: James Long [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org, Jack Stone [EMAIL PROTECTED]
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 14:57:52 -0700

 Date: Sun, 04 Jun 2006 14:42:16 -0500
 From: Jack Stone [EMAIL PROTECTED]
 Subject: Re: Cannot delete stubborn files
 To: [EMAIL PROTECTED], freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; format=flowed

 From: Ricardo Carvalho [EMAIL PROTECTED]
 To: Jack Stone [EMAIL PROTECTED]
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 15:39:05 -0300
 
 This occurred to me once, I simply booted the system in single user 
mode

 and
 removed the file.
 

 Nope, that didn't work either. really strangest undeletes I've ever
 encounted.

 THX
 Jack

Have you posted the output of ls -lo (problem filename) ?



I have not posted it, but here it is for the 2 files:
dr1# ls -lo *.pm
-rwxrwxrwx  1 root  wheel  - 5 Jun  4 13:58 Hostname.pm
-rwxrwxrwx  1 root  wheel  - 0 Jun  6  2004 Syslog.pm

HTH

THX,
Jack

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: Cannot delete stubborn files

2006-06-04 Thread Kris Kennaway
On Sun, Jun 04, 2006 at 06:57:27PM -0500, Jack Stone wrote:
 From: James Long [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org, Jack Stone [EMAIL PROTECTED]
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 14:57:52 -0700
 
  Date: Sun, 04 Jun 2006 14:42:16 -0500
  From: Jack Stone [EMAIL PROTECTED]
  Subject: Re: Cannot delete stubborn files
  To: [EMAIL PROTECTED], freebsd-questions@freebsd.org
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain; format=flowed
 
  From: Ricardo Carvalho [EMAIL PROTECTED]
  To: Jack Stone [EMAIL PROTECTED]
  Subject: Re: Cannot delete stubborn files
  Date: Sun, 4 Jun 2006 15:39:05 -0300
  
  This occurred to me once, I simply booted the system in single user 
 mode
  and
  removed the file.
  
 
  Nope, that didn't work either. really strangest undeletes I've ever
  encounted.
 
  THX
  Jack
 
 Have you posted the output of ls -lo (problem filename) ?
 
 
 I have not posted it, but here it is for the 2 files:
 dr1# ls -lo *.pm
 -rwxrwxrwx  1 root  wheel  - 5 Jun  4 13:58 Hostname.pm
 -rwxrwxrwx  1 root  wheel  - 0 Jun  6  2004 Syslog.pm
 
 HTH

Unmount (or drop to single-user mode) and fsck -f the drive to fix the
filesystem corruption.

Kris


pgpiPNNUxs7Uj.pgp
Description: PGP signature


Re: Cannot delete stubborn files

2006-06-04 Thread Jack Stone

From: Kris Kennaway [EMAIL PROTECTED]
To: Jack Stone [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files
Date: Sun, 4 Jun 2006 20:06:25 -0400

On Sun, Jun 04, 2006 at 06:57:27PM -0500, Jack Stone wrote:
 From: James Long [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org, Jack Stone [EMAIL PROTECTED]
 Subject: Re: Cannot delete stubborn files
 Date: Sun, 4 Jun 2006 14:57:52 -0700
 
  Date: Sun, 04 Jun 2006 14:42:16 -0500
  From: Jack Stone [EMAIL PROTECTED]
  Subject: Re: Cannot delete stubborn files
  To: [EMAIL PROTECTED], freebsd-questions@freebsd.org
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain; format=flowed
 
  From: Ricardo Carvalho [EMAIL PROTECTED]
  To: Jack Stone [EMAIL PROTECTED]
  Subject: Re: Cannot delete stubborn files
  Date: Sun, 4 Jun 2006 15:39:05 -0300
  
  This occurred to me once, I simply booted the system in single user
 mode
  and
  removed the file.
  
 
  Nope, that didn't work either. really strangest undeletes I've 
ever

  encounted.
 
  THX
  Jack
 
 Have you posted the output of ls -lo (problem filename) ?
 

 I have not posted it, but here it is for the 2 files:
 dr1# ls -lo *.pm
 -rwxrwxrwx  1 root  wheel  - 5 Jun  4 13:58 Hostname.pm
 -rwxrwxrwx  1 root  wheel  - 0 Jun  6  2004 Syslog.pm

 HTH

Unmount (or drop to single-user mode) and fsck -f the drive to fix the
filesystem corruption.

Kris


That was already done long before I posted the problem as I mentioned in an 
earlier post of this thread.


Jack

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Jack Stone

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


[EMAIL PROTECTED]


I can move the entire directory package, i.e.,
local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
 but, not just the file.
Also, any move must be within the same partition.

I cannot get it to reveal the crosslink that is preventing the removal.

THX
Jack


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?

THX
Jack

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


Re: Cannot delete stubborn files - New Hint

2006-06-04 Thread Olivier Nicole
 I cannot get it to reveal the crosslink that is preventing the removal.

I beleive you tried find -inum.

Do you have any lost+found directory at the root top level of the
filesystem?

I haven't seen any mention of the version of the FreeBSD you are
running, nor the type of file system you are having problem with.

If you have spare disk/partition, I beleive you could always copy
everything (but the problem files) to a new partition and newfs the
one making problem.

best regards,

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