[opensuse-kde3] New media manager, based on udisks2

Hello, I'm developing a new media manager and I need some sugestions. For example, what should be enumerated in media:/, only block devices with a filesystem or physical devices too? -- Serghei -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

On Sunday 08 April 2012 00:54:09 Serghei Amelian wrote:
I'm developing a new media manager and I need some sugestions. For example, what should be enumerated in media:/, only block devices with a filesystem or physical devices too?
With hal I think only mounted devices were shown. Unless you plan to implement context operations with unmounted devices such as formatting from the context menu, I think showing all devices has little reason. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

On Sunday 08 April 2012 01:48:09 Ilya Chernykh wrote:
On Sunday 08 April 2012 00:54:09 Serghei Amelian wrote:
I'm developing a new media manager and I need some sugestions. For example, what should be enumerated in media:/, only block devices with a filesystem or physical devices too?
With hal I think only mounted devices were shown. Unless you plan to implement context operations with unmounted devices such as formatting from the context menu, I think showing all devices has little reason.
At this moment I intent to display only block devices and allow to mount/unmount/eject they. Formatting is a little dangerous, but maybe sometime I will implement partitioning/formatting too. Also, I think I can to add support for encrypted volumes, udisks2 seems to support this. -- Serghei -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org

On Sunday 08 April 2012 02:59:30 Serghei Amelian wrote:
With hal I think only mounted devices were shown. Unless you plan to implement context operations with unmounted devices such as formatting from the context menu, I think showing all devices has little reason.
At this moment I intent to display only block devices and allow to mount/unmount/eject they. Formatting is a little dangerous, but maybe sometime I will implement partitioning/formatting too. Also, I think I can to add support for encrypted volumes, udisks2 seems to support this.
Besides implementing the new backend I also suggest to incorporate a patch that repairs the current fstab/mtab backend: https://api.opensuse.org/public/source/KDE:KDE3/kdebase3/mtab-reenable.patch When this patch is applied, mediamanager only needs a resident automounter. If any automounter is running, mediamanager will automatically detect newdrives. It is tested with devmon and udisks-glue. The only problem with this backend is that id does not detect disk type pecisely: it uses the first two letters of a device name, thus it detects sr* as optical, sd* as a hard drive, ub* as an USB drive. But the current kernels assign names sd* to the usb drives as well that this backend only distinguishes optical, hard drives and network drives. The drive type detection algorithm thus needs improvement. Anyway the patch is a suignificant improvement and this backend does not depend directly on udisks or udisks2 inbterface which makes it universal. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (2)
-
Ilya Chernykh
-
Serghei Amelian