lkml.org 
[lkml]   [1998]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] sysctl documentation 2.1.128
Date
> 
> -securelevel:
> +reboot-cmd: (Sparc only)
>
> -When the value in this file is nonzero, root is prohibited
> -from:
> -- changing the immutable and append-only flags on files
> -- changing sysctl things (limited ???)
> +??? This seems to be a way to give an argument to the Sparc
> +ROM/Flash boot loader. Maybe to tell it what to do after
> +rebooting. ???

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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.050 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site