From @dpercy on Wed Oct 21 2015 05:17:54 GMT+0000 (UTC)
Currently if you want to write a file to IPFS you have to do so explicitly, with either the command-line interface or the HTTP gateway. By contrast, reading files works transparently when you mount /ipfs and /ipns.
Will there be a way to transparently write files to IPFS through its mount point? For example, suppose I wanted to use
/ipns/<hash-of-pubkey> as a personal Dropbox. I want to be able to
cd /ipns/<hash-of-pubkey> ; echo "hello new file" > file.txt, and then have
/ipns/<hash-of-pubkey>/file.txt become visible to other nodes. Will an interface like this be a core feature of IPFS, or should this be a separate FUSE application written on top of IPFS?
Copied from original issue: https://github.com/ipfs/faq/issues/64
From @whyrusleeping on Wed Oct 21 2015 05:26:29 GMT+0000 (UTC)
have you tried doing the thing you suggest?
From @dpercy on Wed Oct 21 2015 05:30:08 GMT+0000 (UTC)
Ha, I just noticed: https://github.com/ipfs/go-ipfs/issues/1007 This is awesome!
Sorry for the frivolous question; I could have investigated this more myself before posting.
From @whyrusleeping on Wed Oct 21 2015 05:31:50 GMT+0000 (UTC)
@dpercy haha, no worries! i’m glad this is a feature people still want (warning though, i havent looked at that code in a good while and travis CI cant test fuse stuff for us)
From @dpercy on Wed Oct 21 2015 05:34:09 GMT+0000 (UTC)
Is it possible for more than one node to write to the same directory? I guess they would need to both have access to the same private key to update the ipns entry. Is it possible to run IPFS nodes with identical keys on two separate machines?
From @whyrusleeping on Wed Oct 21 2015 05:42:48 GMT+0000 (UTC)
that is planned, but not yet implemented. Its gonna be tricky to do right.
Does mounting require the use of IPNS? Can I mount without publishing – assuming from the node with the key?