From e6f331f32d73f4804a7329ffa07084647c5c7448 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 22 Mar 2010 11:12:45 -0400 Subject: [PATCH] Add some more filesystem types that might be CDs or DVDs. --- src/platform_unix.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/platform_unix.c b/src/platform_unix.c index 7d0311dc..9fc29704 100644 --- a/src/platform_unix.c +++ b/src/platform_unix.c @@ -101,6 +101,14 @@ void __PHYSFS_platformDetectAvailableCDs(PHYSFS_StringCallback cb, void *data) int add_it = 0; if (strcmp(ent->mnt_type, "iso9660") == 0) add_it = 1; + else if (strcmp(ent->mnt_type, "udf") == 0) + add_it = 1; + + /* !!! FIXME: these might pick up floppy drives, right? */ + else if (strcmp(ent->mnt_type, "auto") == 0) + add_it = 1; + else if (strcmp(ent->mnt_type, "supermount") == 0) + add_it = 1; /* !!! FIXME: udf? automount? */