-
Notifications
You must be signed in to change notification settings - Fork 30
ipfs mount #105
Comments
If list is supposed to be easy to parse, I would left out the colon and just make first line a columns decryption (like |
I take the usage of 'UX' here as specifically to refer to having 'least surprise', which is also the case with the files API for local operations. What is concerning of |
@noffle i really like this. +1. Additions:
$ ipfs mount
/ipfs /tmp/ipfs
/ipfs/Qmfoobarquux /home/stephen/my-website
/ipns /ipns
# The mount command has changed, it now lists tracked mountpoints.
# For the original behavior -- mounting the mountpoints -- use: ipfs mount -a One unrelated-to-this-UX-but-worth-considering-now thing is:
|
Good points @jbenet, thanks for the input. I've updated the top issue. I'd also be okay if we did the |
ipfs mount
is great, but it could be a lot more powerful and also borrow a lot of well established UX from the unixmount
command. (known as the principle of least surprise)mounting
Arbitrary IPFS and IPNS paths can mounted to the local file system. A user should be able to mount all of /ipfs somewhere, and then also mount /ipfs/Qmfoobarquux elsewhere.
ipfs mount /ipfs/Qmfoobarquux /home/stephen/my-website
ipfs mount /ipfs
ipfs mount /ipfs /tmp/ipfs
ipfs mount /ipns
ipfs mount -r /ipns
listing mountpoints
Here and throughout, output should be textual, line based, and trivial for external tooling to parse.
mounting all
It should be possible to configure mountpoints somewhere -- probably in
.ipfs
. Maybe in.ipfs/fstab
.additional
cc @jbenet @whyrusleeping @diasdavid @lgierth @rht
The text was updated successfully, but these errors were encountered: