[171] in Info-AFS_Redistribution
Re: Hard links across directories
daemon@ATHENA.MIT.EDU (Bob Andrews)
Mon Jun 24 22:36:42 1991
From: bob@ibmpa.awdpa.ibm.com (Bob Andrews)
To: bell@parc.xerox.com (Alan Bell)
Date: Mon, 24 Jun 91 19:07:02 PDT
Cc: info-afs@transarc.com
In-Reply-To: <McNdiesB0V1JJCs0Ep@saber.parc.xerox.com>; from "Alan Bell" at Jun 24, 91 6:26 pm
Alan Bell writes:
> Date: Mon, 24 Jun 1991 18:26:02 PDT
> Sender: Alan Bell <bell@parc.xerox.com>
> From: Alan Bell <bell@parc.xerox.com>
> To: info-afs@transarc.com
> Subject: Hard links across directories
>
> We are starting to more seriously use AFS and have run across a problem
> which we would like to learn out other sites have solved. AFS does not
> allow hard links across directories. We are finding this to be quite
> annoying. Many packages have such links. We have the choice of not
> putting the package on afs or changing all the links to symbolic ones
> which would have to be redone on each new release of the package.
>
> A specific example is the sunos release. We have the full sunos release
> on an NFS file server and would like to put it on afs. When we rdist it
> over, we get many complaints from rdist.
>
> How have other sites dealt with this? Has your user community been
> tolerant of this non-standard behavior?
>
One simple approach is to install the package somewhere in the standard
UNIX file system, then use "cp -r -p" to copy the data. Cp loses the
link info, and will make separate copies of the file in question.
On rs_aix31 systems, release 3.2's "-s" flag for tar should automatically
create a sym link whenever a hard link fails...
Bob