-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Andreas Schwab on 9/7/2009 5:17 AM: > Eric Blake <e...@byu.net> writes: > >> In other words, are we guaranteed that mount points can only occur >> atop directories, and that we can avoid the stat() for regular files? > > You can also (bind-)mount regular files.
In other words, d_type is unreliable, just like d_ino. Yuck. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----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/ iEYEARECAAYFAkqk7SYACgkQ84KuGfSFAYDKPgCdEzhdHCZzmZNzd3TbtUVctszD nuIAnjYCyP9PCMcSlsA4GgSOwJcwY8u4 =67pI -----END PGP SIGNATURE-----