Re: diskfs_console_stdio

2001-06-29 Thread Thomas Bushnell, BSG
Neal H Walfield <[EMAIL PROTECTED]> writes: > I think that there is an error in > libdiskfs/console.c:diskfs_console_stdio. The first line of the > functions is: > > if (getpid () > 0) > > Currently, proc is always pid 0 and the root filesystem is pid 4. As > such, can we eliminate the

Re: diskfs_console_stdio

2001-06-19 Thread Roland McGrath
You are confused. That code runs in the early part of startup. In the bootstrap filesystem, this is before any of the rest of the Hurd is running. getpid () returns _hurd_pid, which is not set until _hurd_init is called by diskfs_S_fsys_init at the end of the init handshake. __