Changes for page Commands
Last modified by Julien Fleury on 2021/02/02 19:05
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -21,9 +21,8 @@ 21 21 22 22 dd command allows to copy all or parts of a disk by bytes block without impact from content structure of the disk. 23 23 24 -(% class="box warningmessage" %)24 +(% class="box infomessage" %) 25 25 ((( 26 -Use dd command with caution as it can cause severe dammage to the system 27 27 Do not use dd to duplicate a disk. Prefer ddrescue command 28 28 ))) 29 29 ... ... @@ -36,9 +36,12 @@ 36 36 37 37 oflag: 'dsync' to use synchronized I/O for data 38 38 39 -{{code language="shell"}} 40 -dd if=/dev/zero of=/tmp/test2.img bs=512 count=1000 oflag=dsync 38 +(% class="box warningmessage" %) 39 +((( 40 +Use dd command with caution as it can cause severe dammage to the system 41 +))) 42 + 43 + {{code language="shell"}}root@v2-dvp-sandbox-ixp-ubu-91:/home/ixp_adm# dd if=/dev/zero of=/tmp/test2.img bs=512 count=1000 oflag=dsync 41 41 1000+0 records in 42 42 1000+0 records out 43 -512000 bytes (512 kB, 500 KiB) copied, 1.22846 s, 417 kB/s 44 -{{/code}} 46 +512000 bytes (512 kB, 500 KiB) copied, 1.22846 s, 417 kB/s{{/code}}