aboutsummaryrefslogtreecommitdiff
path: root/rumpdisk
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-08-11 17:32:32 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-08-11 18:28:03 +0200
commit2cfbdcc66886bd4852f9e84b46fbf6bdc7d8a13e (patch)
treeca0329c48226b59684c287ef67a356fdd4b6a54e /rumpdisk
parent9049b963b6023ef6d7bd3f8c81ef5ab1f3b43fd3 (diff)
downloadhurd-2cfbdcc66886bd4852f9e84b46fbf6bdc7d8a13e.tar.gz
hurd-2cfbdcc66886bd4852f9e84b46fbf6bdc7d8a13e.tar.bz2
hurd-2cfbdcc66886bd4852f9e84b46fbf6bdc7d8a13e.zip
pci-arbiter, rumpdisk: Rename options for bootstrap chain
We may end up with an arbitrary series of bootstrap translators, which can know about each other through devices, and thus do not need any particular order except dependencies. The actual bootstrap order can thus be arbitrary (provided it respects dependencies), so better not hardcode it.
Diffstat (limited to 'rumpdisk')
-rw-r--r--rumpdisk/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rumpdisk/main.c b/rumpdisk/main.c
index c5f44fb7..bafe0250 100644
--- a/rumpdisk/main.c
+++ b/rumpdisk/main.c
@@ -36,7 +36,7 @@ mach_port_t bootstrap_resume_task = MACH_PORT_NULL;
static const struct argp_option options[] = {
{"host-priv-port", 'h', "PORT", 0, "Host private port PORT"},
{"device-master-port",'d', "PORT", 0, "Device master port PORT"},
- {"filesystem-task", 'f', "TASK", 0, "Filesystem task TASK"},
+ {"next-task", 'N', "TASK", 0, "Next bootstrap task TASK"},
{0}
};
@@ -51,7 +51,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
{
int host_priv;
int dev_master;
- int fs_task;
+ int next_task;
} *values = state->hook;
switch (key)
@@ -62,8 +62,8 @@ parse_opt (int key, char *arg, struct argp_state *state)
case 'd':
values->dev_master = atoi(arg);
break;
- case 'f':
- values->fs_task = atoi(arg);
+ case 'N':
+ values->next_task = atoi(arg);
break;
case ARGP_KEY_INIT:
@@ -79,7 +79,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
/* All options parsed successfully */
_hurd_host_priv = values->host_priv;
_hurd_device_master = values->dev_master;
- bootstrap_resume_task = values->fs_task;
+ bootstrap_resume_task = values->next_task;
break;
default: