github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/cmd/cammount/doc.go (about) 1 /* 2 Copyright 2013 The Camlistore Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 /* 18 The cammount tool mounts a root directory blob onto the given mountpoint. The blobref can be given directly or through a share blob URL. If no root blobref is given, an automatic root is created instead. 19 20 21 Usage: 22 23 cammount [opts] <mountpoint> [<root-blobref>|<share URL>] 24 -debug=false: print debugging messages. 25 -server="": Camlistore server prefix. 26 If blank, the default from the "server" field of ~/.camlistore/config is used. 27 Acceptable forms: https://you.example.com, example.com:1345 (https assumed), or 28 http://you.example.com/alt-root 29 */ 30 package main