This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Removed /sourceware/ftp/anonftp/pub/cygwin/stage directory
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 18 Apr 2006 06:38:23 -0600
- Subject: Re: Removed /sourceware/ftp/anonftp/pub/cygwin/stage directory
- References: <20060417153220.GA4047@trixie.casa.cgf.cx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Christopher Faylor on 4/17/2006 9:32 AM:
> I've removed the directory in the subject.
>
> If you want similar functionality, please just create a similar
> directory in your home area and use that.
It's not exactly the same. stage was on the same disk as release, so 'mv
stage/foo release/' was an atomic rename(2), and 'cp -l stage/foo release;
rm stage/foo' worked similarly - either upset saw the entire file or it
saw nothing. But home directories are on different devices, so mv has to
resort to copying across devices, and cp -l fails because cross-device
hard links don't work; which means that upset can see the file in an
intermediate state. Although the window of time for mv is much smaller
than the window of time for doing wget directly into the release area, it
is still a window.
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFERN2+84KuGfSFAYARAsBcAKCGZqQcmH915y7Sz0+RrBwnVl9/tgCcCgn8
x7qlG/zvvH/kjFjSAAAAs54=
=itYU
-----END PGP SIGNATURE-----