Backported extra CD/DVD filesystem checks to stable-2.0. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Mon, 22 Mar 2010 11:16:12 -0400
branchstable-2.0
changeset 1078 da660d3cc67c
parent 1076 b2d38b93f22e
child 1080 215ce342a9f1
Backported extra CD/DVD filesystem checks to stable-2.0.
platform/unix.c
--- a/platform/unix.c	Mon Mar 22 11:12:11 2010 -0400
+++ b/platform/unix.c	Mon Mar 22 11:16:12 2010 -0400
@@ -104,6 +104,14 @@
         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 */