1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 09:52:20 +08:00

fuse mount lifecycle fixes

This commit cleans up how mounting was being done.
It now successfully signals when it is properly mounted
and listen to close signals correctly.
This commit is contained in:
Juan Batiz-Benet
2015-01-02 07:57:42 -08:00
parent 1fa14335b9
commit e21b1f662b
8 changed files with 210 additions and 256 deletions

View File

@ -134,6 +134,8 @@ func daemonFunc(req cmds.Request) (interface{}, error) {
if err != nil {
return nil, err
}
fmt.Printf("IPFS mounted at: %s\n", fsdir)
fmt.Printf("IPNS mounted at: %s\n", nsdir)
}
return nil, listenAndServeAPI(node, req, apiMaddr)