Add some more filesystem types that might be CDs or DVDs.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 22 Mar 2010 11:12:45 -0400
changeset 1077 21166622a4d4
parent 1075 abbb759c1398
child 1079 c218c384331e
Add some more filesystem types that might be CDs or DVDs.
src/platform_unix.c
--- a/src/platform_unix.c	Mon Mar 22 11:11:09 2010 -0400
+++ b/src/platform_unix.c	Mon Mar 22 11:12:45 2010 -0400
@@ -101,6 +101,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;
 
         /* !!! FIXME: udf? automount? */