git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brandon Casey <casey@nrlssc.navy.mil>
To: git@vger.kernel.org
Subject: Re: git on afs (fwd)
Date: Thu, 18 Oct 2007 17:48:01 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0710181746020.30020@torch.nrlssc.navy.mil> (raw)

[-- 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

                 reply	other threads:[~2007-10-18 22:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0710181746020.30020@torch.nrlssc.navy.mil \
    --to=casey@nrlssc.navy.mil \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).