Is Unix getting bloated with un-needed special cases?

Brandon S. Allbery KB8JRR/AA allbery at NCoast.ORG
Tue Apr 30 12:13:16 AEST 1991


As quoted from <REARL.91Apr29125106 at nutrimat.gnu.ai.mit.edu> by rearl at gnu.ai.mit.edu (Robert Earl):
+---------------
| Was the directory mounted across NFS?  If so, file operations like
| this one on directories fail, as you pointed out.
+---------------

Way back when, a directory was just a file.  Nowadays, however, directories in
different filesystems can have extremely different formats (courtesy FSSW or
vnodes) or even not actually exist!  It's a lot easier to fail a directory
read with EISDIR than it is to have special code to generate and/or modify
directory entries to be what a program reading the directory as a file expects.

++Brandon
-- 
Me: Brandon S. Allbery			  Ham: KB8JRR/AA  10m,6m,2m,220,440,1.2
Internet: allbery at NCoast.ORG		       (restricted HF at present)
Delphi: ALLBERY				 AMPR: kb8jrr.AmPR.ORG [44.70.4.88]
uunet!usenet.ins.cwru.edu!ncoast!allbery       KB8JRR @ WA8BXN.OH



More information about the Comp.unix.programmer mailing list