[stream-refactor] make mitogen-fuse work on Linux

pull/607/head
David Wilson 5 years ago
parent fc57c1d1a0
commit 6a106f03ff

@ -241,9 +241,13 @@ def main(router):
print('usage: %s <host> <mountpoint>' % sys.argv[0]) print('usage: %s <host> <mountpoint>' % sys.argv[0])
sys.exit(1) sys.exit(1)
blerp = fuse.FUSE( kwargs = {}
if sys.platform == 'darwin':
kwargs['volname'] = '%s (Mitogen)' % (sys.argv[1],)
f = fuse.FUSE(
operations=Operations(sys.argv[1]), operations=Operations(sys.argv[1]),
mountpoint=sys.argv[2], mountpoint=sys.argv[2],
foreground=True, foreground=True,
volname='%s (Mitogen)' % (sys.argv[1],), **kwargs
) )

Loading…
Cancel
Save