patch-2.1.17 linux/include/linux/msdos_fs.h
Next file: linux/include/linux/netdevice.h
Previous file: linux/include/linux/mm.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sat Dec 21 19:06:36 1996
- Orig file:
v2.1.16/linux/include/linux/msdos_fs.h
- Orig date:
Mon Sep 30 11:22:48 1996
diff -u --recursive --new-file v2.1.16/linux/include/linux/msdos_fs.h linux/include/linux/msdos_fs.h
@@ -7,6 +7,7 @@
#include <linux/fs.h>
#include <linux/stat.h>
#include <linux/fd.h>
+#include <linux/config.h>
#define MSDOS_ROOT_INO 1 /* == MINIX_ROOT_INO */
#define SECTOR_SIZE 512 /* sector size (bytes) */
@@ -68,6 +69,14 @@
#define MSDOS_DOTDOT ".. " /* "..", padded to MSDOS_NAME chars */
#define MSDOS_FAT12 4078 /* maximum number of clusters in a 12 bit FAT */
+
+#ifdef CONFIG_ATARI
+#define EOF_FAT12 0xFFF /* Atari GEMDOS fs uses a different EOF */
+#define EOF_FAT16 0xFFFF
+#else
+#define EOF_FAT12 0xFF8 /* standard EOF */
+#define EOF_FAT16 0xFFF8
+#endif
/*
* Inode flags
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov