Re: FreeBSD 1.1 under -current :-)

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 6 Feb 2004 22:34:47 -0800 (PST)
On Fri, 6 Feb 2004, Julian Elischer wrote:

> 
> 
> 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. 

I was wrong..
that was the problem.. a little hack in 1.1's mkdir to not do that
allows me to do make world in the 1.1 chroot....


> 
> 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
> > 
> > 
> 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Fri Feb 06 2004 - 21:34:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC