home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: mib@geech.gnu.ai.mit.edu (Michael I Bushnell)
-
- In article <20ac9sINN3eb@rodan.UU.NET> casper@fwi.uva.nl (Casper H.S. Dik) writes:
- >No. NFS is not the culprit. You cannot detect this at open time.
- >When you read a directory, you'll open it with open and read it
- >with getdents(). When you open a file for reading, you'll use the
- >exact same open call. You cannot detect this error at open time.
-
- Hmm. I suppose that makes sense. I think the optimal solution is
- simply to provide getdents, with a standard format, and say that read
- on a directory gets you some filesystem-dependent raw format. There
- is no reason to have read return an error for directories at all.
-
-
- --
- +1 617 628 6197 (H) | Offer to God a sacrifice of thanksgiving
- +1 617 253 8568 (W) -+- and make good your vows to the Most High.
- 14 Paulina Street | Call upon me in the day of trouble;
- Somerville, MA 02144 | I will deliver you, and you shall honor me.
-
-
- Volume-Number: Volume 31, Number 84
-
-