Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643728 - app-portage/unsymlink-lib (enhancement for nosymlink) Usage of hard links?
Summary: app-portage/unsymlink-lib (enhancement for nosymlink) Usage of hard links?
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-06 17:57 UTC by Raymond Jennings
Modified: 2018-01-06 19:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2018-01-06 17:57:21 UTC
Just curious, is there any way to use hard links and the like instead of raw copying to expedite the process?

I noticed that the unsymlink-lib process chewed up a LOT of my I/O bandwidth doing copies and I was wondering if doing hard links on supporting filesystems would be easier on the disk.

Or indeed anything else that would speed up the I/O.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-06 19:09:40 UTC
Hard links have some breakage potential. The idea is that until --finish, the copy is pretty much disposable and the user can do anything about it, including modifying the files.

The tool passes --reflink=auto to make use of reflinks if supported by the filesystem. This is the best optimization available, and it's safe as it doesn't force any data sharing between files.