On Saturday 06 August 2005 08:39 pm, Larry Nguyen wrote:
>
> Ra^'t tie^'c ca'i "man dd" cu?a Linux 0 ro~ ra`ng ba(`ng *BSD.
> "info coreutils dd" tre^n Linux cu~ng 0 ba(`ng. Cha'u hay xem le'n
> cu?a FreeBSD
>
> :) Ba'c go~ dd va`o trang na`y http://www.freebsd.org/cgi/man.cgi
> : ro^`i
>
> cho.n Submit. No' gia?i thic'h chua^?n read/write (ibs and obs) la`
> 512 bytes. Ne^'u ba'c set bs=1024 se~ dde` le^n ca'i chua^?n cu?a
> ca? 2 ibs va` obs. Ca'i na`o to^'t ho+n. Co' le~ to ho+n thi` to^'t
> ho+n nhu+ng ddu+`ng to qua' :)
>
> The minimum block size is 512 bytes. Small block sizes increase
> allocation overhead which decreases filesystem performance, but in
> general, the recommended block size for filesystems under 100 MB
> and for filesystems with many small files is 512 bytes.
>[EMAIL PROTECTED]:~$ dd if=/dev/hdc of=HURD.iso bs=512

Hi!
Co' su+. kha'c nhau giu+~a bs=512     / 1024     / 2048 :

[EMAIL PROTECTED]:~$ dd if=/dev/hdc of=HURD.iso bs=512
dd: reading `/dev/hdc': Input/output error
584912+0 records in
584912+0 records out
299474944 bytes transferred in 148.832248 seconds (2012164 bytes/sec)

[EMAIL PROTECTED]:~$ dd if=/dev/hdc of=HURD1.iso bs=1024
dd: reading `/dev/hdc': Input/output error
292456+0 records in
292456+0 records out
299474944 bytes transferred in 259.508378 seconds (1154009 bytes/sec)

[EMAIL PROTECTED]:~$ dd if=/dev/hdc of=HURD2.iso bs=2048
dd: reading `/dev/hdc': Input/output error
146190+0 records in
146190+0 records out
299397120 bytes transferred in 251.309954 seconds (1191346 bytes/sec)
[EMAIL PROTECTED]:~$

-- 
m k h _ s g n
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
VietLUG-users mailing list
VietLUG-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho