beautypg.com

Links, Hard links, Symbolic links – HP NonStop G-Series User Manual

Page 69

background image

OSS File Synchronization

HP AutoSYNC User’s Guide522580-015

5-3

Links

Links

AutoSYNC provides synchronization options that control synchronization of hard links
and symbolic links.

Hard links

AutoSYNC always synchronizes a hard link when all links to the same inode are inside
the synchronization file set. The

SYNCHRONIZE

command option ALLHARDLINKS

controls the synchronization of a hard link when some of the links to the same inode
are outside the synchronization file set.

By default, when ALLHARDLINKS is specified, all hard links that are inside the
synchronization file set are synchronized even if some hard link to the same inode
is outside the synchronization file set. A message is written to the logfile:

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 logfile:

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
logfile:

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 logfile:

Some hard link not in file set, synchronizing uncontained
hard link.

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: