FreeBSD 1.1 under -current :-)

Julian Elischer julian at elischer.org
Fri Feb 6 22:34:51 PST 2004



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



More information about the freebsd-current mailing list