FreeBSD 1.1 under -current :-)

Julian Elischer julian at elischer.org
Fri Feb 6 11:49:08 PST 2004



On Fri, 6 Feb 2004, Garrett Wollman wrote:

> <<On Fri, 6 Feb 2004 01:49:52 -0800 (PST), Julian Elischer <julian at elischer.org> said:
> 
> > jules# ktrace ./mkdir -p /tmp/xx/xx
> > mkdir: : No such file or directory
> 
> FreeBSD 1.x had a bug in which the pathname "" would be treated the
> same as ".".  Some of the 1.x utilities had bugs which depended on
> this bug in order to function.  This was fixed in 2.x IIRC.

hmmm I don't think this is the problem, but it's an interesting
thought. 

the failing syscall is I think mkdir
with flags  (mode 755)
I'm pretty sure the argument was an absolute path..
possibly it's '/usr' if teh stat failure was not real.

 4690 mkdir    RET   umask 18/0x12
  4690 mkdir    CALL  old.stat(0xbfbfeddb,0xbfbfecd8)
  4690 mkdir    RET   old.stat -1 errno 2 No such file or directory
  4690 mkdir    CALL  mkdir(0xbfbfeddb,0x1ed)
  4690 mkdir    RET   mkdir -1 errno 2 No such file or directory


> 
> -GAWollman
> 
> 




More information about the freebsd-current mailing list