File: hurd.boot

package info (click to toggle)
hurd 1:0.9.git20190331-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 37,860 kB
  • sloc: ansic: 540,570; sh: 5,033; asm: 3,099; makefile: 2,201; yacc: 1,288; perl: 589; pascal: 484; awk: 183
file content (13 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
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.
/hurd/ext2fs --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T device ${root-device} $(task-create) $(task-resume)

# 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.
/lib/ld.so /hurd/exec $(exec-task=task-create)