[darcs-devel] Re: strange bug with Windows share mounted on Mac
OS X
David Roundy
droundy at abridgegame.org
Wed Oct 20 05:02:34 PDT 2004
On Wed, Oct 20, 2004 at 08:54:24AM +0200, Martin Schaffner wrote:
> Juliusz Chroboczek wrote:
> > Hmm... What about stat-ing "." and checking if the link count is 1?
> >
> > Could someone running Mac OS X run ``ls -ld .'' in a Windows share and
> > tell us what's the link count (second column)?
>
> This seems to work: I only get "1" if I am on the Windows share. However,
> can we be sure this test gives us no false negatives, such that mmap is
> used on a Windows-semantic mount? What about samba, can someone test this?
My test of this was with samba. But I'm also concerned about using a test
that I don't really understand. Juliusz, why did you guess that this is
the case, and why should we trust that it would be so on any system that
has this problem?
--
David Roundy
http://www.abridgegame.org
More information about the darcs-devel
mailing list