:


 Unix      :

tar       ,    
cpio     ,  tar,  .



        .

: "-c" Create, "-x" eXtract, "-a" Append, "-t" 

tar -cvf arhiw.tar fajl1 fajl2 katalog3 ...     -  
tar -tvf /dev/rmt/ctape                  
tar -xvf arhiw.tar katalog3/fajl4           
tar -xvf /dev/rmt/ctape              
                                     
tar -avf arhiw.tar fajl5                    

:
 "v"          (Verbose)
 "f"       



 cpio -o         
     ,       
.

     :

        -o     - (output)  .
        -H odc -   " " (  -
                       Besta  Sun)
        -c     -   ""  

    cat spisok | cpio -ovB -H odc > /dev/rmt/ctape1
    find katalog -print | cpio -ovc > arhiwnyj-fajl.cpio


 cpio -i     cpio-  -
   

#   .
    cpio -itB   < /dev/rmt/ctape

#    .
    cpio -idmvB  ["" ...] < /dev/rmt/ctape

        -B     5120  -  .
        -d       .
        -v       .
        -m        .
        -f     ,   .
        -u        .
        -l    ,  ,   .



 tar   cpio,    DOS- , 
 .    ,  -
   compress  gzip.

 compress     ,    -
     ""  .

 zcat (" cat":-)     "-
" ,     "" .

  tar-:

    tar -cvf - emacs-19.28 | compress > emacs-19.28.tar.Z

   tar-:

    zcat < emacs-19.28.tar.Z | tar -tvf -

       "-"    ,    tar
      .   " 
  "  (      -
).

GNU Zip -   ,    
 ,   compress,    arj   pkzip. -
  cpio ,  "" gzip.

    find . -print | cpio -ovcaB | gzip > arhiw.gz

    cpio-

    gunzip < arhiw.gz | cpio -idmv





       . 
,          
.

 ,    , :

    man mt

 SCO Unix     "tape"



        Unix        
   .

 backup/restore
 dump
 fbackup/frestore (HP/UX)
 pax
 . . .



 HP-UX/11.     schngr

ioscan -funC autochange #    

mc -p /dev/rac/c12t0d0 -r IMDS #     

#     26

mc -p /dev/rac/c12t0d0 -s S26 -d D2
dd if=/dev/zero bs=48k count=10 of=/dev/rmt/1m
mc -p /dev/rac/c12t0d0 -d S26 -s D2


Last-modified: Wed, 12 Oct 2005 17:02:35 GMT
: