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., 51 Franklin Street - Fifth Floor, Boston,
27 #define BLOCK_SIZE 512
28 #define VSTAFS_START_DATA 320
33 unsigned char s_sector;
35 unsigned char s_cylinder;
37 unsigned char e_sector;
39 unsigned char e_cylinder;
40 unsigned long start_lba;
41 unsigned long nr_sector_lba;
46 unsigned long a_start;
52 unsigned long fs_magic;
53 unsigned long fs_size;
54 unsigned long fs_extsize;
55 unsigned long fs_free;
56 struct alloc fs_freesecs[0];
62 unsigned char pdefault;
64 unsigned char bits[7];
77 struct alloc blocks[32];
78 long fs_ctime, fs_mtime; /* it is not lon but time_t */
89 #endif /* ! VSTAFS_H */