Frequently Asked Question

I Am Getting The Following Message Using Find
Last Updated 4 years ago

> find ./ -type d -print 
find: WARNING: Hard link count is wrong for .: this may be a bug in your filesystem driver. 
Use the -noleaf option when using the find command:

-noleaf
    Do  not  optimize  by  assuming that directories contain 2 fewer subdirectories than their  hard  link count. 
    This option  is needed  when  searching  file systems that do not follow the Unix directory-link convention, 
    such as CD-ROM or MS-DOS file systems or NFS  volume  mount  points.
 
e.g find ./ -noleaf -type d -print

Please Wait!

Please wait... it will take a second!