On Sat, Jun 14, 2014 at 01:33:24PM +0100, Stuart Henderson wrote:
> "what is implemented" - sure, see /sys/miscfs/fuse and /usr/src/lib/libfuse ;)
> These in particular:
> 
> fuse.c:       FUSE_OPT_KEY("-h",                      KEY_HELP),
> fuse.c:       FUSE_OPT_KEY("--help",                  KEY_HELP),
> fuse.c:       FUSE_OPT_KEY("-ho",                     
> KEY_HELP_WITHOUT_HEADER),
> fuse.c:       FUSE_OPT_KEY("-V",                      KEY_VERSION),
> fuse.c:       FUSE_OPT_KEY("--version",               KEY_VERSION),
> fuse.c:       FUSE_OPT_KEY("max_read=",               KEY_MAXREAD),
> fuse.c:       FUSE_OPT_KEY("debug",                   KEY_STUB),
> fuse.c:       FUSE_OPT_KEY("-d",                      KEY_STUB),
> fuse.c:       FUSE_OPT_KEY("-f",                      KEY_STUB),
> fuse.c:       FUSE_OPT_KEY("-s",                      KEY_STUB),
> fuse.c:       FUSE_OPT_KEY("use_ino",                 KEY_STUB),
> fuse.c:       FUSE_OPT_KEY("default_permissions",     KEY_STUB),
> fuse.c:       FUSE_OPT_KEY("fsname=",                 KEY_STUB),
> 
> "what is not" - there are several implementations of fuse with different
> capabilities, so compare the above with these ..
> 
> Linux, see "General mount options" in e.g.
> http://manpages.ubuntu.com/manpages/precise/man8/mount.fuse.8.html
> 
> fuse4bsd (FreeBSD), see "struct mntopt mopts" in
> http://mirrors.rit.edu/zi/fuse4bsd/498acaef33b0.tar.gz
> 
> > I would expect `mount' output would show source in the output.
> 
> I guess you mean you're expecting it to show "fsname"..? (in linux
> this defaults to the program name mounting the filesystem though can
> be changed with a mount option). - fsname isn't implemented yet
> (stubbed out).
> 
> > # sysctl kern.version                   
> > kern.version=OpenBSD 5.5-current (GENERIC.MP) #202: Fri Jun 13 12:56:14 MDT 
> > 2014
> >     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > 
> > # fuse-zip /home/jirib/tmp/logs.zip /mnt 
> > # mount -v -t fuse
> > fusefs () on /mnt type fuse (rw, local, ctime=Sat Jun 14 12:18:36 2014)
> > 
> > With latest amd64 snapshot 'bindfs' even stop working :/
> > 
> > # bindfs /home/jirib/tmp /mnt              
> > fuse: unknown option allow_other
> 
> Not implemented. allow_other is not expected to be accepted by our
> fuse implementation yet.
> 
> >                      ^^^^^^^^^^^ google reveals some /etc/fuse.conf
> 
> OpenBSD libfuse doesn't support /etc/fuse.conf.
> 
> > # bindfs -d /home/jirib/tmp /mnt
> > fuse: unknown option -d
> 
> This is something to do with the fact that it's setting up its own
> options array and calling fuse_opt_parse with that, but I got a bit lost
> in fuse_opt_parse / parse_opt.
> 
> btw, your port is not really ugly, but s/GPLv2/GPLv2+/, and the do-install
> doesn't seem to be useful. But it looks like it relies on quite a lot of
> things that are not supported in OpenBSD's fuse implementation.

Thanks for explanation Stuart. As I'm not a programmer than
I will maybe try to resurrect to make bindfs run on OpenBSD
when OpenBSD FUSE implemantation would get more features.

jirib

Reply via email to