Subject: Re: namei changes...
To: None <current-users@NetBSD.ORG>
From: Patrick Welche <prlw1@cam.ac.uk>
List: current-users
Date: 05/10/1997 17:09:06
John F. Woods wrote:
> 
> > and the same for slowaris:
> 
> > % ls -l /tmp/foobar
> > /tmp/foobar: No such file or directory
> > % cp this.gnu /tmp/foobar
> 
> Can you try it again with "cp this.gnu /tmp/foobar/"?  The trailing slash
> is what is supposed to make it require /tmp/foobar to exist as a directory.
> 

Ooops - right you are...

% ls -l /tmp/foobar
/tmp/foobar: No such file or directory
% cp elconst.cc /tmp/foobar/
% !l
ls -l /tmp/foobar
-rw-------   1 prlw1    prlw1       5123 May 10 16:54 /tmp/foobar
% uname -a
SunOS taurus.cus.cam.ac.uk 5.5 Generic_103093-06 sun4d sparc SUNW,SPARCserver-1000

but, nope, it did the same again... I'll try with slowaris 1

% ls -l /tmp/foobar
/tmp/foobar not found
% cp Charsets /tmp/foobar/
% !l
ls -l /tmp/foobar
-rw-------  1 prlw1        3837 May 10 16:57 /tmp/foobar
% uname -a
SunOS bootes.cu 4.1.3 6 sun4m

and again.

Surprise:

tcm18% ls -l /tmp/foobar
/tmp/foobar not found
tcm18% cp table3.txt /tmp/foobar/
cp: /tmp/foobar/: No such file or directory
tcm18% !l
ls -l /tmp/foobar
/tmp/foobar not found
tcm18% uname -a
OSF1 tcm18.phy.cam.ac.uk V4.0 564 alpha

It has said behaviour under OSF1!

Patrick