On Wed, 3 Oct 2001, Ken Pizzini wrote:
> Zhihui Zhang <[EMAIL PROTECTED]> wrote:
> > (3) Matt says "For example, if you have two hardlinked files residing in
> > different directories both get renamed simultaniously, one of the
> > rename()s can fail even though there is no conflict
> >
> > Can you explain this a little bit more?
>
> Consider:
> mkdir foo bar
> echo fubar > foo/a
> ln foo/a bar/a
Should it be: ln foo/a bar/b instead?
> mv foo/a foo/b & mv bar/a bar/b
>
> There is no reason why that last line should fail, though it could
> return EINVAL under some situations using some of the proposed
> patches.
>
> --Ken Pizzini
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message