bug-coreutils
[Top][All Lists]
Advanced

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

Re: new snapshot available: coreutils-7.5.65-61cc6


From: Eric Blake
Subject: Re: new snapshot available: coreutils-7.5.65-61cc6
Date: Mon, 07 Sep 2009 04:56:07 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 9/7/2009 3:09 AM:
>   ls -i now prints consistent inode numbers also for mount points.
>   This makes ls -i DIR less efficient on systems with dysfunctional readdir,
>   because ls must stat every file in order to obtain a guaranteed-valid
>   inode number.  [bug introduced in coreutils-6.0]

On systems with working d_type, is it sufficient to limit the stat() to
situations where we know that the entry might be a directory (DT_DIR or
DT_UNKNOWN)?  In other words, are we guaranteed that mount points can only
occur atop directories, and that we can avoid the stat() for regular files?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqk5scACgkQ84KuGfSFAYAEJACgvj3wQcqKovT8g4MZXODF7JiW
pL4AnR+nR3PqH9rXh1FsQPpHSxm+3tzc
=MTmk
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]