core/commands/files: MFS docs, minor improvements after user feedback

This commit is contained in:
Hector Sanjuan 2020-02-07 15:35:33 +01:00
parent e05ddfab23
commit 38ca2fbde2

View File

@ -45,10 +45,14 @@ updated when a change happens (and can be checked with "ipfs files stat /").
All files and folders within MFS are respected and will not be cleaned up
during garbage collections. MFS is independent from the list of pinned items
("ipfs pin ls"). Calls to "ipfs pin add" and "ipfs pin rm" do not affect
content on MFS. Similarly, content added with "ipfs add" (which by default
pins), is not added to MFS. Any content can be put into MFS with the command
"ipfs files cp /ipfs/<cid> /some/path/".
("ipfs pin ls"). Calls to "ipfs pin add" and "ipfs pin rm" will add and remove
an separate pin independent of the content on MFS. If MFS content that was
additionally pinned is removed by calling "ipfs files rm", it will still
remain pinned.
Content added with "ipfs add" (which by default also becomes pinned), is not
added to MFS. Any content can be put into MFS with the command "ipfs files cp
/ipfs/<cid> /some/path/".
NOTE: