Hi, Thank you for your reply.
I will definitely test your library as it seems to have everything ones need to interface with udisks. Best regards, Kwon-Young Choi > Message: 1 > Date: Tue, 9 Jun 2020 12:08:18 -0300 > From: Daniel Nicoletti <dantt...@gmail.com> > To: kde-devel@kde.org > Subject: Re: Add loop device interface to Solid framework > Message-ID: > <CACo8zOeO=ZQ3_cmSRK_5=54osp8kvp3otssgvy4n6dnnwpb...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Instead of directly calling DBus you could perhaps use > https://github.com/udisks-qt/udisks-qt > would be good to have more testing so I could do a final release. > > Em sáb., 6 de jun. de 2020 às 11:30, Kwon-Young Choi < > kwon-young.c...@hotmail.fr> escreveu: > >> 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 detach a loop device backed by an iso file. >> While writing the plugin, I used to Solid framework to do some hardware >> query and realized that there was no concept of loop device in Solid. >> I would like to know if there is interest to add a loop device interface >> to Solid and the ability to attach and detach such device? >> >> I'm starting to understand the architecture of Solid and I think I would >> be able to add: >> >> * an abstract Loop DeviceInterface >> * a backend Loop DeviceInterface backed by UDisks2 >> * a frontend Loop DeviceInterface >> * the ability for the DeviceManager to create a Loop DeviceInterface >> (I'm not sure this is possible...) >> >> However, I am not sure if this fit in the score of the Solid framework. >> >> Thank you for your advice! >> >> Kwon-Young Choi >> >