[comp.unix.wizards] NFS != SunOS

schwartz@shire.cs.psu.edu (Scott Schwartz) (10/06/88)

In article <506@quintus.UUCP>, ok@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@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@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"