* Re: git on afs (fwd)
@ 2007-10-18 22:48 Brandon Casey
0 siblings, 0 replies; only message in thread
From: Brandon Casey @ 2007-10-18 22:48 UTC (permalink / raw)
To: git
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; format=flowed; charset=X-UNKNOWN, Size: 1077 bytes --]
Added the mailing list back in.
On Thu, 18 Oct 2007, Todd T. Fries wrote:
> link() returns -1 errno 17 File exists on afs.
>
> To further muddy the waters, linking within the same dir is ok,
> linking outside the same dir is not:
>
> todd@ispdesk/p6 ~/tmp¦61$ mkdir dir
> todd@ispdesk/p6 ~/tmp¦62$ touch a
> todd@ispdesk/p6 ~/tmp¦63$ ln a b
> todd@ispdesk/p6 ~/tmp¦64$ ls -l a b
> -rw-r--r-- 2 4 wheel 0 Oct 18 17:09 a
> -rw-r--r-- 2 4 wheel 0 Oct 18 17:09 b
> todd@ispdesk/p6 ~/tmp¦65$ ls -li a b
> 2068032 -rw-r--r-- 2 4 wheel 0 Oct 18 17:09 a
> 2068032 -rw-r--r-- 2 4 wheel 0 Oct 18 17:09 b
> todd@ispdesk/p6 ~/tmp¦66$ ln a dir/b
> ln: dir/b: File exists
> todd@ispdesk/p6 ~/tmp¦67$ echo $?
That error is just bogus on afs. If it returned a sane
error, things would just work.
But, looks like afs only supports linking within the same
directory: http://www.angelfire.com/hi/plutonic/afs-faq.html
So, you could look into whether the temp file can be sanely
created in the same directory as the final filename.
-brandon
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-18 22:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 22:48 git on afs (fwd) Brandon Casey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).