Re: CD images without .iso extension



On Fri, 2006-09-01 at 23:04 -0400, Tiago Bortoletto Vaz wrote:
> Hi,

Hi

> I'm trying to know why libgnome-vfs doesn't consider a file with a
> non-.iso extension as a ISO 9660 image. I saw this code in gnomebaker
> application:
> 
>     /* GnomeVFS fails to correctly identify a CD image if the extension
>  * is no .iso, so we'll offer the user to burn it anyway 
>         When gnomevfs is fixed, we'll go back to the previous code.
>         gnomebaker_show_msg_dlg(NULL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK,
> GTK_BUTTONS_NONE,
>         _("The file you have selected is not a cd image. Please select a
> cd image to burn."));*/

I may be way off, but isn't this simply a MIME magic issue and not
really a "bug" per se?

The ideal situation would be to grab the MIME type of a by neither
looking up extension nor figuring out from the file data, but by
actually storing the MIME media type identifier with the file. But this
isn't possible right now.

> I would like to make gnomebaker work with .raw files. I took a look in
> the gnome-vfs2-2.14.2 sources (Debian package) but I could not find
> anything about iso 9660 file extensions. 

What exactly is a RAW file supposed to be? If it is an ISO 9660 image
then why doesn't it just have an "ISO" extension?

> Here are the questions: does the comments in gnomebaker source make
> sense? Is it possible to make libgnomevfs work with cue/toc/raw/etc
> file extensions just checking their internal bytes instead of their file
> names?
> 
> thanks, 
> 
> _______________________________________________
> gnome-vfs-list mailing list
> gnome-vfs-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
-- 
Alex Jones <alex weej com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]