1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jörg Hohensohn 2004-12-28 22:16:07 +00:00
parent ae45d970d8
commit da84857631
18 changed files with 1330 additions and 329 deletions

View file

@ -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 */