> The deb import script from apt-cacher, when importing debs, first tries
> to make a hardlink (see `man ln`), and only if that fails, creates a
> regular file copy. As a result, it is very impressive to see, that
> even though an import of over 60 thousands of packages has completed,
> the amount of free disk space did not reduce at all.

Approx needs to have all the files in its cache owned by the approx
user, so it can garbage-collect them, compress and decompress them,
etc.  That won't work if some files are hardlinks to other files,
because they'll be owned by another user (typically root).  The
approx-import program won't have permission to chown the link, and
even if it did (by remaining as root), that might break some other
program that found *its* link now owned by approx.

So I'm going to tag this wontfix and close it.

Thanks for your other reports on approx-import; as you can tell, it's
still new (just added in the previous version) and hasn't been used by
many people yet.

-- 
Eric Cooper             e c c @ c m u . e d u



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to