>[EMAIL PROTECTED] wrote:
>
>>
>>
>> >Is this the way it's supposed to work? Is this due to things that are
>> >missing from the miniroot?
>>
>> No, more is just broken.
>>
>> I think it expects to be able to read from stderr (for obvious reasons :-)
>> and exits when it cannot.
>
>If stderr is a tty and you cannot read ftom stderr something is broken ,-)
Typically, the world starts with:
fd = open("/dev/xxx", O_RDWR);
dup(fd);
dup(fd);
which gets you fd 0, 1 and 2 connected r/w on your tty.
But there's nothing that makes the following invalid:
fd = open("/dev/xxx", O_RDONLY);
dup(fd);
fd2 = open("/dev/xxx", O_WRONLY);
Except that it breaks more.
Casper
_______________________________________________
opensolaris-discuss mailing list
[email protected]