Storing data on external drives

Jamie Strandboge jamie at canonical.com
Mon Feb 23 15:17:33 UTC 2015


On 02/23/2015 07:56 AM, Mark Shuttleworth wrote:
> On 23/02/15 15:14, Daniel Holbach wrote:
>> Hello,
>>
>> On 13.02.2015 14:10, Daniel Holbach wrote:
>>> do we already have a plan on how to deal with storing data on external
>>> drives? How can apps find out where they can read/write?
>> think of this as the raspberry + external disk + mediatomb use case.
>>
>> Do we already have an idea how this could work?
> 
> 
> As a straw man:
> 
>  * apps declare if they can use external storage
>  * user or device vendor gets to decide which apps get to use it
>  * apps get allocated an isolated space there just as they do on the
> main filesystem
> 
> .. with variations for cases like exclusive use (block level allocation)
> of devices to an app.
> 

To me, this is related to the hw access discussion that happened not too long
ago on this list ('[RFC] Improving hardware access for snaps' -- the first step
to unblock people is actively being worked on and should hit a snappy image near
you soon). The difference of course is that mediatomb shouldn't have raw access
to a device in /dev, but rather access to files under the external drive's mount
point (eg /media). I think the straw man is a good start and has similarities to
what we've been thinking about for the next steps in hw access. I'll give this
some thought then bring it up for discussion here.

-- 
Jamie Strandboge                 http://www.ubuntu.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150223/8538eaf0/attachment.pgp>


More information about the snappy-devel mailing list