Manuel Bouyer writes ("Re: [PATCH 05/24] Introduce locking functions for block
device setup on NetBSD"):
> Right, thanks. Then it would need to be done with 2 different calls
> but I don't think that's a problem (even with the linux version it would
> not be atomic
Manuel Bouyer writes ("Re: [PATCH 05/24] Introduce locking functions for block
device setup on NetBSD"):
> On Wed, Jan 20, 2021 at 04:12:29PM +, Ian Jackson wrote:
> > I think NetBSD's stat(1) also takes different argumnts to specify the
> > format. NetBSD uses
On Wed, Jan 20, 2021 at 04:12:29PM +, Ian Jackson wrote:
> Manuel Bouyer writes ("Re: [PATCH 05/24] Introduce locking functions for
> block device setup on NetBSD"):
> > Yes, at last the stat call will need to be patched.
> > But it seems to rely on a linux-spec
Manuel Bouyer writes ("Re: [PATCH 05/24] Introduce locking functions for block
device setup on NetBSD"):
> Yes, at last the stat call will need to be patched.
> But it seems to rely on a linux-specific behavoir, which is that
> /dev/stdin points to the real file on redirec
On Wed, Jan 20, 2021 at 03:13:22PM +, Ian Jackson wrote:
> Manuel Bouyer writes ("Re: [PATCH 05/24] Introduce locking functions for
> block device setup on NetBSD"):
> > On Tue, Dec 29, 2020 at 12:29:09PM +0100, Roger Pau Monné wrote:
> > > I think you want t
Manuel Bouyer writes ("Re: [PATCH 05/24] Introduce locking functions for block
device setup on NetBSD"):
> On Tue, Dec 29, 2020 at 12:29:09PM +0100, Roger Pau Monné wrote:
> > I think you want tot CC the tools dev on this one, specially Ian who
> > knows how the Linux o
On Tue, Dec 29, 2020 at 12:29:09PM +0100, Roger Pau Monné wrote:
> I think you want tot CC the tools dev on this one, specially Ian who
> knows how the Linux one is implemented and can likely give valuable
> input.
>
> On Mon, Dec 14, 2020 at 05:36:04PM +0100, Manuel Bouyer wrote:
> > ---
> > too
I think you want tot CC the tools dev on this one, specially Ian who
knows how the Linux one is implemented and can likely give valuable
input.
On Mon, Dec 14, 2020 at 05:36:04PM +0100, Manuel Bouyer wrote:
> ---
> tools/hotplug/NetBSD/Makefile | 1 +
> tools/hotplug/NetBSD/block | 5 ++-
---
tools/hotplug/NetBSD/Makefile | 1 +
tools/hotplug/NetBSD/block | 5 ++-
tools/hotplug/NetBSD/locking.sh | 72 +
3 files changed, 77 insertions(+), 1 deletion(-)
create mode 100644 tools/hotplug/NetBSD/locking.sh
diff --git a/tools/hotplug/NetBSD/Make