home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / drdobbs / 1991 / 01 / wofs.asc < prev   
Text File  |  1990-12-07  |  300b  |  19 lines

  1. _DESIGNING A WRITE-ONCE FILE SYSTEM_
  2. by Simson Garfinkel
  3.  
  4. [FIGURE 5: FSB structure declarations]
  5.  
  6.      typedef struct  {
  7.     u_long    flag;
  8.     u_long    location;
  9.     u_long    type;
  10.      } fs_hdr;
  11.  
  12.      typedef struct {
  13.     fs_hdr    hdr;
  14.     char    data[ BLOCK_SIZE - sizeof(fs_hdr) ];
  15.      } fs_block;
  16.  
  17.  
  18.  
  19.