[Info-vax] Unexpected error using ZIP for OpenVMS
Phillip Helbig---undress to reply
helbig at astro.multiCLOTHESvax.de
Fri Dec 23 18:58:52 EST 2011
In article
<e1c58379-e1a6-4b1f-8d12-3cc21e660375 at v14g2000yqh.googlegroups.com>,
Steven Schweda <sms.antinode at gmail.com> writes:
> Zip uses a
> temporary file (on VMS, it's currently "ZIxxxxxxxx.yyyyyyyy",
> where "xxxxxxxx" is the hex process ID, and "yyyyyyyy" is a
> hex serial number) in the archive destination directory.
> Then, if all goes well in creating the temporary archive,
> it's renamed to the user-specified name. And if the rename
> operation fails, Zip tries a copy, which, if it works, can be
> much slower than a rename. But the whole reason for creating
> the temporary archive in the same directory as the
> user-specified archive destination is so that the rename
> operation will work (quickly).
Depending on one's hardware, it might be faster to have the source and
destination on the same disk or at least on disks with direct
connections to the same machine (say, a hobbyist system with relatively
fast controllers and disk but slow ethernet) or on different disks (say,
where there is a high-speed interconnect so the more distributed the I/O
the better).
More information about the Info-vax
mailing list