[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kdebase - (1) media kioslave (2) problems with xinerama
From:       Kévin_Ottens <ervin () ipsquad ! net>
Date:       2005-06-09 9:26:13
Message-ID: 200506091126.13591.ervin () ipsquad ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Le Jeudi 9 Juin 2005 00:27, Holger Freyther a écrit :
> why not simply ask the blockdevice (via sysfs) if this device is removable
> instead of guessing? For the udev case we know sysfs will be around and on
> non linux2.6 (linux2.4, *BSD) we could use this 'heuritsic'

Because it's not portable? and introduce special cases in the code, etc.

The philosophy behind media:/ is to have several backends, one being truely 
portable and simply guessing (the fstab one), the other ones being specific 
to a platform. It simplify the code a lot and avoid having loads of #ifdef 
everywhere.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic