[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Device interfaces (was: USB Mass Storage with rump)

From: Olaf Buddenhagen
Subject: Device interfaces (was: USB Mass Storage with rump)
Date: Sat, 26 Sep 2015 14:48:07 +0200
User-agent: Mutt/1.5.23 (2014-03-12)


On Thu, Sep 24, 2015 at 09:30:17AM +0200, Samuel Thibault wrote:
> Olaf Buddenhagen, le Thu 24 Sep 2015 00:11:26 +0200, a écrit :

> > As I already mentioned on IRC, I don't think we should emulate Mach
> > device nodes at all here. Rather, the USB mass storage server(s) would
> > export UNIX device nodes, which ext2fs/libstore can already deal with
> > AFAIK.
> But the fs RPC interface is much more involved to implement than the
> device RPC interface.

Is it really? While I haven't implemented a trivfs translator doing
actual file I/O yet, they do seem simple enough to me... Or am I missing

Also, it's a one-time effort. And it avoids the need to modify

> Storeio already does the conversion nicely, why not reusing it?

Why introduce an unnecessary indirection, which makes things more
confusing and harder to use, if we can just use the standard Hurd I/O
interface directly?

The point of the store infrastructure is to abstract different backends,
so we are not bound to Mach devices only...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]