Re: [dev] Announcing sinit - the suckless init

From: sin <sin_AT_2f30.org>
Date: Fri, 7 Feb 2014 16:24:03 +0000

On Fri, Feb 07, 2014 at 01:42:36PM +0100, Eckehard Berns wrote:
> On Fri, Feb 07, 2014 at 12:03:03PM +0000, sin wrote:
> > I've fixed the issues you mentioned except the case when rootfs is mounted
> > as ro.
> >
> > How would you tackle that?
>
> I thought about this a bit. If the fifo is present when booting the
> ro root fs everything should be fine. You wouldn't be able to unlink
> fifopath or create it, but since it's already there the call to open()
> should succeed. You'd have to ignore errors for unlink() and mkfifo()
> and only check open() for errors. I can't test this at the moment, but I
> think this might work.

Well, I completely removed the FIFO code :)
Received on Fri Feb 07 2014 - 17:24:03 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 07 2014 - 17:36:06 CET