[Toybox] [toybox] Add nbd-client. (8525d78)

Rob Landley rob at landley.net
Thu Jul 17 06:24:07 PDT 2014


I should send this to the mailing list:

On 07/17/14 05:54, Rob Landley wrote:
> On 07/17/14 00:50, technosaurus wrote:
>> rather than open() with subsequent close(), why not use access(toybuf, F_OK)
> 
> It's been several years since I wrote this, but the comment a couple
> lines above says "open the device to force reread of the partition table".
> 
> Rob
> 

On 07/17/14 08:12, Rob Landley wrote:> On 07/17/14 00:58, technosaurus wrote:
>> I think this is the same as daemonize() in toybox/lib. Should daemonize
>> just be defined to daemon(0,0) or is there a reason for it?
> 
> daemon() isn't posix, so I have to figure out if it's best to
> reimplement it for portability, or just stick with the libc function we
> inherited from BSD and wait for the standard to catch up. In the
> meantime, it's in lib/pending.c for the same reason toys/pending exists,
> as toys/pending/README says this stuff needs further review.
> 
> Rob
> 


More information about the Toybox mailing list