nightmorph 09/12/14 21:35:05 Modified: gentoo-sparc-netboot-howto.xml Log: Update sparc netboot howto with hexadecimal conversion notes, bug 296744
Revision Changes Path 1.11 xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml?rev=1.11&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml?r1=1.10&r2=1.11 Index: gentoo-sparc-netboot-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- gentoo-sparc-netboot-howto.xml 20 May 2008 18:46:15 -0000 1.10 +++ gentoo-sparc-netboot-howto.xml 14 Dec 2009 21:35:05 -0000 1.11 @@ -1,13 +1,12 @@ <?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml,v 1.10 2008/05/20 18:46:15 swift Exp $ --> - -<guide link="/doc/en/gentoo-sparc-netboot-howto.xml"> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-sparc-netboot-howto.xml,v 1.11 2009/12/14 21:35:05 nightmorph Exp $ --> +<guide> <title>Gentoo Linux based Netboot HOWTO</title> <author title="SPARC Developer"> - <mail link="[email protected]">Jason Wever</mail> + <mail link="weeve"/> </author> <abstract> @@ -19,8 +18,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.2</version> -<date>2005-08-18</date> +<version>1.3</version> +<date>2009-12-14</date> <chapter> <title>Introduction</title> @@ -474,26 +473,14 @@ </p> <p> -A guide on how to convert decimal to hexadecimal is available at -<uri>http://www.permadi.com/tutorial/numDecToHex/</uri> -</p> - -<p> -And for the lazy/impatient, you can find a decimal to hexadecimal conversion -tool at <uri>http://dan.drydog.com/hextemp.html</uri> -</p> - -<note> -For each octet in the IP address (the 10 in 10.0.1.15 for instance), you will -need to convert it to hexadecimal, rather than converting the IP address asa -singular number. -</note> - -<p> So for our example IP address, 10.0.1.15, let's look at its hexadecimal -equivalent; +equivalent: </p> +<pre caption="Convert to hexadecimal"> +# <i>printf "%.2x%.2x%.2x%.2x\n" 10 0 1 15</i> +</pre> + <pre caption="Example IP address"> decimal 10 0 1 15 hexadecimal 0A 00 01 0F @@ -704,5 +691,4 @@ </body> </section> </chapter> - </guide>
