archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <>
To: Jason Riedy <ejr@EECS.Berkeley.EDU>
Subject: Re: [RFC & PATCH] Solaris 8: ENOSYS when mkdir applied to automount.
Date: Wed, 01 Feb 2006 16:46:02 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <24768.1138840762@lotus.CS.Berkeley.EDU> (Jason Riedy's message of "Wed, 01 Feb 2006 16:39:22 -0800")

Jason Riedy <ejr@EECS.Berkeley.EDU> writes:

> I guess our home directories recently were changed from symlinks
> to autmounts.  Solaris 8's mkdir(2) returns ENOSYS when applied
> to these, breaking safe_create_leading_directories.  I don't
> know if ENOSYS is available everywhere, or if this odd behavior
> is appropriate everywhere.
> This works for me, but should I wrap mkdir for bizarre behavior
> by adding a compat/gitmkdir.c?

There was a similar patch for working around Cygwin that threw
different errno in an earlier thread:

    From: Alex Riesen <>
    Subject: [PATCH] Set errno to EEXIST if mkdir returns EACCES or EPERM

Somehow I started to trust your ability to code portably a lot
better than I trust myself, so please first disregard the
suggestion I gave in that thread and give me your honest opinion
on what the right fix/workaround would be.

  reply	other threads:[~2006-02-02  0:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02  0:39 [RFC & PATCH] Solaris 8: ENOSYS when mkdir applied to automount., Jason Riedy
2006-02-02  0:46 ` Junio C Hamano [this message]
2006-02-02  4:14   ` [RFC & PATCH] Solaris 8: ENOSYS when mkdir applied to automount Jason Riedy
2006-02-02  4:18 ` H. Peter Anvin

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:

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

  git send-email \ \ \
    --cc=ejr@EECS.Berkeley.EDU \ \

* 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).