http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1425 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Mihael Hategan <[email protected]> 2015-06-19 20:24:57 --- What version of Swift is this? I committed some code to trunk to create symbolic links (on OSes that support it) when an assignment of file values happens. The only restriction is that the source must not be temporary (which it is not in this case). The code tries to resolve the source if it is a link itself. In that case, it will link to the link target even if the source itself is a temporary file. This requires at least java 1.7. Versions prior to that do not support linking. If you are using java 1.6, copying will continue to be done. This could be "fixed" by doing some command line implementation of the linking API, but I'm probably not going there. Full moving/renaming capability might be possible, but it requires reference counting for reads (to assert that nothing is trying to read from a file that is being deleted) which is currently not implemented. A naive rename (remapping it was called) was actually implemented in earlier versions. It was terribly broken, since it did not guarantee that code that was using filename(x) was not running (or scheduled to run) when the mapping of x was being modified. -- Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.