?? dump.5
字號:
.TH DUMP 5 .SH NAMEdump, ddate \- incremental dump format.SH SYNOPSIS.B #include <sys/types.h>.br.B #include <sys/ino.h>.br.B # include <dumprestor.h>.SH DESCRIPTIONTapes used by.I dumpand.IR restor (1)contain:.nf.IP ""a header recordtwo groups of bit map recordsa group of records describing directoriesa group of records describing files.fi.PPThe format of the header record and of the firstrecord of each description as given in theinclude file.I <dumprestor.h>is:.PP.nf.ta .5i \w'#define\ TS_INODE\ 'u.so /usr/include/dumprestor.h.fi.PP.I NTRECis the number of 512 byte records in a physicaltape block..I MLENis the number of bits in a bit map word..I MSIZ is the number of bit map words..PPThe.I TS_entries are used in the.I c_typefield to indicate what sort of headerthis is.The types and their meanings are as follows:.TP \w'CHECKSUM\|'uTS_TAPETape volume label.PD 0.TPTS_INODEA file or directory follows.The.I c_dinodefield is a copy of the disk inode and containsbits telling what sort of file this is..TPTS_BITSA bit map follows.This bit map has a one bitfor each inode that was dumped..TPTS_ADDRA subrecord of a file description.See.I c_addrbelow..TPTS_ENDEnd of tape record..TPTS_CLRIA bit map follows.This bit map contains a zero bit forall inodes that were empty on the file system when dumped..TPMAGICAll header records have this number in.I c_magic..TPCHECKSUMHeader records checksum to this value..PD.PPThe fields of the header structure are as follows:.TP \w'TS_INODE\ 'uc_typeThe type of the header..PD 0.TPc_dateThe date the dump was taken..TPc_ddateThe date the file system was dumped from..TPc_volumeThe current volume number of the dump..TPc_tapeaThe current number of this (512-byte) record..TPc_inumberThe number of the inode being dumped if thisis of type.I TS_INODE..TPc_magicThis contains the value.I MAGICabove, truncated as needed..TPc_checksumThis contains whatever value is needed tomake the record sum to .I CHECKSUM..TPc_dinodeThis is a copy of the inode as it appears on thefile system; see.IR filsys (5)..TPc_countThe count of characters in.I c_addr..TPc_addrAn array of characters describing the blocks of thedumped file.A character is zero if the block associated with that character was notpresent on the file system, otherwise the character is non-zero.If the block was not present on the file system, no block was dumped;the block will be restored as a hole in the file.If there is not sufficient space in this record to describeall of the blocks in a file,.I TS_ADDRrecords will be scattered through the file, each onepicking up where the last left off..PD.PPEach volume except the last ends with a tapemark (read as an endof file).The last volume ends with a.I TS_ENDrecord and then the tapemark..PPThe structure.I idatesdescribes an entry of the file.I /etc/ddatewhere dump history is kept.The fields of the structure are:.TP \w'TS_INODE\ 'uid_nameThe dumped filesystem is.RI `/dev/ id_nam'..PD 0.TPid_incnoThe level number of the dump tape;see.IR dump (1)..TPid_ddateThe date of the incremental dump in system formatsee.IR types (5)..PD.SH FILES/etc/ddate.SH "SEE ALSO"dump(1), dumpdir(1), restor(1), filsys(5), types(5)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -