From da848576312800dc229624e928d132d0702c1854 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Tue, 28 Dec 2004 22:16:07 +0000 Subject: prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/dir.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/include/dir.h') diff --git a/firmware/include/dir.h b/firmware/include/dir.h index 00c6664872..5c157e4696 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h @@ -30,6 +30,7 @@ #define ATTR_VOLUME_ID 0x08 #define ATTR_DIRECTORY 0x10 #define ATTR_ARCHIVE 0x20 +#define ATTR_VOLUME 0x40 /* this is a volume, not a real directory */ struct dirent { unsigned char d_name[MAX_PATH]; @@ -52,6 +53,9 @@ typedef struct { struct fat_dir fatdir; struct fat_dir parent_dir; struct dirent theent; +#ifdef HAVE_MULTIVOLUME + int volumecounter; /* running counter for faked volume entries */ +#endif } DIR; #else /* SIMULATOR */ -- cgit v1.2.3