Erwan Velu wrote:
> Le mar 16/12/2003 à 14:54, Erwan Velu a écrit :
>> In some case, CDROM/DVD devices are /dev/hdc so freevo didn't detect it.
>> I've made a small patch to use /proc/ide/<device>/media to know if it's
>> a cdrom or not.
>> If its the case, the device is added as a cdrom drive :o)
> Some of my friends reported that if the /proc entry didn't exist (i.e
> hdd1) freevo crashed..
> I've forgot to test the existence of this proc entry :(
>
> +                   if os.path.exists('/proc/ide/'+  re.sub(r'^(/dev/)',
> '', devname) +'/media'):

In cvs.


Dischi

-- 
Wake up and smell the coffee.
                -- Ann Landers


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to