DOKK / manpages / debian 10 / ostree / ostree-admin-init-fs.1.en
OSTREE ADMIN INIT-F(1) ostree admin init-fs OSTREE ADMIN INIT-F(1)

ostree-admin-init-fs - Initialize a new root filesystem

ostree admin init-fs [OPTIONS...] {PATH}

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.

$ mkdir /example

$ ostree admin init-fs /example

$ ls /example

boot   dev   home   ostree   proc   root   run   sys   tmp

OSTree