[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Incremental and NFS on Solaris

From: Nate Eldredge
Subject: Incremental and NFS on Solaris
Date: Tue, 10 Oct 2000 15:57:29 -0700 (PDT)

You are probably aware of this already, but...

On Solaris 2.7 (sparc), the NFS_FILE_STAT macro in src/incremen.c uses the
st_fstype field from struct stat.  However, read_directory_file only fills
in the st_dev and st_ino fields from the directory file (because that's
the only info the directory file contains).  Thus note_directory doesn't
consider any directories from the directory file to be NFS, and the
NFS-handling logic for differing device numbers fails.

The upshot is that --listed-incremental doesn't work for automounted NFS
filesystems (whose device number is volatile) on Solaris.  Of course, the
basic cause is that the directory file doesn't contain enough information
to specify NFS.  Fixing this would probably require changing the directory
file format incompatibly.

Nate Eldredge
HMC CS Staff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]