Re: 2.6.13.4: 'find' complained about sysfs

From: Dave Jones
Date: Thu Oct 20 2005 - 14:08:56 EST


On Thu, Oct 20, 2005 at 08:41:45PM +0200, Harald Dunkel wrote:
> Hi folks,
>
> When I ran 'find /sys -name modalias' I got an error
> message on stderr saying
>
> find: WARNING: Hard link count is wrong for /sys/devices: 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.

This has been around for a while. It's very likely this..

(14:56:22:davej@nwo:~)$ ll /sys/devices/system/
total 0
drwxr-xr-x 3 root root 0 Oct 20 10:09 acpi/
drwxr-xr-x 6 root root 0 Oct 20 10:08 cpu/
drwxr-xr-x 3 root root 0 Oct 20 10:08 i8237/
drwxr-xr-x 3 root root 0 Oct 20 10:08 i8259/
drwxr-xr-x 5 root root 0 Oct 20 10:08 ioapic/
drwxr-xr-x 3 root root 0 Oct 20 10:08 irqrouter/
drwxr-xr-x 3 root root 0 Oct 20 10:08 lapic/
drwxr-xr-x 3 root root 0 Oct 20 10:09 lapic_nmi/
drwxr-xr-x 6 root root 0 Oct 20 10:08 machinecheck/
drwxr-xr-x 3 root root 0 Oct 20 10:08 node/
drwxr-xr-x 3 root root 0 Oct 20 10:08 timer/
drwxr-xr-x 3 root root 0 Oct 20 10:08 timer/ <---- Oops.
(14:56:24:davej@nwo:~)$


Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/