sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
op4latino
Post subject: Typos in manual's "fromiso and persist (eros)"  PostPosted: Nov 17, 2007 - 06:05 PM



Joined: Dec 02, 2006
Posts: 1046
Location: East Coast
Status: Offline
I don't know if this is another English UK-US difference but I think the bit
Quote:
For example it will not store your X (video card, keyboard, mouse) configuration or your network interfaces file which makes it ideal for using on more then one computer
should say "more THAN one computer" instead of "then", idk

Also the code
Code:
dd if=/dev/zero of=${disc}/sidux-rw bs=1M count=${size} && echo 'y' | /sbin/mkfs.ext3 ${disc}/sidux-rw

should be:

dd if=/dev/zero of=${disc}/sidux-rw bs=1M count=${size} && echo 'y' || /sbin/mkfs.ext3 ${disc}/sidux-rw


Thanks

Code:
--- hd-install-opts-en.htm      2007-11-09 22:59:38.000000000 -0500
+++ NEWhd-install-opts-en.htm   2007-11-17 12:49:04.000000000 -0500
@@ -274,7 +274,7 @@

                                                        <p>Using <span class="highlight-3">persist</span> gives you a live system which performs all the automatic features of the sidux live cd. This has the benefit of doing things like automatically configuring the hardware but it also means  that it will recreate the same files each time you boot up..</p>

-                                                       <p><span class="highlight-3">For example it will not store your X (video card, keyboard, mouse) configuration or your network interfaces file  which makes it ideal for using on more then one computer, </span> but can get in the way if you need to configure some of these features</p>
+                                                       <p><span class="highlight-3">For example it will not store your X (video card, keyboard, mouse) configuration or your network interfaces file  which makes it ideal for using on more than one computer, </span> but can get in the way if you need to configure some of these features</p>

                                                        <p>Perhaps the ideal use of persistence is in conjunction with the new install-usb-gui tool to create your own bootable flash drive with your files and the software you need.</p>

@@ -288,7 +288,7 @@
 <pre>
 disc="/media/sdb1"
 size=1024
-dd if=/dev/zero of=${disc}/sidux-rw bs=1M count=${size} &amp;&amp; echo 'y' | /sbin/mkfs.ext3 ${disc}/sidux-rw
+dd if=/dev/zero of=${disc}/sidux-rw bs=1M count=${size} &amp;&amp; echo 'y' || /sbin/mkfs.ext3 ${disc}/sidux-rw
 </pre>

                                                        <p class="highlight-2">NTFS partitions, commonly used for Windows NT/2000/XP (TM)  installations, CANNOT be used at all for persistence.</p>
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject: Re: Typos in manual's "fromiso and persist (eros)"  PostPosted: Nov 20, 2007 - 01:38 AM



Joined: Dec 19, 2006
Posts: 1030

Status: Offline
op4latino wrote:

Also the code
Code:
dd if=/dev/zero of=${disc}/sidux-rw bs=1M count=${size} && echo 'y' | /sbin/mkfs.ext3 ${disc}/sidux-rw

should be:

dd if=/dev/zero of=${disc}/sidux-rw bs=1M count=${size} && echo 'y' || /sbin/mkfs.ext3 ${disc}/sidux-rw


Nope, that would be worng. The single pipe is what is needed to put the string "yes" into the stdin of the mkfs command.

Everything to the right of a double pipe is only executed if the code to the left exits with error, which is not the intended behaviour of the code snippet.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio