Re: fakeroot inquiry
On Fri, May 03, 2002 at 07:58:16PM +0200, Niels Möller wrote:
> Ah, the fake master device port is already there. That's excellent. Is
> it the boot process in the parent that responds to the child's device
> requests, or some other component?
Yep. It's right there in hurd/boot/boot.c, for example:
ds_device_open (mach_port_t master_port,
mach_port_t reply_port,
mach_msg_type_name_t reply_type,
dev_mode_t mode,
dev_name_t name,
mach_port_t *device,
mach_msg_type_name_t *devicetype)
{
if (master_port != pseudo_master_device_port)
return D_INVALID_OPERATION;
if (!strcmp (name, "console"))
{
...
[if the programmer isn't going to the code, the code must go to him :) ]
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
--
To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: