  Pseudo-Image ѱ 

  Pseudo-Image 
  J.A. Bezemer, costar@panic.et.tudelft.nl
  v2.0, 23 September 1999
  ھ, godyang@kldp.org
  v1.0, 2000 12 19

  Pseudo-Image Kit Űκ  CD ̹  
  ϴ α׷̴.     ӿ Ե   ̴.
   ִٸ ڷ  ø ϵ ϰڴ.
  ______________________________________________________________________

  

  1. 
     1.1 ϰ ̷AID CDATA fnm(LABEL)LABEL
     1.2 -̹(Pseudo-Image)
     1.3 RSYNC

  2. -̹ 
     2.1  ̹ 
     2.2 Ͻ

  3.  ̹ ȯ
     3.1 RSYNC ̿  ̹ ȯ
     3.2 Ͻ

  4. RSYNC   ϱ
  5.  Ʈ ϱ
  6. ۱ǿ   
  7.  

  ______________________________________________________________________

  1.  

  -̹ Ŷ  ظ ؼ ణ   캸
  Ѵ.

  1.1.  ϰ ̷

   ״/ ġϱ ؼ ⺻ 2 ϵ
  ʿϴ.

     ġ 
         ϵ鿡 ġ ý,  ⺻ ý  ִ.

      Ű(.deb )
         ýۿ ġ Űȭ α׷̴. zip 
        ϵ鿡 ؼ ġ,  ϴ.

  ̷ ϵ Ű ̷(Package Mirror) Ҹ  FTP
  Ʈ ؼ   ִ. Ű ̷ پ `.deb'
    ִ.

  , ̷ Ű ̷    鵵 ִ. ̷
    CD   ִ. ̷ CD ġ , 
  Ű  ԵǾ , 丮  Ű ̷ FTP
  Ʈ ſ ϴ.

   CD̹  ȴٸ CDڿ ȥ ߱ 
  ִµ, װ ϱ   CD ̹(Official CD images)
  Ѵ.  ̹  ԰ȭǾ ִ.  CD ̹
    CD ̹ ̷   ִ. ؾ   ̷
   CD ̹ ̷ Ű ̷ʹ ٸٴ ̴. κ
  Ű ̷ CD ̹  ʴ´.

  CD ̹ ޱ ؼ ˾ƺ, Ű ̷ CD ̹ ̷  
  ʿϴ. Ű ̷ Ʒ Ʈ ã  ִ.

  <http://www.debian.org/distrib/ftplist>

  CD ̹ ̷ Ʒ Ʈ ã  ִ.

  <http://cdimage.debian.org/rsync-mirrors.html>

     Ʈ Ű    ãƾ Ѵ.  
    . ׸  ּҴ  Ŀ ٽ ϹǷ
  ٰ δ  . FTP Ʈ ϴ  õ
  ӵ  HTTPƮ ϴ ͵ .  ڽ Ű ̷
   ϰ ִٸ, ϵũ  о̴ ͵ ϴ.

  1.2.  -̹(Pseudo-Image)

  CDROM  ſ  Ϸõ Ʈ Ǿ ִ. ̷ Ϸõ
  Ʈ ϵ, ׸ ϵ  ִٴ  ˷ִ 丮
   Ǿ ִ. `CD ̹' ̷ Ϸõ Ʈ Ϸ
  ؼ, , ٿε  ϰ  ̴. CD 
  α׷(CD Burning Program) ܼ Ϸõ Ʈ ϰ
  CD(Recordable CD)  ִ  Ѵ.

  -̹  α׷ CD ̹ ִ ϵ  Ű
  ̷(Ǵ  ϵũ) ް ̷ ϵ ϴ 
  Ѵ.   ϰ CD ̹ Ѵ. ⼭ Ű ̷
   ϵ 丮  .

  1.3.  RSYNC

  -̹  ̹ ȯϱ ؼ, rsync α׷
  Ѵ.  α׷ ٸ ǻ   ؼ ٸ κи
  ϴ   Ѵ.

  ׷ ۵ϴ  ϴ. 켱  ( : -̹)
  Ź 8192Ʈ  üũ Ѵ. ׷ ܺ rsync 
   üũ Ѵ.  ڽ 纻( : 
  ̹) , üũ 纻.  üũ ´ٸ  ڰ
  ۵ǰ, ׷ ʴٸ   ۵ȴ. ̷  
  -̹ ܺ rsync κ Ϻ ̹ .
  Ʈũ ۷ 6MB Ϸ, CDü   ϰ ſ
  پ. (̹  1%)

  2.  -̹ 

  2.1.   ̹ 

   κп  CD ̹   ̹ ϴ Ϳ
  ؼ .  κп `rsync' α׷ ؼ  ̹
   ̹ ȯϴ Ϳ   ȴ.

   -̹  650MB .  ߿  `rsync'
  α׷ 650 MB ߰   ʿ Ѵ.  
  ִٸ   ý 캸ƾ Ѵ.  α׷ 
  ̸ ϹǷ,   ý  ̸  
  ȮѴ.

    /bigdisk Ʈ ũ 650MB ̻  ִٰ
  Ѵ. ׷ 켱 ο 丮 ؾ Ѵ. ( :
  /bigdisk/pseudo-image/)  -̹ Ŷ  丮 
  Ǭ.

  -̹  α׷ ٸ α׷  Ѵ. FTP
  ٿε ncftp ϸ, HTTP ٿε wget Ѵ. Ȥ
  ̷ α׷  ʴٸ ġؾ Ѵ. κ 
  ̷ α׷ ԵǾ ִ. ׷  ٸ Ʒ
  ּҿ    ִ.

  <http://www.probe.net/~mgleason/ncftp/>

  <ftp://prep.ai.mit.edu/pub/gnu/wget/>

   `ncftp'   ٸ, DONTUSENCFTPȯ  DONTUSENCFTP
  ϸ `wget'  Ѵ.  ̷  FTP  ϰ
  ɸ .

  -̹ ϱ  켱  Ʈ ʿϴ. ̷ 
  Ʈ `binary-i386-1.list'  ̸ ٿ ְ, Ʒ 
   ִ.

  <http://www.uk.debian.org/debian-cd/cd-images>

   丮 ߿  丮 ãƼ ڽ ϴ
  `.list'ϵ ޴´.;  80KB ũ

  `.list' Ϲ ؽƮ ̶ Ϲ    ִ.

  -̹  ռ, ũ  ٽ ѹ Ȯϴ  .
  ׸  ̸߿ Ȥ `pseudo-image', Ǵ `pseudo-image.*' 
   ȮѴ.

   ϵ FTP HTTP Ű ̷, Ǵ  ũ
   ް ȴ.; ``ϰ ̷''κп ״ ּҰ ̶ δ.

  ׸ -̹ Ŷ ġ 丮 ̵Ѵ. ( 
   /bigdisk/pseudo-image/)  Ʒ  ̹ Ѵ.
  ./make-pseudo-image <Ʈ > < 丮>

   

     FTP Ʈ ̿ 
        ./make-pseudo-image binary-i386-1.list
        ftp://ftp.server.org/pub/debian

     HTTP Ʈ ̿ 
        ./make-pseudo-image binary-i386-1.list
        http://www.server.org/ftp/debian

      ϵũ ̿ 
        ./make-pseudo-image binary-i386-1.list /var/ftp/mirrors/debian

  < 丮> ݵ `dists'  丮 ־ Ѵ.
  ׷   ٸ  Ʒ 丮 ݵ ־ Ѵ.

  ftp://ftp.server.org/pub/debian/dists/

  http://www.server.org/ftp/debian/dists/

  /var/ftp/mirrors/debian/dists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FTP

  ׸  Ͻ   ΰ ˷ Ѵ.  
  Ͻ  proxy.server 8001 Ʈ ۵Ѵٰ  Ʒ
   ϸ ȴ.

     sh-like 
        http_proxy=http://proxy.server:8001/; export http_proxy

        ftp_proxy=http://proxy.server:8001/; export ftp_proxy

     csh-like 
        setenv http_proxy http://proxy.server:8001/

        setenv ftp_proxy http://proxy.server:8001/

   ̸/н  ʿϸ, `http://proxy.server:8001/'
  `http:// ̸:н@proxy.server:8001/' ٲپ ָ ȴ.

  ̷   make-pseudo-image α׷  ۵Ѵ.
  Ͻø Ѵٸ HTTP Ű ̷ ϴ  ӵ ̷Ӵ.

  3.   ̹ ȯ

  3.1.  RSYNC ̿  ̹ ȯ

  -̹ Ǹ, װ  ̹ ȯؾ Ѵ.

  `rsync' α׷ Ʒ   ִ.

  <http://samba.anu.edu.au/rsync/>

  ׷ Ϲ  ̸ Ű Ǿ  ̴.

  켱 Ʒ  -̹  ̸   ̸ ٲپ
  Ѵ. (Ʒ  `rsync'  Ѵ.)

  mv pseudo-image binary-i386-1.iso

  `rsync' α׷ ӽ  ϱ  ߰ 650MB 
  ʿϴ. `--temp-dir' ɼ ӽ      
  ִ. ڼ    ȴ.

  ׸ Ʒ  rsync  Ѵ. ()

  rsync --verbose --progress --stats --block-size=8192
  server.somewhere.org::debian-cd/2.1/i386/binary-i386-1.iso .

  `server.somewhere.org'κп ``ϰ ̷'' κп Ҵ rsync
   ̸ ٲپ Ѵ.

    (̸ ٲ) -̹  ̹ ȯȴ. 
  6MB̻ Ʈũ ϰ ɸ ʴ´. (߿    
   ִ)

   rsync   ġ  Ǿ Ȯ  ٸ
  Ʒ  `丮 Ʈ'   ִ.

  root dir:   rsync server.somewhere.org::

  other dir:  rsync --dry-run server.somewhere.org::debian-cd/2.1/\*

  8192-Ʈ  üũ   ȭ ȭ . 
   ̹  , ൵ Ÿ.

  ٸ 丮 ӽ  Ѵٸ, ߿   
  丮 -̹ Ͽ  ϰ ȴ. ̶ ȭ
  ȭ .  Ŀ ӽ  .

  rsync ׷ ̴  ־ `--temp-dir'  
    ִ. ̷  ӽ  ⸦ ٷȴٰ Ctrl-C
   ϸ ȴ.

  ̷ ۾  Ʒ  ̹  Ǿ
  Ȯ  ִ.

  md5sum binary-i386-1.iso

      ̹ üũ   ִ. ̰
  `MD5SUMS' ϰ ؼ  Ǿ Ȯϸ ȴ.
  `MD5SUMS' Ʒ   ִ.

  <http://www.uk.debian.org/debian-cd/cd-images>

  ( ̷ ϵ   ִ)  üũ  ʴٸ
  rsync ٽ ϸ ذ  ִ.

  `md5sum' α׷ ҽ ڵ Ʒ   ִ.

  <ftp://ftp.funet.fi/pub/crypt/hash/mds/md5/>

  3.2.  Ͻ

   Ͻø ؾ Ѵٸ, rsync Ͻø ̿  ִ.
  ⼭ ǥȭ  ϱ     
  ִ.

   rsync Ͻø ̿ϴ ͺ 𵩰  ġ ̿ϴ
   õѴ. ¥  ۷  ʱ , 56
  kbps𵩿  20  ۾ .

  4.  RSYNC   ϱ

    ۾   CD ̹   . ׷
  ٸ    rsync ̷ ϴ ͵  ̴. ̷
  ̷  ϰ, ýۿ ū ϸ  ʴ´.

    ̹ġ   ȴ; binary-i386 ̹ ־ .

   ̹ /var/tmp/debian-cd/2.1/i386/binary-i386-1.iso  
  ִٰ . ׸ /etc/rsyncd.conf  Ʒ  ϸ
  ȴ.

  ---  ---

  uid = 65534

  gid = 65534

  [debian-cd]

  path = /var/tmp/debian-cd

  comment = Debian CD images

  ---  ---

  (`man rsyncd.conf' غ  ڼ    ִ.)

  ׸ Ʒ   (Ʈ ) rsync  ۵ϸ ȴ.

  nice -15 rsync --daemon

  ̰ δ.

  ׸  Ʒ   ۵ϴ Ȯ  ִ. (Ʈ
  ƴ)

  rsync localhost::

  ׷ `debian-cd' 񽺰 ִٴ  ϵǾ Ѵ. ׸

  rsync --dry-run localhost::debian-cd/\*

  ̶ ġ, `2.1'̶ 丮 ϵǾ Ѵ.

     rsync  ϰ , Ʒ 
  ŸƮ ũƮ(Startup Scripts) ߰ϸ ȴ. (
  ýۿ, /etc/init.d/netstd.misc ȴ)

  nice -15 rsync --daemon

   rsync  ۵Ѵٸ Ʒ ּҷ   ȴ.

  debian-cd@lists.debian.org

  ׷ ̷ ּ Ʈ ڽ ּҰ ϵȴ.

  5.   Ʈ ϱ

   κп `pi-makelist' α׷ ̿Ѵ.  α׷ 
  ũƮ Ǿ ִ.  CD ̹ ̷  `.list'
  ̷   ̴. ׷   ʰ, ٸ 
  CD ̹ ̷ ص ȴ.

  :

  pi-makelist cdimage.iso > cdimage.list

  (`pi' = `pseudo-image')

   Ʈ FTP Ʈ  ϵ Ե  ִ. (κ
  ԵǾ ִ); ش 쿡 pi-makelist ũƮ  ִ
  grepκп  ߰ϸ ȴ.

   ũƮ `isoinfo'  ʿϴ; Ǹ  -̹ Ŷ
  ԵǾ ִ.  ҽ `cdrecode'/`mkisofs'  Ʒ 
   ִ.

  <http://fokus.gmd.de/nthp/employees/schilling/cdrecord.html>

  6.  ۱ǿ   

   :  κп ؼ GNU General Public License ٴ ͸
  ˷ְ,   ؼ  ٶ.

  ______________________________________________________________________
  LEGALESE

     The following applies to all files in this directory, unless indicated
     otherwise:

     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; either version 2 of the License, or (at
     your option) any later version.

     This program is distributed in the hope that it will be useful, but
     WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     General Public License for more details.

     You should have received a copy of the GNU General Public License
     along with this program (the file `COPYING'); if not, write to the
     Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
     02111-1307 USA

     All mentioned trademarks and registered trademarks are the property of
     their respective owners, and are hereby acknowledged.
  ______________________________________________________________________

  7.   

   :    ֽ J.A. Bezemer 縦 帰. Ȥ
   ִٸ    e-mailּҷ  
  ϵ ϰڴ.

