Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some more filesystem types that might be CDs or DVDs.
  • Loading branch information
icculus committed Mar 22, 2010
1 parent ddd8204 commit e6f331f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/platform_unix.c
Expand Up @@ -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? */

Expand Down

0 comments on commit e6f331f

Please sign in to comment.