summaryrefslogtreecommitdiff
path: root/faq/dev-init.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'faq/dev-init.mdwn')
-rw-r--r--faq/dev-init.mdwn11
1 files changed, 7 insertions, 4 deletions
diff --git a/faq/dev-init.mdwn b/faq/dev-init.mdwn
index 1b6693fa..bd519c34 100644
--- a/faq/dev-init.mdwn
+++ b/faq/dev-init.mdwn
@@ -24,16 +24,19 @@ or
or even completely by hand:
- settrans -fg /target/dev/console /hurd/term /dev/console device console
- settrans -fg /target/dev/null /hurd/null
- settrans -fg /target/servers/socket/1 /hurd/pflocal
- settrans -fg /target/dev/urandom /hurd/random --seed-file /var/lib/random-seed --fast
+ settrans -cfg /target/dev/console /hurd/term /dev/console device console
+ settrans -cfg /target/dev/null /hurd/null
+ settrans -cfg /target/servers/socket/1 /hurd/pflocal
+ settrans -cfg /target/dev/urandom /hurd/random --seed-file /var/lib/random-seed --fast
to restore it or at least the basic parts.
You can also try to fix some entries from a Linux system (mounting it as ext4) with:
touch /target/dev/console
+ touch /target/dev/null
+ touch /target/servers/socket/1
+ touch /target/dev/urandom
setfattr -n gnu.translator -v "/hurd/term\0/dev/console\0device\0console\0" /target/dev/console
setfattr -n gnu.translator -v "/hurd/null\0" /target/dev/null
setfattr -n gnu.translator -v "/hurd/pflocal\0" /target/servers/socket/1