platform/unix.c
branchstable-2.0
changeset 1078 da660d3cc67c
parent 1061 8b05539d6660
child 1294 184697ee7a77
equal deleted inserted replaced
1076:b2d38b93f22e 1078:da660d3cc67c
   102     while ( (ent = getmntent(mounts)) != NULL )
   102     while ( (ent = getmntent(mounts)) != NULL )
   103     {
   103     {
   104         int add_it = 0;
   104         int add_it = 0;
   105         if (strcmp(ent->mnt_type, "iso9660") == 0)
   105         if (strcmp(ent->mnt_type, "iso9660") == 0)
   106             add_it = 1;
   106             add_it = 1;
       
   107         else if (strcmp(ent->mnt_type, "udf") == 0)
       
   108             add_it = 1;
       
   109 
       
   110         /* !!! FIXME: these might pick up floppy drives, right? */
       
   111         else if (strcmp(ent->mnt_type, "auto") == 0)
       
   112             add_it = 1;
       
   113         else if (strcmp(ent->mnt_type, "supermount") == 0)
       
   114             add_it = 1;
   107 
   115 
   108         /* add other mount types here */
   116         /* add other mount types here */
   109 
   117 
   110         if (add_it)
   118         if (add_it)
   111             cb(data, ent->mnt_dir);
   119             cb(data, ent->mnt_dir);