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

Re: Bug#61991: potato/frozen directories refer to slink directories

Josip Rodin wrote:
> > Are mirroring tools flexible enough to keep symbolic links like
> > those from binary-i386 to binary-all within a release (e.g., potato)
> > while copying files linked across release?
> >
> > If not, it seems that the linking across release makes it a lot harder
> > to mirror potato to try it out (one has to mirror slink also,
> > taking up a lot more space).
> I would expect an advanced mirroring tool to be able to get one type of
> symlinks, and dereference another; however I don't know if it's possible.
> The problem with `flattening' symlinks to files in potato now is that
> it would make the mirror pulse much much larger, since they'd have to
> remirror all those files (pointless since they already have them :/),
> so those things are delayed until the release, when one would expect
> an impact in bandwidth.

If the mirrors are still using rsync and the disk structure permits, you
would be able to replace the symlink with a hardlink, wait until the
have all updated (rsync knows about hardlinks), then break the hardlink.

This should result in almost no bandwidth usage, yet separate the files.

No, I've never tested this to see if it works...
Martijn van Oosterhout <kleptog@cupid.suninternet.com>

Reply to: