Opened 19 years ago

Closed 19 years ago

#1501 closed defect (invalid)

find builds with noleaf option turned on by default

Reported by: matt@… Owned by: lfs-book@…
Priority: normal Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

on building find in lfs CVS/SVN all builds and installs correctly.

However on use of the find binary within the finished LFS product the results appear tained

eg:

root@alesi:/etc# find / -name hosts -print find: WARNING: Hard link count is wrong for /proc: 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. /etc/hosts

I have found this problem on most of my later LFS builds, and have found other LFS users running CVS builds having the same problem

Change History (1)

comment:1 by Matthew Burgess, 19 years ago

Resolution: invalid
Status: newclosed

This isn't a "problem" as such. See http://savannah.gnu.org/bugs/?func=detailitem&item_id=11379 for the details. It's actually issuing a warning for a bug in the kernel. find/find.c:1802-18020 dynamically turns on the -noleaf option only for those filesystems that have the particular bug in them, so slowdown only occurs when searching affected paths.

Note: See TracTickets for help on using tickets.