summaryrefslogtreecommitdiff
path: root/hurd.boot
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-21 23:09:43 +0000
committerRoland McGrath <roland@gnu.org>1995-09-21 23:09:43 +0000
commit8c94a8712e71016b6bd6b535f34a4cc25646c516 (patch)
treef2206cbf84b400f63ca9b10cf924f5cf8c733236 /hurd.boot
parent5e959f755913f28d85f8ea6e018321e0eebf2f4c (diff)
Renamed from hurd.boot; use @exec_prefix@ instead of hardcoded dir.
Added some comments.
Diffstat (limited to 'hurd.boot')
-rw-r--r--hurd.boot13
1 files changed, 12 insertions, 1 deletions
diff --git a/hurd.boot b/hurd.boot
index 6b40e7c1..4b8f5965 100644
--- a/hurd.boot
+++ b/hurd.boot
@@ -1,2 +1,13 @@
+# Boot script file for booting GNU Hurd. Each line specifies a file to be
+# loaded by the boot loader (the first word), and actions to be done with it.
+
+# First, the bootstrap filesystem. It needs several ports as arguments,
+# as well as the user flags from the boot loader.
ufs/ufs ${boot-args} ${host-port} ${device-port} ${exec-task} ${root-device} $(task-create) $(task-resume)
-/gd4/hurdinst/lib/ld.so /hurd/exec $(exec-task=task-create)
+
+# Now the exec server; to load the dynamically-linked exec server program,
+# we have the boot loader in fact load and run ld.so, which in turn
+# loads and runs /hurd/exec. This task is created, and its task port saved
+# in ${exec-task} to be passed to the fs above, but it is left suspended;
+# the fs will resume the exec task once it is ready.
+@exec_prefix@/lib/ld.so /hurd/exec $(exec-task=task-create)