debian 出新3.1r0a

前幾天才出 3.1 release 的 debian GNU/LINUX ,今天看 lwn 的時候,發現居然馬上又出了3.1r0a,說明上是寫為了修正一個 bug ,所以做了更新。但是我不想重抓全部的 iso 檔,因為實在太多了,總共有 16 片 cd,大概有 10 幾的容量… 全部重抓實在是太浪費頻寬了..

記得之前在看 cle 的說明文件,有看到用 rsync 更新光碟的說明,現在正是來玩玩這個功能的時候了

先使用下列的 bash sehll program 改好檔名:
for ((i=1; i debian-31r0a-i386-binary-${i}.iso"
mv debian-31r0-i386-binary-${i}.iso debian-31r0a-i386-binary-${i}.iso
fi
done

再使用 rsync –stats -av rsync://debian.linux.org.tw/debian-cd/3.1_r0a/i386/iso-cd/ .
執行的結果,效果還不錯,實際上只傳送了 56 mb 左右的資料,比起全部重抓好得多了..

MD5SUMS
MD5SUMS.sign
debian-31r0a-i386-binary-1.iso
debian-31r0a-i386-binary-10.iso
debian-31r0a-i386-binary-11.iso
debian-31r0a-i386-binary-12.iso
debian-31r0a-i386-binary-13.iso
debian-31r0a-i386-binary-14.iso
debian-31r0a-i386-binary-2.iso
debian-31r0a-i386-binary-3.iso
debian-31r0a-i386-binary-4.iso
debian-31r0a-i386-binary-5.iso
debian-31r0a-i386-binary-6.iso
debian-31r0a-i386-binary-7.iso
debian-31r0a-i386-binary-8.iso
debian-31r0a-i386-binary-9.iso
debian-31r0a-i386-businesscard.iso
debian-31r0a-i386-netinst.iso

Number of files: 19
Number of files transferred: 18
Total file size: 9279841493 bytes
Total transferred file size: 9279841493 bytes
Literal data: 55249093 bytes
Matched data: 9224592400 bytes
File list size: 392
Total bytes sent: 2605954
Total bytes received: 56740483

sent 2605954 bytes received 56740483 bytes 45216.33 bytes/sec
total size is 9279841493 speedup is 156.37

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s

%d 位部落客按了讚: