beautypg.com

Symbolic links – HP Integrity NonStop H-Series User Manual

Page 74

background image

OSS File Synchronization

HP AutoSYNC User’s Guide522580-021

5-4

Links

When NO ALLHARDLINKS is specified, AutoSYNC does not synchronize the hard
links for the same inode if any of the hard links are outside the synchronization file
set. In this case the hard links are skipped and a message is written to the log file:

Symbolic links

AutoSYNC always synchronizes a symbolic link when the symbolic link points to a file
or directory that is inside the synchronization file set. The

SYNCHRONIZE

command

option ALLSYMLINKS controls the synchronization of a symbolic link that points
outside the synchronization file set.

By default, when ALLSYMLINKS is specified, a symbolic link is synchronized also
when the symbolic link points outside the synchronization file set. In this case, the
symbolic link may point to a file that does not exist. A message is written to the log
file:

When NO ALLSYMLINKS is specified, AutoSYNC does not synchronize a
symbolic link that points outside the synchronization file set. In this case the link is
skipped and a message is written to the log file:

When a symbolic link is synchronized, the content of the link, which is the name of the
linked object, is changed in the destination file set as follows:

If the symbolic link points outside the synchronization file set, the content of the
symbolic link is not changed

If the symbolic link points inside the synchronization file set and the linked name is
an absolute pathname, then the source file set name portion of the linked name is
replaced with the destination file set portion. The linked name is not changed when
it is not an absolute name.

Modification Timestamp of Symbolic Links

The modification timestamp is set differently for symbolic links:

1. The modification timestamp of a symbolic link is its creation timestamp.

2. The modification timestamp does not change when the file it points to changes.

Uncontained hard link points to same inode, file not
synchronized.

File not in source file set, synchronizing uncontained
symbolic link.

File not in source file set, symbolic link not
synchronized.

This manual is related to the following products: