OSTREE CHECKOUT - Online Linux Manual PageSection : 1
Updated :
Source : OSTree
Note : ostree checkout

NAMEostree-checkout − Check out a commit into a filesystem

SYNOPSISostree checkout [OPTIONS...] {COMMIT} [DESTINATION]

DESCRIPTIONChecks out the given commit into the filesystem under directory DESTINATION​. If DESTINATION is not specified, the COMMIT will become the destination checkout target​. If COMMIT destination already exists, command will error unless −−union option is selected​.

OPTIONS−−user−mode, −U Do not change file ownership or initialize extended attributes​. −−subpath="PATH" Checkout sub−directory PATH​. −−union Keep existing directories and unchanged files, overwrite existing files​. −−union−add Keep existing directories and files​. −−union−identical Like −−union, but error out if a file would be replaced with a different file​. Add new files and directories, ignore identical files, and keep existing directories​. Requires −H​. −−whiteouts Process whiteout files (Docker style)​. −−process−passthrough−whiteouts Enable overlayfs whiteout extraction into 0:0 character devices​. Overlayfs whiteouts are encoded inside ostree as ​.ostree−wh​.filename and extracted as 0:0 character devices​. This is useful to carry container storage embedded into ostree​. −−allow−noent Do nothing if specified path does not exist​. −−from−stdin Process many checkouts from standard input​. −−from−file="FILE" Process many checkouts from input file​. −−fsync="POLICY" POLICY is a boolean which specifies whether fsync should be used or not​. Default to true​. −−require−hardlinks, −H Do not fall back to full copies if hardlinking fails​. −−force−copy−zerosized, −z This option does nothing; the functionality is now always on by default​. −−force−copy, −C Never hardlink (but may reflink if available)​. −−bareuseronly−dirs, −M Suppress mode bits outside of 0775 for directories (suid, world writable, etc​.)​. −−skip−list="FILE" Skip checking out the absolute file paths listed in FILE, one per line​. −−selinux−policy Set SELinux labels based on policy in root filesystem PATH (may be /)​. This implies −−force−copy​.

EXAMPLE$ ostree checkout my−branch $ ls file1 ​ ​ ​ ​file2 ​ ​ ​ ​my−branch
0
Johanes Gumabo
Data Size   :   12,845 byte
man-ostree-checkout.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 238,284
Visitor ID   :     :  
Visitor IP   :   18.119.142.113   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.