command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 2, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
overlayctl
An overlayfs controller
About overlayfs: https://www.kernel.org/doc/Documentation/filesystems/overlayfs.txt
Usage
Commands:
mount [-ro] <bottom0> ...<bottomN> <top> <workdir>;
unmount [<top>] <workdir>;
merge <bottom0> ...<bottomN> <dest> <source> <path>
Example:
Create a simple 2-layer filesystem:
overlayctl mount test/lower test/upper /mnt/workdir
Create a 3-layer read-only filesystem:
overlayctl mount -ro bottom middle top /mnt/workdir2
Unmount it:
overlayctl unmount /mnt/workdir2
Unmount it and delete temporary directory (test/upper.tmp):
overlayctl unmount test/upper /mnt/workdir
Merge a directory from middle to bottom1 layer:
overlayctl merge bottom0 bottom1 middle /file/to/merge
Do not use merge
to change an online(mounted) filesystem.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.