/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v 1.15 2012/10/06 19:54:14 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v 1.16 2013/02/23 18:38:22 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>9</version> 11<version>10</version>
12<date>2012-10-06</date> 12<date>2013-02-23</date>
13 13
14<!-- TODO: Add section about MTD and such --> 14<!-- TODO: Add section about MTD and such -->
15 15
16<section> 16<section>
17<title>Introduction to Block Devices</title> 17<title>Introduction to Block Devices</title>
95 <ti>512M</ti> 95 <ti>512M</ti>
96 <ti>Swap partition</ti> 96 <ti>Swap partition</ti>
97</tr> 97</tr>
98<tr> 98<tr>
99 <ti><path>/dev/sda3</path></ti> 99 <ti><path>/dev/sda3</path></ti>
100 <ti>ext3</ti> 100 <ti>ext4</ti>
101 <ti>Rest of the disk</ti> 101 <ti>Rest of the disk</ti>
102 <ti>Root partition</ti> 102 <ti>Root partition</ti>
103</tr> 103</tr>
104</table> 104</table>
105 105
174</p> 174</p>
175 175
176<pre caption="Filesystem usage example"> 176<pre caption="Filesystem usage example">
177$ <i>df -h</i> 177$ <i>df -h</i>
178Filesystem Type Size Used Avail Use% Mounted on 178Filesystem Type Size Used Avail Use% Mounted on
179/dev/sda5 ext3 509M 132M 351M 28% / 179/dev/sda5 ext4 509M 132M 351M 28% /
180/dev/sda2 ext3 5.0G 3.0G 1.8G 63% /home 180/dev/sda2 ext4 5.0G 3.0G 1.8G 63% /home
181/dev/sda7 ext3 7.9G 6.2G 1.3G 83% /usr 181/dev/sda7 ext4 7.9G 6.2G 1.3G 83% /usr
182/dev/sda8 ext3 1011M 483M 477M 51% /opt 182/dev/sda8 ext4 1011M 483M 477M 51% /opt
183/dev/sda9 ext3 2.0G 607M 1.3G 32% /var 183/dev/sda9 ext4 2.0G 607M 1.3G 32% /var
184/dev/sda1 ext2 51M 17M 31M 36% /boot 184/dev/sda1 ext2 51M 17M 31M 36% /boot
185/dev/sda6 swap 516M 12M 504M 2% &lt;not mounted&gt; 185/dev/sda6 swap 516M 12M 504M 2% &lt;not mounted&gt;
186<comment>(Unpartitioned space for future usage: 2 GB)</comment> 186<comment>(Unpartitioned space for future usage: 2 GB)</comment>
187</pre> 187</pre>
188 188
524</table> 524</table>
525 525
526<p> 526<p>
527For instance, to have the boot partition (<path>/dev/sda1</path> in our 527For instance, to have the boot partition (<path>/dev/sda1</path> in our
528example) in ext2 and the root partition (<path>/dev/sda3</path> in our example) 528example) in ext2 and the root partition (<path>/dev/sda3</path> in our example)
529in ext3 (as in our example), you would use: 529in ext4 (as in our example), you would use:
530</p> 530</p>
531 531
532<pre caption="Applying a filesystem on a partition"> 532<pre caption="Applying a filesystem on a partition">
533# <i>mkfs.ext2 /dev/sda1</i> 533# <i>mkfs.ext2 /dev/sda1</i>
534# <i>mkfs.ext3 /dev/sda3</i> 534# <i>mkfs.ext4 /dev/sda3</i>
535</pre> 535</pre>
536 536
537<p> 537<p>
538Now create the filesystems on your newly created partitions (or logical 538Now create the filesystems on your newly created partitions (or logical
539volumes). 539volumes).

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20