From aadfb3b33adac0c2489eff9b7b0ea8f93a8b353a Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 22 Mar 2010 11:16:12 -0400 Subject: [PATCH] Backported extra CD/DVD filesystem checks to stable-2.0. --- platform/unix.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/unix.c b/platform/unix.c index 67eba473..4e714b40 100644 --- a/platform/unix.c +++ b/platform/unix.c @@ -104,6 +104,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; /* add other mount types here */