From 36d04ac76e1334ace25ce34e221072ce70bc4a32 Mon Sep 17 00:00:00 2001 From: Torne Wuff Date: Sat, 17 Sep 2011 22:45:59 +0000 Subject: Allow any partition type, not just known FAT types. Instead of only mounting partitions with a FAT partition type, try any partition that isn't type 0 (unallocated) or 5 (extended). This makes it easier to reformat SDXC cards which have the exFAT partition type, and also brings us in line with pretty much every other OS at this point. Anything with a valid-looking FAT superblock will get mounted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30566 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/disk.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/firmware/common/disk.c b/firmware/common/disk.c index 3c1f01cc61..b77f2e294a 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -189,9 +189,8 @@ int disk_mount(int drive) #endif for (; volume != -1 && i<4 && mounted