[ale] Inode count in directory
Brandon Checketts
brandon at brandonchecketts.com
Sat Feb 13 15:55:21 EST 2010
Sorry to have asked a dumb question which was so easily google-able. I was in
the middle of catching up the ALE discussions when the problem occurred. It
seemed an appropriate question to ask to the group. And it worked. I got an
appropriate answer from Doug within minutes that got me on the right path.
I'll also note that there is some amount of social interaction that occurs by
posting a question to the list. I work from home and it is nice to be able to
socialize a bit, even if it is in the form of asking an occasional dumb question.
Thanks,
Brandon Checketts
Jim Popovitch wrote:
> On Sat, Feb 13, 2010 at 15:25, Nate Murchison <nate.murchison at gmail.com> wrote:
>> The URL above is a cute and flippant use of google to return links to
>> answers that are ironically wrong. The first link returned by google
>> points to a site that uses a script that breaks immediately when given
>> a directory name that begins with a comma as an argument (
>> http://fieldsmarshall.com/how-to-count-inodes-for-each-directory/ ),
>
> You have a directory name that begins with a comma? WTF?
>
> That first result works perfectly on both a Debian Lenny and an Ubuntu
> Karmic distro.
>
>> the second suggests a script that fails to take hard links in a
>> directory into account (file /a/b and /a/c may be the same inode with
>> two directory entries).
>
> But if you do more than just read the text on that link you can figure
> it out. Give a man a fish vs teaching him to fish....
>
>> The Brandon Checketts probably assumed that he would get a better
>> (either more correct or more helpful) answer from ale than from google. Oh well.
>
> Or maybe he didn't. Who are you to guess? It's also worth pointing
> out that you provided no solution to Brandon's request, at least I
> pointed him in the right direction with the appropriate google query.
>
> -Jim P.
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
More information about the Ale
mailing list