Download USER'S GUIDE - QNX Software Systems

Transcript
QNX 4 disk structure
 2005, QNX Software Systems Ltd.
/.inodes entry
Directory entry
0
l_fname[48]
48
l_inode_blk
52
l_inode_ndx
53
l_lfn_block
57
l_spare[6]
63
l_status
/.longfilenames entry
0
lfn_block
4
lfn_index
5
lfn_status
6
lfn_name[505]
0
i_fname[16]
16
i_size
20
i_first_xtnt
28
i_xblk
32
i_ftime
36
i_mtime
40
i_atime
44
i_ctime
48
i_num_xtnts
50
i_mode
52
i_uid
54
i_gid
56
i_nlink
58
i_zero[4]
62
i_type
63
i_status
An inode entry.
If the filename is longer than 48 characters:
¯ the l fname field in the directory entry holds a 48-character
truncated version of the name
¯ the l lfn block field points to an entry in .longfilenames.
Extent blocks
Extent blocks are used for any file that has more than a single extent.
The i xblk field in the directory entry points to one of these extent
blocks, which in turn defines where the second and subsequent
extents are to be found.
414
Chapter 18 ¯ Backing Up and Recovering Data
February 1, 2005