Deleted Added
full compact
dosfs.h (79455) dosfs.h (102231)
1/*
2 * Copyright (C) 1995, 1996, 1997 Wolfgang Solfrank
3 * Copyright (c) 1995 Martin Husemann
4 * Some structure declaration borrowed from Paul Popelka
5 * (paulp@uts.amdahl.com), see /sys/msdosfs/ for reference.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 17 unchanged lines hidden (view full) ---

26 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 * $NetBSD: dosfs.h,v 1.4 1997/01/03 14:32:48 ws Exp $
1/*
2 * Copyright (C) 1995, 1996, 1997 Wolfgang Solfrank
3 * Copyright (c) 1995 Martin Husemann
4 * Some structure declaration borrowed from Paul Popelka
5 * (paulp@uts.amdahl.com), see /sys/msdosfs/ for reference.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 17 unchanged lines hidden (view full) ---

26 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 * $NetBSD: dosfs.h,v 1.4 1997/01/03 14:32:48 ws Exp $
34 * $FreeBSD: head/sbin/fsck_msdosfs/dosfs.h 79455 2001-07-09 10:35:18Z obrien $
34 * $FreeBSD: head/sbin/fsck_msdosfs/dosfs.h 102231 2002-08-21 18:11:48Z trhodes $
35 */
36
37#ifndef DOSFS_H
38#define DOSFS_H
39
40#define DOSBOOTBLOCKSIZE 512
41
42typedef u_int32_t cl_t; /* type holding a cluster number */

--- 18 unchanged lines hidden (view full) ---

61 u_int FSInfo; /* FSInfo sector */
62 u_int Backup; /* Backup of Bootblocks */
63 cl_t RootCl; /* Start of Root Directory */
64 cl_t FSFree; /* Number of free clusters acc. FSInfo */
65 cl_t FSNext; /* Next free cluster acc. FSInfo */
66
67 /* and some more calculated values */
68 u_int flags; /* some flags: */
35 */
36
37#ifndef DOSFS_H
38#define DOSFS_H
39
40#define DOSBOOTBLOCKSIZE 512
41
42typedef u_int32_t cl_t; /* type holding a cluster number */

--- 18 unchanged lines hidden (view full) ---

61 u_int FSInfo; /* FSInfo sector */
62 u_int Backup; /* Backup of Bootblocks */
63 cl_t RootCl; /* Start of Root Directory */
64 cl_t FSFree; /* Number of free clusters acc. FSInfo */
65 cl_t FSNext; /* Next free cluster acc. FSInfo */
66
67 /* and some more calculated values */
68 u_int flags; /* some flags: */
69#define FAT32 1 /* this is a FAT32 filesystem */
69#define FAT32 1 /* this is a FAT32 file system */
70 /*
71 * Maybe, we should separate out
72 * various parts of FAT32? XXX
73 */
74 int ValidFat; /* valid fat if FAT32 non-mirrored */
75 cl_t ClustMask; /* mask for entries in FAT */
76 cl_t NumClusters; /* # of entries in a FAT */
77 u_int32_t NumSectors; /* how many sectors are there */

--- 67 unchanged lines hidden ---
70 /*
71 * Maybe, we should separate out
72 * various parts of FAT32? XXX
73 */
74 int ValidFat; /* valid fat if FAT32 non-mirrored */
75 cl_t ClustMask; /* mask for entries in FAT */
76 cl_t NumClusters; /* # of entries in a FAT */
77 u_int32_t NumSectors; /* how many sectors are there */

--- 67 unchanged lines hidden ---