curl -i localhost:8080/metadata/fs/
curl -i -X PUT localhost:8080/mount/fs/foo/ -d '{ "mongodb": { "connectionUri": "mongodb://localhost" } }'
curl -i -X PUT localhost:8080/mount/fs/foo/bar -d '{ "view": { "connectionUri": "sql2://?q=select+*+from+baz" } }'
curl -i localhost:8080/metadata/fs/foo/
curl -i -X DELETE localhost:8080/mount/fs/foo/
curl -i -X MOVE -H "Destination: /foo2/" localhost:8080/mount/fs/foo/
curl -i -X MOVE -H "Destination: /foo2/" localhost:8080/data/fs/foo/
MOVE /data/fs/mnt1/ -> /mnt2/:
- error: destination is not in a mounted filesystem
- not used by SlamData
MOVE /data/fs/mnt1/dir1/ -> /mnt1/dir2:
- ManageFile.move
- intercepted by ViewFS
- delegates to move the dir, then for each view in Mounting:
delete
dst andremount
MOVE /data/fs/mnt1/view1 -> /mnt1/view2:
- ManageFile.move
- intercepted by ViewFS
- only a
remount
- the
move
is not delegated
MOVE /mount/fs/mnt1/ -> /mnt2/:
- Mounting.remount
- does not move nested views MOVE /mount/fs/mnt1/dir1/ -> /mnt2/dir2/:
- error: not a mount MOVE /mount/fs/mnt1/view1 -> /mnt1/view2:
- Mounting.remount