NFS != SunOS

Scott Schwartz schwartz at shire.cs.psu.edu
Thu Oct 6 15:34:14 AEST 1988


In article <506 at quintus.UUCP>, ok at quintus (Richard A. O'Keefe) writes:
>Are you sure about that?  In both SunOS 3.2 and SunOS 4.0,
>	% cat .
>	cat: read error: Is a directory
>In straight 4.2BSD, if you read a directory, you get the file names &c,
>but in SunOS 3.x and 4.x, a directory always appears to be empty.  So
>"wc $Directory" in SunOS will always print "0 0 0".

shire% wc .
       5       7    1536 .

It is NFS that is producing the behavior you describe.  SunOS does
the normal thing when it has a real unix filesystem in hand.


-- Scott Schwartz     schwartz at gondor.cs.psu.edu

Your array may be without head or tail, yet it will be proof against defeat.  
   Sun Tzu, "The Art of War"
-- Scott Schwartz     schwartz at gondor.cs.psu.edu

Your array may be without head or tail, yet it will be proof against defeat.  
   Sun Tzu, "The Art of War"



More information about the Comp.unix.wizards mailing list