diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-06-26 16:48:31 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-06-26 16:48:31 +0000 |
commit | bd1651b67f7df6ae51a80130340147a4d02a2eef (patch) | |
tree | d5ba39f46956432c202875b1ddd74ab7f8f3ad03 | |
parent | 77a6249b53adb38e5c1911e53d086d004bd2e68b (diff) |
explain how the aliasing operation works.
-rw-r--r-- | usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod b/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod index 7b9f45bc3f5..395a70d730d 100644 --- a/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod +++ b/usr.sbin/pkg_add/pod/OpenBSD::Ustar.pod @@ -1,4 +1,4 @@ -$OpenBSD: OpenBSD::Ustar.pod,v 1.7 2005/06/20 13:27:38 espie Exp $ +$OpenBSD: OpenBSD::Ustar.pod,v 1.8 2005/06/26 16:48:30 espie Exp $ =head1 NAME @@ -172,6 +172,11 @@ During writing, hard link status is determined according to already written archive entries: a name that references a file which has already been written will be granted hard link status. +Hard links can not be copied from one archive to another unless the original +file has also been copied. Calling C<$o-E<gt>alias($arc, $name)> will trick +the destination archive C<$arc> into believing C<$o> has been copied under the +given C<$name>, so that further hard links will be copied over. + Archives can be copied by creating separate archives for reading and writing. Calling C<$o = $rdarc-E<gt>next()> and C<$o-E<gt>copy($wrarc)> will copy an entry obtained from C<$rdarc> to C<$wrarc>. |