[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Fedora] FC4 'find' command is finding wrong hard link count



Tom Broadhurst wrote:

Has anyone determined what this problem is yet?
I don't want my system to blow up because of a /proc filesystem problem.
[root ~]# find / -name dodo -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.
/home/me/dodo
[root ~]#

This isn't a problem with find, nor a problem with /proc. You shouldn't run find against the /proc file system. It changes with every process that's running and with every single command you type in. Hence find complaining that something's wrong. You'll notice that those files in /proc have a 0-byte file size, yet when you cat them, they contain data. That's the kernel at work for you. Don't run find against /proc.


--
W | I haven't lost my mind; it's backed up on tape somewhere.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:ashley pcraft com>   .   303.442.6410 x130
 IT Director / SysAdmin / Websmith             .     800.441.3873 x130
 Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
 http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]