If you : a) did run defrag over Hurd partition b) did ``cp -a /mnt/hurd_1 /mnt/i_want_one_hurd_more'' c) severly damaged /dev/* or /servers/* while playing with Hurd You can now do a 95%-fix with attached perl script. This script does some heurustics to guess what /dev/* really is, so will accept minor changes (various number of IDE/SCSI disks, more pty/tty pairs). script tries to fix (set everything in) /dev/*, then goes to /servers/ and tries to fix (set everything in) it and /servers/socket/*. It runs in test (read only) mode by default. One full test was performed on correct system. Busy devices (/servers/exec, /dev/console ...) were ignored by program. It can be also used to set up runable Hurd after ``cp -a /mnt/a /mnt/b'', by running from /mnt/b, running hurd_recovery.pl, and rebooting.
Attachment:
hurd_recovery.pl
Description: Perl program