Difference between revisions of "User:Filam/Block size"

From ArchWiki
Jump to: navigation, search
(Create page with block size examples)
 
m
Line 1: Line 1:
This page lists examples of the {{Pkg|dd}} block size flag (i.e. {{ic|<nowiki>bs=</nowiki>}}) on English language pages.
+
This page lists examples of the {{Pkg|dd}} block size flag (i.e. {{ic|<nowiki>bs=</nowiki>}}) on English language pages. The following examples all come from the first page of a [https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=bs%3D&go=Go search for "bs="].
  
 
[[User-mode Linux]]
 
[[User-mode Linux]]
Line 18: Line 18:
 
[[Installing ArchPPC on a PS3]]
 
[[Installing ArchPPC on a PS3]]
 
{{bc|<nowiki>$ dd if=/dev/zero of=/arch/swapfile bs=1024 count=<# of KiB></nowiki>}}
 
{{bc|<nowiki>$ dd if=/dev/zero of=/arch/swapfile bs=1024 count=<# of KiB></nowiki>}}
 
The preceding examples all come from the first page of a [https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=bs%3D&go=Go search for "bs="].
 

Revision as of 15:34, 22 September 2012

This page lists examples of the dd block size flag (i.e. bs=) on English language pages. The following examples all come from the first page of a search for "bs=".

User-mode Linux

dd if=/dev/zero of=rootfs bs=1MB count=1000

Remote Arch Linux Install

# dd if=/dev/zero of=/swapfile bs=1024 count=512288

USB Installation Media

# dd count=1 bs=512 if=/dev/zero of=/dev/sdx

Windows and Arch Dual Boot

dd if=$my_boot_part of=/media/win/linux.bin bs=512 count=1

Dm-crypt with LUKS

# dd if=/dev/urandom of=mykeyfile bs=512 count=4
# dd if=/dev/urandom of=secretkey bs=512 count=4

KVM

$ dd if=/dev/zero of=image.img bs=1G count=0 seek=[NUMBER_OF_GB]

JFS Filesystem

dd bs=4k if=/dev/hdc1 of=/dev/hdj1

Installing ArchPPC on a PS3

$ dd if=/dev/zero of=/arch/swapfile bs=1024 count=<# of KiB>