Extract process extracts archives into the local server cache by applying the extraction rules. NAT servers also brings back available files wanted by other severs from its clients.
12 extraction rules are implemented:
cpio
No compression ; GNU multi-volume archives are not supported.
tar
Multi-volume support is a GNU extension and the archives created in this mode should be read only using GNU tar.
$ tar -cM -L1000 -f multi1 -f multi2 -f multi3 data
afio
Compressed archives that are fault tolerant: thanks to the individual files compression, if there is a single byte error you will only loose one or two files.
Notice: The native multi-volumes archives are only handle for RAR.
Other containers must be cut using split
and re-assembled with cat
.
Process conceptual model:
cache-alloc()
to cache (see cache): allocate place into the cache.
deliver()
to delivering (see delivering): deliver mails related to an extracted archive.
$ mediatex adm get path as coll on path
to misc (see misc): retrieve a remote collection’s file via SSH.
$ mediatex adm mount iso on path
$ mediatex adm umount path
to supp (see supp): manage mounting ISO devices.
Code: