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

List:       kde-frameworks-devel
Subject:    Re: Add loop device interface to Solid framework
From:       Kwon-Young Choi <kwon-young.choi () hotmail ! fr>
Date:       2020-06-15 18:19:54
Message-ID: DB8P192MB0552B50C8C5340ACAFC38CA6C39C0 () DB8P192MB0552 ! EURP192 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

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
methods like `delete` and access properties like `backingFile`.

However, I still have no idea where to put the create loop device method
since there is no concept of a device manager in solid which can modify
the global state of the system.

Best regards,
Kwon-Young Choi

Le 2020-06-13 à 23:26, Kai Uwe Broulik a écrit  :
> 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
>
[prev in list] [next in list] [prev in thread] [next in thread] 

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