Jérôme Duval wrote: > I'm wondering why we bother supporting reading "BEOS:TYPE" attribute > for files located on a dos file system. Shouldn't it be the job of the > registrar/mime registry anyway ? Yes, I think the table should be removed from the file system, and placed in the userland mime registrar if possible. It could use extension based file type matching, as MIME types already have extensions assgined in the mime database. It could also revert to sniffing (if that isn't too slow) in case a file extension is unknown or duplicate. I think we also should add some kind of mime type aliasing to the mime database. Just like the file name extensions, additional alias names could be stored for each mime type. For example, the official type "application/ogg" could have the alias entries "video/x-ogg" and "audio/ogg", and extensions ".ogg" and ".ogm" So whenever a file with existing but unknown mime type is launched, registrar could look into the alias entries to determine what type the file is. When launched from a dosfs partition, it would use the extension. Extensions and alias entries should probably stored in a hash table, for fast access. I also vote for making extension matching case insensitive. regards Marcus Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 44,85 ? inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2