PDA

View Full Version : find: WARNING: Hard link count is wrong for /proc/1:



majdi
10th August 2008, 01:45 PM
On my fresh Fedora 9 install I get the following error when running the find command;


[root@localhost Download]# find / -name clamav*
find: WARNING: Hard link count is wrong for /proc/1: 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.

Why is this happening? would a system update fix this?

majdi
11th August 2008, 10:23 AM
So I'm still getting this error, any idea?

markkuk
11th August 2008, 02:33 PM
Don't use find on /proc or /sys filesystems. They are interfaces to the Linux kernel configuration and information variables, not real on-disk filesystems.

majdi
11th August 2008, 08:31 PM
Thanks markkuk,

I know that, but find should know that too, and Ive tried this on other distros and I never got this error.

pinky285
16th August 2008, 01:35 AM
i have also got this error, shortly after install and updates..i think the only thing i installed was nero...and find should not be giving this error....there is a way around it by doing "find / -noleaf (any other params) and the file name at the end. i am also sure you can make an alias to use the find command and -noleaf option and -name into some script file that will take the first variable as a filename....

maybe something like

find / -noleaf -name %1

or something like that....maybe someone could correct me..

and then name it findfile?? if you want

jideck
13th November 2008, 01:15 PM
find: WARNING: Hard link count is wrong for /proc/1:

newly updated system
maybe a patch soon from fedora to correct this
installed only additional solib++

-nolieaf is working

but can't use find becose of

.gvfs: Permission denied

can't chown or chmod this