Problem
When an NFS 2.0 client tries to list files, using "ls", in some NFS mounted directories, the following error may occur:
ls: cannot get current working directory: Function not
implemented (error 89)When running "make" this error may occur:
getcwd: (bu5)The directory in question is exported by a non-SCO server or is
a non-SCO filesystem. And, although ls fails, it is likely that
files can still be read and written using vi, touch, cat and other
utilities. Cause
The HTFS and DTFS filesystems support "versioning". A versioned
directory uses a technique in which information is stored 1GB down
the directory by using lseek(S).There is a clash between the SCO implementation of versioning and some non-SCO UNIX filesystem types, where both use directory offsets of 1GB to store information. The test to see if a file is versioned is to simply lseek() to 1GB and check success. The "ls" command uses getcwd(S) which by default tests to see if the current directory contains versioned files, even though it should only do this if the environment variable SHOWVERSIONS is set to 1.
Solution
This problem was fixed in OpenServer 5.0.4.