bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running rump for the / filesystem


From: Samuel Thibault
Subject: Re: Running rump for the / filesystem
Date: Fri, 10 Apr 2020 09:23:50 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le ven. 10 avril 2020 17:15:30 +1000, a ecrit:
> In my own words, the changes that are needed:
> 
> 1. libpciaccess needs to check if pci-arbiter's task_bootstrap_port is set
> and if it is, use it instead of /servers/bus/pci
> 
> 2. pci-arbiter needs to call task_set_special_port on rump's 
> TASK_BOOTSTRAP_PORT
> if --disk-server-task flag is detected.
> 
> 3. rumpdisk needs to call task_set_special_port on ext2fs's 
> TASK_BOOTSTRAP_PORT
> if --fs-server-task flag is detected.
> 
> 4. ext2fs will just work in this configuration
> 
> I'm unsure if I have this correct.

That's correct.

> Can you please elaborate on the above?

I don't know more than the source code :)

hurd/$ git grep -i TASK_BOOTSTRAP_PORT .
libdiskfs/boot-start.c:  err = task_set_special_port (diskfs_exec_server_task, 
TASK_BOOTSTRAP_PORT, right);

glibc/$ git grep -i TASK_BOOTSTRAP_PORT .
hurd/hurdinit.c:  __task_set_special_port (__mach_task_self (), 
TASK_BOOTSTRAP_PORT,
hurd/hurdstartup.c:  if (err = __task_get_special_port (__mach_task_self (), 
TASK_BOOTSTRAP_PORT,
hurd/ports-get.c:                                 TASK_BOOTSTRAP_PORT,
hurd/ports-set.c:                                 TASK_BOOTSTRAP_PORT,

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]