openSUSE Forums > Archives > SF Archives > ARCHIVES - Software » Warning: Hard Link Count Is Wrong For /: This May Be A Bug In Your Fil

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Software
Forums FAQ Members List Search Today's Posts Mark Forums Read

ARCHIVES - Software Questions about use, installation, or configuration of software running on SUSE Linux

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13-Jul-2006, 21:35
Zekeman
Guest
 
Posts: n/a
Default

Whenever I use the FIND command I get this error:

Quote:
find: WARNING: Hard link count is wrong for /: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.[/b]
Im using Suse 10.1, Kernel Version: 2.6.16.13-4-smp (I recompliled recently to the SMP version I was using the default, and I still got this error, as I just recently upgraded to a 64 x2, but I was still getting this error with the original kernel/cpu)

I noticed similar errors around but it was for the /proc and mine isnt give me that error just the /:

Any suggestions besides using the "Locate" Command.



  #2 (permalink)  
Old 13-Jul-2006, 21:40
ken_yap
Guest
 
Posts: n/a
Default

Quote:
Whenever I use the FIND command I get this error:
Im using Suse 10.1, Kernel Version: 2.6.16.13-4-smp (I recompliled recently to the SMP version I was using the default, and I still got this error, as I just recently upgraded to a 64 x2, but I was still getting this error with the original kernel/cpu)

I noticed similar errors around but it was for the /proc and mine isnt give me that error just the /:

Any suggestions besides using the "Locate" Command.
[/b]
find gets confused by the pseudo-filesystems /proc /sys /subdomain etc. Don't run find starting from /.
  #3 (permalink)  
Old 14-Jul-2006, 23:20
Zekeman
Guest
 
Posts: n/a
Default

Not to sound ignorant but if i dont use "find / -name xxx" then it wont search all directories am I correct?" what is another alternative?
  #4 (permalink)  
Old 15-Jul-2006, 01:49
ken_yap
Guest
 
Posts: n/a
Default

Quote:
Not to sound ignorant but if i dont use "find / -name xxx" then it wont search all directories am I correct?" what is another alternative?
[/b]
find /etc /usr /home /lib /opt ... -name xxx

Those are the most likely places for what you want anyway. Make an alias of it if you do it often. Anyway it's an inefficient way to do it, which is why we have locate and beagle.

Or live with the bogus error message.
  #5 (permalink)  
Old 15-Jul-2006, 21:28
Zekeman
Guest
 
Posts: n/a
Default

Quote:
find /etc /usr /home /lib /opt ... -name xxx

Those are the most likely places for what you want anyway. Make an alias of it if you do it often. Anyway it's an inefficient way to do it, which is why we have locate and beagle.

Or live with the bogus error message.
[/b]

I agree and thanks for the fast response!
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2