Go-ipfs: add ipfs umount command

Created on 7 Mar 2015  Â·  7Comments  Â·  Source: ipfs/go-ipfs

it would be useful to have the opposite of the mount command. few users would know they can fusermount -u /ipfs; fusermount -u /ipns. i don't actually know if that works, even!

dieasy help wanted topicommands topidocs-ipfs topifuse

All 7 comments

sometimes even that doesn't work, fuse is finicky. one may have to use any of:

# linux
fusermount -u /ipfs
umount /ipfs
umount -f /ipfs

# osx
diskutil umount /ipfs
diskutil umount force /ipfs
umount /ipfs
umount -f /ipfs

which really sucks. agreed we need something like a ipfs umount.

thing is: umount will not work for regular users, AFAIK. only root.

umount works if your user has fuse permissions, if you can run ipfs mount without sudo, you can do umount /ipfs without it as well.

ah. see i have been using fuse a few times and i never thought of that. i suspect most new fuse users won't think of that.

Yeah, we definitely need better documentation around this.

TODO: we probably should add either ipfs unmount or ipfs mount -u

We can probably do unmount. We could also alias both.
On Fri, Jan 1, 2016 at 20:41 Jeromy Johnson [email protected]
wrote:

TODO: we probably should add either ipfs unmount or ipfs mount -u

—
Reply to this email directly or view it on GitHub
https://github.com/ipfs/go-ipfs/issues/870#issuecomment-168354950.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

whyrusleeping picture whyrusleeping  Â·  4Comments

slrslr picture slrslr  Â·  3Comments

magik6k picture magik6k  Â·  3Comments

kallisti5 picture kallisti5  Â·  3Comments

ArcticLampyrid picture ArcticLampyrid  Â·  3Comments