<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to tutorial</title><link>https://sourceforge.net/p/pfsbuilder/wiki/tutorial/</link><description>Recent changes to tutorial</description><atom:link href="https://sourceforge.net/p/pfsbuilder/wiki/tutorial/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 15 Mar 2015 09:50:12 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pfsbuilder/wiki/tutorial/feed" rel="self" type="application/rss+xml"/><item><title>tutorial modified by Peter</title><link>https://sourceforge.net/p/pfsbuilder/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -7,31 +7,36 @@
 Run in command line
 you can add some command line parameters when execute PFSBuilder, if want to generate a PFS image from directory dir1 and a project file (which record all the file permissions, owner), you can execute PFSBuilder like this:

-java -jar PFSBuilder.jar -projectFile=project.ini -directory=dir1 -output=harddisk -partitionName="peter file system 90MB" -partitionSize=94371840 -partitionOffset=10485760 -blocksize=4096
+    :::bash
+    java -jar PFSBuilder.jar -projectFile=project.ini -directory=dir1 -output=harddisk -
+
+partitionName="peter file system 90MB" -partitionSize=94371840 -partitionOffset=10485760 -blocksize=4096

 The above will generate a output image, called "harddisk" using the directory "dir1" with the project file "project.ini". The project.ini is used to store the permission of each file and directory, those permissions will be used as the permissions in peter file system. All the files and directories in "dir1" will compress into a single image called "harddisk".

-Command line parameter summary
-usage : java -jar PFSBuiler.jar &amp;lt;paramters&amp;gt;
-parameters : 
--c Compress
--x Extract
--projectfile=&amp;lt;file&amp;gt;
--inputdirectory=&amp;lt;inpput directory=""&amp;gt;
--outputdirectory=&lt;output&gt;
--output=&amp;lt;file&amp;gt;
--input=&amp;lt;file&amp;gt;
--partitionsize=&amp;lt;partition size=""&amp;gt;
--partitionsize=C,H,S
--partitionoffset=&amp;lt;partition offset=""&amp;gt;
--partitionoffset=C,H,S
--blocksize=&amp;lt;file system="" block="" size=""&amp;gt;
--partitionname=&amp;lt;partition name=""&amp;gt;
--buffersize=&amp;lt;buffer size=""&amp;gt;
--trimTo=&amp;lt;size&amp;gt;
--trimTo=c,h,s
--stop
--gui
+Command line parameter summary:
+
+    :::bash
+    usage : java -jar PFSBuiler.jar &amp;lt;paramters&amp;gt;
+    parameters : 
+    -c Compress
+    -x Extract
+    -projectfile=&amp;lt;file&amp;gt;
+    -inputdirectory=&amp;lt;inpput directory=""&amp;gt;
+    -outputdirectory=&lt;/output&gt;&lt;output&gt;
+    -output=&amp;lt;file&amp;gt;
+    -input=&amp;lt;file&amp;gt;
+    -partitionsize=&amp;lt;partition size=""&amp;gt;
+    -partitionsize=C,H,S
+    -partitionoffset=&amp;lt;partition offset=""&amp;gt;
+    -partitionoffset=C,H,S
+    -blocksize=&amp;lt;file system="" block="" size=""&amp;gt;
+    -partitionname=&amp;lt;partition name=""&amp;gt;
+    -buffersize=&amp;lt;buffer size=""&amp;gt;
+    -trimTo=&amp;lt;size&amp;gt;
+    -trimTo=c,h,s
+    -stop
+    -gui

 You need either -c or -x option
 Run in GUI
&lt;/output&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter</dc:creator><pubDate>Sun, 15 Mar 2015 09:50:12 -0000</pubDate><guid>https://sourceforge.net9d3e6c418a2bd36cdca4d4de841febbe78613e20</guid></item><item><title>tutorial modified by Peter</title><link>https://sourceforge.net/p/pfsbuilder/wiki/tutorial/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Tutorial&lt;br /&gt;
&lt;a href="http://peter.kingofcoders.com/?p=1399" rel="nofollow"&gt;http://peter.kingofcoders.com/?p=1399&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to run ?&lt;br /&gt;
PFSBuilder support GUI mode and command-line mode&lt;/p&gt;
&lt;p&gt;Run in command line&lt;br /&gt;
you can add some command line parameters when execute PFSBuilder, if want to generate a PFS image from directory dir1 and a project file (which record all the file permissions, owner), you can execute PFSBuilder like this:&lt;/p&gt;
&lt;p&gt;java -jar PFSBuilder.jar -projectFile=project.ini -directory=dir1 -output=harddisk -partitionName="peter file system 90MB" -partitionSize=94371840 -partitionOffset=10485760 -blocksize=4096&lt;/p&gt;
&lt;p&gt;The above will generate a output image, called "harddisk" using the directory "dir1" with the project file "project.ini". The project.ini is used to store the permission of each file and directory, those permissions will be used as the permissions in peter file system. All the files and directories in "dir1" will compress into a single image called "harddisk".&lt;/p&gt;
&lt;p&gt;Command line parameter summary&lt;br /&gt;
usage : java -jar PFSBuiler.jar &amp;lt;paramters&amp;gt;&lt;br /&gt;
parameters : &lt;br /&gt;
-c Compress&lt;br /&gt;
-x Extract&lt;br /&gt;
-projectfile=&amp;lt;file&amp;gt;&lt;br /&gt;
-inputdirectory=&amp;lt;inpput directory=""&amp;gt;&lt;br /&gt;
-outputdirectory=&lt;output&gt;&lt;br /&gt;
-output=&amp;lt;file&amp;gt;&lt;br /&gt;
-input=&amp;lt;file&amp;gt;&lt;br /&gt;
-partitionsize=&amp;lt;partition size=""&amp;gt;&lt;br /&gt;
-partitionsize=C,H,S&lt;br /&gt;
-partitionoffset=&amp;lt;partition offset=""&amp;gt;&lt;br /&gt;
-partitionoffset=C,H,S&lt;br /&gt;
-blocksize=&amp;lt;file system="" block="" size=""&amp;gt;&lt;br /&gt;
-partitionname=&amp;lt;partition name=""&amp;gt;&lt;br /&gt;
-buffersize=&amp;lt;buffer size=""&amp;gt;&lt;br /&gt;
-trimTo=&amp;lt;size&amp;gt;&lt;br /&gt;
-trimTo=c,h,s&lt;br /&gt;
-stop&lt;br /&gt;
-gui&lt;/output&gt;&lt;/p&gt;
&lt;p&gt;You need either -c or -x option&lt;br /&gt;
Run in GUI&lt;br /&gt;
If you want to run PFSBuilder with a graphical interface, please add -gui parameter.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter</dc:creator><pubDate>Sun, 15 Mar 2015 09:49:34 -0000</pubDate><guid>https://sourceforge.netccc444bd31677cdf81a87e063d8aa6369aeee780</guid></item></channel></rss>