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 :)