2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2001 Free Software Foundation, Inc.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 #define BLOCK_SIZE 512
27 #define VSTAFS_START_DATA 320
32 unsigned char s_sector
;
34 unsigned char s_cylinder
;
36 unsigned char e_sector
;
38 unsigned char e_cylinder
;
39 unsigned long start_lba
;
40 unsigned long nr_sector_lba
;
45 unsigned long a_start
;
51 unsigned long fs_magic
;
52 unsigned long fs_size
;
53 unsigned long fs_extsize
;
54 unsigned long fs_free
;
55 struct alloc fs_freesecs
[0];
61 unsigned char pdefault
;
63 unsigned char bits
[7];
76 struct alloc blocks
[32];
77 long fs_ctime
, fs_mtime
; /* it is not lon but time_t */
88 #endif /* ! VSTAFS_H */