1OSTREE CHECKOUT(1)              ostree checkout             OSTREE CHECKOUT(1)
2
3
4

NAME

6       ostree-checkout - Check out a commit into a filesystem
7

SYNOPSIS

9       ostree checkout [OPTIONS...] {COMMIT} [DESTINATION]
10

DESCRIPTION

12       Checks out the given commit into the filesystem under directory
13       DESTINATION. If DESTINATION is not specified, the COMMIT will become
14       the destination checkout target. If COMMIT destination already exists,
15       command will error unless --union option is selected.
16

OPTIONS

18       --user-mode, -U
19           Do not change file ownership or initialize extended attributes.
20
21       --subpath="PATH"
22           Checkout sub-directory PATH.
23
24       --union
25           Keep existing directories and unchanged files, overwrite existing
26           files.
27
28       --union-add
29           Keep existing directories and files.
30
31       --union-identical
32           Like --union, but error out if a file would be replaced with a
33           different file. Add new files and directories, ignore identical
34           files, and keep existing directories. Requires -H.
35
36       --whiteouts
37           Process whiteout files (Docker style).
38
39       --process-passthrough-whiteouts
40           Enable overlayfs whiteout extraction into 0:0 character devices.
41           Overlayfs whiteouts are encoded inside ostree as
42           .ostree-wh.filename and extracted as 0:0 character devices. This is
43           useful to carry container storage embedded into ostree.
44
45       --allow-noent
46           Do nothing if specified path does not exist.
47
48       --from-stdin
49           Process many checkouts from standard input.
50
51       --from-file="FILE"
52           Process many checkouts from input file.
53
54       --fsync="POLICY"
55           POLICY is a boolean which specifies whether fsync should be used or
56           not. Default to true.
57
58       --require-hardlinks, -H
59           Do not fall back to full copies if hardlinking fails.
60
61       --force-copy-zerosized, -z
62           This option does nothing; the functionality is now always on by
63           default.
64
65       --force-copy, -C
66           Never hardlink (but may reflink if available).
67
68       --bareuseronly-dirs, -M
69           Suppress mode bits outside of 0775 for directories (suid, world
70           writable, etc.).
71
72       --skip-list="FILE"
73           Skip checking out the absolute file paths listed in FILE, one per
74           line.
75
76       --selinux-policy
77           Set SELinux labels based on policy in root filesystem PATH (may be
78           /). This implies --force-copy.
79

EXAMPLE

81       $ ostree checkout my-branch
82
83       $ ls
84
85                   file1    file2    my-branch
86
87
88
89OSTree                                                      OSTREE CHECKOUT(1)
Impressum