Subject: Re: old cp not compatible with current namei()
To: proprietor - Foo Bar And Grill <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 05/19/1997 09:05:37
On Mon, 19 May 1997 06:25:54 -0700 (PDT)
proprietor - Foo Bar And Grill <email@example.com> wrote:
This was a bug in cp(1), and has been fixed.
> Okay, while POSIX compatibility is a questionably desirable thing,
> has anyone fixed cp to be compatible with namei()?
> # cp netbsd /
> overwrite /netbsd? y
> cp: : No such file or directory
> Maybe it's because my userland is behind my kernel, but this is a drag.
> If you're going to fix namei() to ignore trailing slashes, great, but
> at least make it not ignore the root directory! (It appears to be more
> cp's fault than namei()'s because I can cd to root (/) no problem.)
Jason R. Thorpe firstname.lastname@example.org
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939