On Mon, Dec 11, 2017 at 12:02:43PM +0000, Stuart Henderson wrote:
> On 2017/12/11 19:40, Helg wrote:
> > usmb is another FUSE file system that doesn't implement mknod, which is
> > now mandatory on OpenBSD. Upstream has not been updated for a few years
> > so I've patched this operation in myself. It's not ideal because a new
> > file is created and then immediately closed and reopened when an
> > application calls open(2) with the O_CREAT flag. The best solution
> > would be to implement usmb_create as a no-op and to create and open the
> > file in usmb_open but the FUSE dictates that the O_CREAT flag is not
> > passed to the file system's open method.
> > 
> > There are no other changes.
> > 
> > ok?
> 
> You'll need to bump REVISION in ports/sysutils/usmb/Makefile.
> Otherwise ok sthen@.
> 
> Back story about the usmb port: it wasn't the nicest SMB FUSE
> implementation, but was the simplest to get working with OpenBSD's FUSE
> at the time. Now that's been improved, it might be worth looking at the
> other options again (SMBNetFS looks like a better option in general).

I've knocked together a quick port of SMBNetFS and it looks promising.
One of the nice things about usmb is that you mount an SMB share much
like you would NFS. SMBNetFS and others "mount" all visible shares on
the network indiscriminately. Having options to choose from is always
good though.

I've bumped REVISION and checked it in.

Thanks.

Reply via email to