Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to: navigation, search
(bablaab)
(Undo revision 273227 by Kynikos (talk) /test)
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
{{Article summary start}}
 +
{{Article summary text|This is a short summary}}
 +
{{Article summary end}}
 
[[Category:Sandbox]]
 
[[Category:Sandbox]]
 
''You can use this page to practise editing the wiki.''
 
''You can use this page to practise editing the wiki.''
Line 18: Line 21:
 
::more indent
 
::more indent
 
:::and more
 
:::and more
 +
 +
== Code block ==
 +
{{hc|Hello World program|
 +
#include <stdio.h>
 +
int main(int argc, char* argv[])
 +
{
 +
  printf("Hello World!\n");
 +
  return 0;
 +
}
 +
}}
  
 
*bullet list
 
*bullet list
Line 36: Line 49:
 
{{Template:Sandbox|template-test}}
 
{{Template:Sandbox|template-test}}
  
== bablaab ==
+
:x
 
+
::x
 
+
{{ic|fdisk /dev/sda}}
+
 
+
Command (m for help): {{Keypress|n}} {{Keypress|Enter}}<br>
+
Partition type:<br>
+
:p  primary (0 primary, 0 extended, 4 free)<br>
+
:e  extended<br>
+
Select (default p): {{Keypress|Enter}}<br>
+
Using default response p<br>
+
Partition number (1-4, default 1): {{Keypress|Enter}}<br>
+
Using default value 1<br>
+
First sector (2048-209715199, default 2048): {{Keypress|Enter}}<br>
+
Using default value 2048<br>
+
Last sector, +sectors or +size{K,M,G} (2048-209715199....., default 209715199): {{ic|+15G}}<br>
+
Parititon 1 of type LInux and of size 15 GiB is set
+
 
+
Command (m for help): {{Keypress|n}} {{Keypress|Enter}}<br>
+
Partition type:<br>
+
:p  primary (0 primary, 0 extended, 4 free)<br>
+
:e  extended<br>
+
Select (default p): {{Keypress|Enter}}<br>
+
Using default response p<br>
+
Partition number (1-4, default 2): {{Keypress|Enter}}<br>
+
Using default value 2<br>
+
First sector (31459328-209715199, default 31459328): {{Keypress|Enter}}<br>
+
Using default value 31459328<br>
+
Last sector, +sectors or +size{K,M,G} (31459328-209715199....., default 209715199): {{Keypress|Enter}}<br>
+
Using default value 209715199<br>
+
Partition 2 of type Linux and of size 85GiB is set<br>
+
 
+
Command (m for help): {{Keypress|p}}<br>
+
{{bc|1=
+
Disk /dev/sda: 107.4 GB, 107374182400 bytes, 209715200 sectors
+
Units = sectors of 1 * 512 = 512 bytes
+
Sector size (logical/physical): 512 bytes / 512 bytes
+
I/O size (minimum/optimal): 512 bytes / 512 bytes
+
Disk identifier: 0x5698d902
+
 
+
  Device Boot    Start        End    Blocks  Id  System
+
/dev/sda1          2048    31459327  15728640  83  Linux
+
/dev/sda2      31459328  209715199  89127936  83  Linux
+
}}
+
 
+
Command (m for help): {{Keypress|w}}<br>
+
The partition table has been altered!
+
 
+
Calling ioctl() to re-read partition table.<br>
+
Syncinc disks.
+

Revision as of 15:52, 30 August 2013

Summary help replacing me
This is a short summary

You can use this page to practise editing the wiki.

Second heading

This is a paragraph

Third heading

This is a para also

Fourth heading

Me too
New line

bold and italics

Bold and italics are in five apostrophes

Fifth Level Heading

no indent

indent
more indent
and more

Code block

Hello World program
#include <stdio.h>
int main(int argc, char* argv[])
{
  printf("Hello World!\n");
  return 0;
}
  • bullet list
  • again
    • indent
      • more indent
  • bullet

Link to pacman pacman Bold textItalic textlink title

strike out

Note: This is a note.
Note: This is another note


x
x