nvram man page on OpenDarwin

Man page or keyword search:  
man Server   3202 pages
apropos Keyword Search (all sections)
Output format
OpenDarwin logo
[printable version]

nvram(8)							      nvram(8)

       nvram - manipulate Open Firmware NVRAM variables

       nvram [ -p ] [ -f filename ] [ name ] [= value ] ...

       The nvram command allows manipulation of Open Firmware NVRAM variables.
       It can be used to get or set a variable.	 It can also be used to	 print
       all  of	the variables or set a list of variables from a file.  Changes
       to NVRAM variables are only saved by clean restart or shutdown.

       In principle, name can be any string.  In  practice,  not  all  strings
       will  be	 accepted.   New  World	 machines  can create new variables as
       desired.	 Some variables require administrator privilege to get or set.

       The given value must match the data type	 required  for	name.	Binary
       data  can  be  set using the %xx notation, where xx is the hex value of
       the byte.  The type for new variables is always binary data.

       -p     Print all of the Open Firmware variables.

       -f filename
	      Set Open Firmware variables from a text file.  The file must  be
	      a	 list  name=value statements.  If the last character of a line
	      is \, the value will be continued to the next line.

	      example% nvram boot-args="-s rd=*hd:10"

       Set the boot-args variable to "-s rd=*hd:10".  This would specify  sin‐
       gle user mode with the root device in hard drive partition 10.

	      example% nvram my-variable="String One%00String Two%00%00"

       Create  a new variable, my-variable, containing a list of two C-strings
       that is terminated by a NUL.

			       December 12, 2000		      nvram(8)

List of man pages available for OpenDarwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net