]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
special-case getvfsbyname(3) for fusefs(5)
authorasomers <asomers@FreeBSD.org>
Thu, 25 Jul 2019 03:55:05 +0000 (03:55 +0000)
committerasomers <asomers@FreeBSD.org>
Thu, 25 Jul 2019 03:55:05 +0000 (03:55 +0000)
commitfe9b36388a0c872fb567ba3a6d9fce433e00bbb6
tree756bfd6fda221cf92c5a793761d35a63a56a6b7d
parentd7f60f9264275e4b05c9d444ecb80234ea6141d3
special-case getvfsbyname(3) for fusefs(5)

fusefs file systems may have a fsname subtype (set by mount_fusefs's "-o
subtype" option) that gets appended to the fsname as returned by statfs(2).
The subtype is set on a per-mount basis so it isn't part of the struct
vfsconf. Special-case getvfsbyname to match either the full "fusefs.foobar"
or short "fusefs" fsname.

This is a merge of r348007, r348054, and r350093 from projects/fuse2

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21043
lib/libc/gen/getvfsbyname.c