This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Organization: UCSD > Keywords: 199403072109.AA01755 Hi Tom, > - ------------------------------------------------------------------------- > Possible Bug Number 2.... > - ------------------------------------------------------------------------- > > > The second problem that has been occuring is the Cross device link > error. The file system looks like the following... > > Filesystem Type kbytes use avail %use Mounted on > /dev/root efs 15715 9782 5933 62% / > /dev/dsk/dks0d2s6 efs 1090024 561125 528899 51% /d2 > /dev/dsk/dks0d3s6 efs 1872682 1019850 852832 54% /uni > /dev/dsk/dks0d5s7 efs 439750 200906 238844 46% /disk5 > ...... + more ...... > > > When attempting to run a program from "/d2/../somedir" to write data to > "/uni/../otherdir" the following error occurs: > > ncendef: rename failed: Cross-device link > > The permissions for both /d2 and /uni allow the user to write to those disks. > Is this a problem with the XDR library routines? I have been unable to reproduce this behavior on either an SGI under IRIX 4.0.5 or a SPARCstation 10 under SunOS 5.3. Is the "/../" necessary in both pathnames to demonstrate the bug? That is do you not get the error when running the program from "/somedir" to write data to "/otherdir"? In trying to reproduce the error, I tried the following on an SGI, for example, and it worked fine: % cd /usr % ../upc/new/netcdf/bin/ncgen -o ../home/russ/test.nc -b ../tmp/test.cdl where on our system each of /usr, /upc, and /home are on different devices, the latter remotely mounted. __________________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden P.O. Box 3000 (303)497-8645 Boulder, Colorado 80307-3000