xetorthio/etcd-fs

Argument order swapped

Closed this issue · 5 comments

Mount commands typically expect arguments in "what to mount" "where to mount" order. Presently etcd-fs flips this, expecting where to mount, then what to mount.

This is particularly troublesome if trying to use automounters, for example systemd. The automounter will be unable to understand that http://localhost:4001/ is not a local directory where the FS should mount.

@xetorthio Is there a specific reason for this being swapped?

I will then look into making a pr for this change

Please review #13 @xetorthio

This can now be closed, as #13 is merged.