1OSTREE INIT(1) ostree init OSTREE INIT(1)
2
3
4
6 ostree-init - Initialize a new empty repository
7
9 ostree init [OPTIONS...]
10
12 Creates a new empty repository.
13
15 --mode="MODE"
16 Initialize repository in given mode (bare, bare-user,
17 bare-user-only, archive). The default is bare. Note that for
18 archive the repository configuration file will actually have
19 archive-z2, as that's the historical name.
20
21 See the manual for differences between these modes. Briefly, bare
22 mode stores files as they are, so they can be directly hardlinked,
23 bare-user uses extended attributes to store ownership and xattr
24 information, allowing non-root operations, bare-user-only does not
25 store ownership information, and archive stores files compressed,
26 to be served over the network.
27
28 --collection-id=COLLECTION-ID
29 Set the collection ID of the repository. Remotes in clones of this
30 repository must configure the same value in order to pull refs
31 which originated in this repository over peer to peer.
32
33 This collection ID must be persistent and globally unique. It is
34 formatted as a reverse DNS name (like a D-Bus interface). It must
35 be set to a reverse DNS domain under your control.
36
37 This option may be omitted (the default) to leave peer to peer
38 distribution unsupported for the repository. A collection ID may be
39 added to an existing repository in future to enable peer to peer
40 distribution from that point onwards.
41
42 If the collection ID is changed for the repository in future, peer
43 to peer distribution of refs from the repository will break for all
44 peers who do not update their remote configuration to the new
45 collection ID.
46
47
48
49OSTree OSTREE INIT(1)