Find the answer to your Linux question:
Results 1 to 3 of 3
OS: SLES 10 very rarely..but it happens sometimes, that when i search from the root, i got the following warning # find / -name post /usr/lib/mailman/scripts/post find: WARNING: Hard link ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248

    find sometimes issue warning

    OS: SLES 10
    very rarely..but it happens sometimes, that when i search from the root, i got the following warning
    # find / -name post
    /usr/lib/mailman/scripts/post
    find: WARNING: Hard link count is wrong for /proc/3487: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories th at should have been searched.

    Regards
    Needee

  2. #2
    Linux User
    Join Date
    Aug 2005
    Posts
    408
    Yeah, that's not a problem. Someone can probably explain this better than I can, but /proc is not an actual collection of files; it's a pseudo-collection of files that are mounted under /proc and only called when you want some information about the kernel or the hardware on your computer. None of that stuff really exists until you call it up, in a way, and /proc actually takes up no space on the hard drive, so that's why the hard-link count appears wrong to find.

    Everything is normal.

  3. #3
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248
    thanks for reply dear and sorry for replying late ;(

    Ok, I do agree with you..its becuase of /proc. But this is as i said... is rare, i.e not always, say, I searched frm "/".. and receive the warning, but after one or two more attempts, it doesnt warn, but works, i.e start searching ... and produce search results on console.
    What I wana mention/ask is that why most of the time "find / -name abx" works fine... but only sometimes/rarely it gives the Warning

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...