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

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

 




> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx 
> [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Ashley 
> M. Kirchner
> Sent: Thursday, June 16, 2005 6:53 PM
> To: For users of Fedora Core releases
> Subject: 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@xxxxxxxxxx>   .   
> 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.
> 
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
>
I understand this is not a critical problem - yet, and I understand the
principal behind /proc but, this hasn't happened to me in more than 10 years
using Redhat/Fedora.
So something has either changed or something's broken.
I routinely use "find / -name ......", so how do I eliminate /proc from the
search path?
The suggested -noleaf option pertains to the 2 hard links "." and ".." in
every directory, including /proc. A 'ls -al' of /proc shows them clearly.
A simple "If it don't work right, don't use it" (my words, not yours), is
not an acceptable answer, unless it comes from the filesystem or find
command developers.

Thanks for your response, Tom





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux