Server for Information Technologies

(095) 932-9212, 932-9213, 939-0783
E-mail: info@citforum.ru
(!) CIT Forum CD-ROM

BACKUP(5)
XENIX System V (1 ap 1989)


backup - opa aa aoo cce


Koa backup restore coyc ac e aa aoo cce c ao e.

ea, coepaa o, coco ac aooa, ac oo ac, py ace, ocax aao aoo cce, py ace, ocax a aoo cce ac, ocae opy oy acy.

ac aooa epa ac aoo oca ee opa, opeee cpyypo, aeo:

     #include <dumprestor.h>
o cpyyp dumprestor oca e.

NTREC opeee oeco oo, a o 512 a, eco ac a ee. MLEN opeee oeco coe ap . MSIZ opeee oeco co ap .

TS_entries coyec oe c_type opae a aooa. T x ae pee e:

TS_TYPE
Mea oa.
TS_INODE
aee ceye a aao. oe c_dinide ec oe ecoo ecpopa aa ca coep , yaae aa.
TS_BITS
aee ceye aca .B o ace a cooecye aoy ecoy ecpopy aa opyex ao.
TS_ADDR
ooe o aa (TS_INODE). Cop ocae c_count e.
TS_END
ac oa a ee
TS_CLRI
aee ceye aca . a aca coepaa o ooy y cex ecx ecpopo ao, oope yc o pe opoa.
MAGIC
Bce o aooa e o co c_magic.
CHECKSUM
Kopoa cya aooo.
Cpyypa aooa ee ceye o:
c_type
T aooa.
c_date
aa opoa.
c_ddate
aa opoa aoo cce.
c_volume
Hoep oa o.
c_tapea
Tey oep oa ac (a oa paa 512 a).
c_inumber
Hoep ecoo ecpopa aa, oop opyec, ec aooa opeee a TS_INODE.
c_magic
Coep ey MAGIC, yoayc e, yopoey cyae eoxooc.
c_checsum
Coep ey, oyey aece opoo cy oa.
c_dinode
pecae coo o ecoo ecpopa aa, oyc aooo ccee.
c_count
aee ceye ce coo, ocax a. Co ec ye, ec o, cooecy coy, ocycye aoo ccee; poo cyae co oe o y. Ec o e pecae aoo ccee, o opyec ae eec pap. Ec e cyecye ocaoo eca o oe, o oca ce o ae, o TS_ADDR yy papoca o ay, aca oce oceeo ye ocaoo oa.
c_addr
o acc coo, oope coyc a ocao e.

Ka o, ca oce, aaaec apepo e (oae a oe aa). oce o aaaec oo TS_END ae apepo e.

Cpyypa idates ocae oy xoa a, e xpac oceoaeoc opoa.

.
backup(1), restore(1), filesystem(5)
Comments: info@citmgu.ru
Designed by Andrey Novikov
Copyright © CIT