Man page - rofiles-fuse(1)
Packages contains this manual
- ostree-admin-set-origin(1)
- ostree-diff(1)
- ostree-prepare-root(1)
- ostree-export(1)
- ostree-admin-deploy(1)
- ostree-admin-status(1)
- ostree-admin-cleanup(1)
- ostree-pull(1)
- ostree-pull-local(1)
- ostree-admin-os-init(1)
- ostree-admin-upgrade(1)
- ostree-ls(1)
- ostree-admin-config-diff(1)
- ostree-show(1)
- rofiles-fuse(1)
- ostree-rev-parse(1)
- ostree-init(1)
- ostree.repo-config(5)
- ostree-admin-switch(1)
- ostree-reset(1)
- ostree-commit(1)
- ostree(1)
- ostree-create-usb(1)
- ostree-config(1)
- ostree-refs(1)
- ostree-checkout(1)
- ostree-admin-unlock(1)
- ostree-gpg-sign(1)
- ostree-remote(1)
- ostree-admin-init-fs(1)
- ostree-log(1)
- ostree-checksum(1)
- ostree-admin-set-default(1)
- ostree-sign(1)
- ostree-admin-undeploy(1)
- ostree-fsck(1)
- ostree-admin-instutil(1)
- ostree-static-delta(1)
- ostree-summary(1)
- ostree-admin-stateroot-init(1)
- ostree-admin-post-copy(1)
- ostree.repo(5)
- ostree-admin-pin(1)
- ostree-find-remotes(1)
- ostree-prune(1)
- ostree-admin-lock-finalization(1)
- ostree-admin(1)
- ostree-cat(1)
apt-get install ostree
Manual
ROFILES-FUSE
NAMESYNOPSIS
DESCRIPTION
EXAMPLE: UPDATE AN OSTREE COMMIT
SEE ALSO
NAME
rofiles-fuse - Use FUSE to create a view where directories are writable, files are immutable
SYNOPSIS
|
rofiles-fuse SRCDIR MNTPOINT |
DESCRIPTION
Creating a checkout from an OSTree repository by default uses hard links, which means an in-place mutation to any file corrupts the repository and all checkouts. This can be problematic if one wishes to run arbitrary programs against such a checkout. For example, RPM %post scripts or equivalent.
In the case where one wants to create a tree commit derived from other content, using rofiles-fuse in concert with ostree commit --link-checkout-speedup (or the underlying API) can ensure that only new files are checksummed.
EXAMPLE: UPDATE AN OSTREE COMMIT
# Initialize a
checkout and mount
$ ostree --repo=repo checkout somebranch branch-checkout
$ mkdir mnt
$ rofiles-fuse branch-checkout mnt
# Now,
arbitrary changes to mnt/ are reflected in branch-checkout
$ echo somenewcontent > mnt/anewfile
$ mkdir mnt/anewdir
$ rm mnt/someoriginalcontent -rf
# Commit and
cleanup
$ fusermount -u mnt
$ ostree --repo=repo commit --link-checkout-speedup -b
somebranch -s 'Commit new content'
--tree=dir=branch-checkout
$ rm mnt branch-checkout -rf
SEE ALSO
ostree (1)