Re: Add loop device interface to Solid framework

2020-06-28 Thread Kwon-Young Choi
Hello, Thanks for your response. I'm already working on a Loop DeviceInterface to just implement the `delete` method and `backingFile` attribute which I need for the dolphin plugin and since you seem interested I will try to create a merge request soon. After that, I'll think about how to crea

Re: Add loop device interface to Solid framework

2020-06-26 Thread Kevin Ottens
Hello, Sorry for the slow reply time. :-) On Monday, 15 June 2020 20:19:54 CEST Kwon-Young Choi wrote: > Well, I don't know if it possible to make an optional action such as a > delete method which would work only if the device is a loop device > backed by a file. That's totally doable, and prob

Re: Add loop device interface to Solid framework

2020-06-15 Thread Kwon-Young Choi
Hi, Well, I don't know if it possible to make an optional action such as a delete method which would work only if the device is a loop device backed by a file. In my opinion, it would be better to check if the device is a loop device, if it is you can convert it to the Loop type and can call meth

Re: Add loop device interface to Solid framework

2020-06-13 Thread Kai Uwe Broulik
Hi, isn't that something that should just be in StorageVolume or something? We can already handle mounted ISOs in Solid just find - we only need some way to create/delete them? Cheers Kai Uwe

Re: Add loop device interface to Solid framework

2020-06-13 Thread David Faure
On dimanche 7 juin 2020 20:10:11 CEST Kwon-Young Choi wrote: > Hello, > > I have recently made a plugin for dolphin to mount and unmount iso > files: https://invent.kde.org/sdk/dolphin-plugins/-/merge_requests/1 > > This plugin uses DBus calls to directly communicate with UDisks2 to > attach and