Subject: Re: bugs and/or misfeatures in namei changes
To: John F. Woods <>
From: Rick Kelly <>
List: current-users
Date: 05/10/1997 13:05:05
John F. Woods said:

>I'm currently running Jason Thorpe's DMA test kernel, whose source
>date I don't know (but I assume is probably fairly recent).  However,
>on the off chance that this pathname bug (or is it a "feature"?) is
>still present:
>For an archive that I maintain, I have been in the habit of testing
>for a directory that might or might not exist with
>	cp file /archive/path/directory/
>the idea being that if "/archive/path/directory" exists as a directory,
>I want to copy "file" into it, otherwise it should fail.
>Unfortunately, it now succeeds, copying "file" to
>"/archive/path/directory" (as a regular file).

I see this (mis)behavior here on:

NetBSD 1.0A
NetBSD 1.2
NetBSD 1.2B
SunOS 4.1.3
SunOS 4.1.4

However, SunOS 4.1.1 does the right thing.
Rick Kelly