Man page - ostree-admin-init-fs(1)
Packages contas this manual
- ostree-admin-stateroot-init(1)
- ostree-admin-unlock(1)
- ostree-init(1)
- ostree-pull(1)
- ostree-refs(1)
- ostree-commit(1)
- ostree-gpg-sign(1)
- ostree.repo-config(5)
- ostree-admin-undeploy(1)
- ostree-fsck(1)
- ostree(1)
- ostree-admin-status(1)
- ostree-export(1)
- ostree-config(1)
- ostree-admin-pin(1)
- ostree.repo(5)
- rofiles-fuse(1)
- ostree-create-usb(1)
- ostree-summary(1)
- ostree-log(1)
- ostree-admin-config-diff(1)
- ostree-checksum(1)
- ostree-checkout(1)
- ostree-admin-lock-finalization(1)
- ostree-admin(1)
- ostree-sign(1)
- ostree-pull-local(1)
- ostree-admin-cleanup(1)
- ostree-reset(1)
- ostree-ls(1)
- ostree-admin-set-origin(1)
- ostree-admin-init-fs(1)
- ostree-show(1)
- ostree-cat(1)
- ostree-admin-instutil(1)
- ostree-prune(1)
- ostree-remote(1)
- ostree-admin-os-init(1)
- ostree-prepare-root(1)
- ostree-admin-set-default(1)
- ostree-rev-parse(1)
- ostree-admin-post-copy(1)
- ostree-admin-upgrade(1)
- ostree-admin-switch(1)
- ostree-static-delta(1)
- ostree-diff(1)
- ostree-admin-deploy(1)
- ostree-find-remotes(1)
apt-get install ostree
Manual
| OSTREE ADMIN INIT-F(1) | ostree admin init-fs | OSTREE ADMIN INIT-F(1) |
NAME
ostree-admin-init-fs - Initialize a new root filesystem
SYNOPSIS
ostree admin init-fs [OPTIONS...] {PATH}
DESCRIPTION
Initialize an empty physical root filesystem in the designated PATH, with normal toplevels and correct permissions for each directory. Primarily useful for operating system installers.
OPTIONS
--modern
--epoch
When set to 1, the command will skip adding a number of toplevel "API filesystems" such as /proc to the toplevel of the physical root. These should be unnecessary, as they should only be mounted in the final deployment root. The main exception is /boot, which may need to be mounted in some setups before the target root.
Epoch 2 is the same as 1, except that the toplevel ostree directory is mode 0700, denying access from unprivileged code. This is a new recommended best practice as it avoids access to old configuration files in /etc in previous deployments, as well as potentially old setuid binaries in /ostree/repo.
EXAMPLE
$ mkdir /example
$ ostree admin init-fs --epoch=1 /example
$ ls /example
boot
| OSTree |