git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git on afs (fwd)

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Oct 18, 2007, 22:48 UTC
Message-ID
<Pine.LNX.4.64.0710181746020.30020@torch.nrlssc.navy.mil>
Added the mailing list back in.
On Thu, 18 Oct 2007, Todd T. Fries wrote:
Show 17 quoted lines
> 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
Message 1 of 1 in “Re: git on afs (fwd)”
  1. Brandon CaseyOct 18, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.