If the content is not empty string, it will be passed as arguments to the
PROMs boot command as soon as the machine is going to be rebooted (exactly
same arguments as you'd type after PROMs boot command on the PROM ok prompt).
The first argument should be the name of the boot device and then arguments
for that boot loader should follow.
Examples:
to reboot into Solaris on disk SCSI id 4, type e.g.
echo "disk4 -rv" > /proc/sys/kernel/reboot-cmd
or if the device is not in aliases type e.g.
echo "/sbus@40,0/SUNW,socal@0,0/sf@0,0/ssd@w21000020371388d1,0:a -v" > /proc/sys/kernel/reboot-cmd
to reboot into the image from the network, type e.g.
echo "net root=/dev/sda3 noinitrd" > /proc/sys/kernel/reboot-cmd
and to reboot into linux.new image specified in your silo.conf, type e.g.
echo "disk linux.new console=prom" > /proc/sys/kernel/reboot-cmd
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.127 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/