From: Johannes Schindelin Date: Wed, 26 Oct 2005 16:46:45 GMT Subject: Re: git 565ebbf79f61873042c22a7126d002c104e056f4 broken on OpenBSD Message-ID: In-Reply-To: <20051026161552.GA11483@delft.aura.cs.cmu.edu> Hi, On Wed, 26 Oct 2005, Jan Harkes wrote: > Checking the SuSv2 manpage for link(2), it doesn't mention either of > these error codes. But does mention EPERM as a valid error when the > filesystem doesn't support hardlinks. > http://www.opengroup.org/onlinepubs/007908799/xsh/link.html > > My local manual page for link(2) agrees with that definition, > > EPERM oldpath is a directory. > > EPERM The filesystem containing oldpath and newpath does not support > the creation of hard links. On my iBook, connecting a USB stick (FAT formatted), link() sets errno=ENOTSUP. I checked the man page, and erroneously thought that they got it right. *turns his eyes helplessly to the sky* Ciao, Dscho