[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) |
Hi,
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
something?
Also, it's a one-time effort. And it avoids the need to modify
libstore/storeio.
> 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...
-antrik-
- Re: Sound translator, (continued)
- Sound translator (was: Full-time developer available), Olaf Buddenhagen, 2015/09/18
- USB Mass Storage with rump (was: Full-time developer available), Olaf Buddenhagen, 2015/09/18
- Re: USB Mass Storage with rump, Robert Millan, 2015/09/19
- Re: USB Mass Storage with rump, Samuel Thibault, 2015/09/19
- Re: USB Mass Storage with rump, Robert Millan, 2015/09/19
- Re: USB Mass Storage with rump, Olaf Buddenhagen, 2015/09/23
- Re: USB Mass Storage with rump, Olaf Buddenhagen, 2015/09/23
- Re: USB Mass Storage with rump, Samuel Thibault, 2015/09/24
- Device interfaces (was: USB Mass Storage with rump),
Olaf Buddenhagen <=
- Re: Device interfaces (was: USB Mass Storage with rump), Samuel Thibault, 2015/09/26
- Re: USB Mass Storage with rump, Olaf Buddenhagen, 2015/09/23
- Re: USB Mass Storage with rump, Robert Millan, 2015/09/24
- Re: USB Mass Storage with rump (was: Full-time developer available), Samuel Thibault, 2015/09/19
- Rump errno conversion, Robert Millan, 2015/09/20
- Re: Full-time developer available, Justus Winter, 2015/09/24
Re: Full-time developer available, Justus Winter, 2015/09/17
Re: Full-time developer available, Samuel Thibault, 2015/09/16