Next: , Previous: , Up: Server   [Contents][Index]


5.4.2 extract

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:

mediatex-figures/extract

Code:

src/server/extract.c

Next: , Previous: , Up: Server   [Contents][Index]