Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!psuvax1!shire.cs.psu.edu!schwartz From: schwartz@shire.cs.psu.edu (Scott Schwartz) Newsgroups: comp.unix.wizards Subject: NFS != SunOS Message-ID: <4018@psuvax1.cs.psu.edu> Date: 6 Oct 88 05:34:14 GMT Sender: news@psuvax1.cs.psu.edu Reply-To: schwartz@shire.cs.psu.edu (Scott Schwartz) Organization: Penn State University Lines: 23 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"