cdrom.disc.is_rewritable

Alexander Larsson alexl at redhat.com
Fri Sep 17 07:32:46 PDT 2004


It seems that some models of cd-rw drives doesn't seem to support the
GET CONFIGURATION command. At least mine returns sense 5h. However, to
automatically support cdrom blanking, nautilus-cd-burner needs to
correctly know if the medium is rewritable. Thus the attached patch uses
the READ DISC INFORMATION command to get that information.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a lonely chivalrous romance novelist in a wheelchair. She's a blind 
French-Canadian Hell's Angel from a secret island of warrior women. They fight 
crime! 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-rewrite.patch
Type: text/x-patch
Size: 1828 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20040917/ab81b503/hal-rewrite.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list