35 lines
752 B
Plaintext
35 lines
752 B
Plaintext
|
lyr
|
||
|
====
|
||
|
|
||
|
an abbreviation of "layer."
|
||
|
|
||
|
maintains a repository of overlayfs upper directories, work directories, and
|
||
|
mount paths at LYRREPO. simplifies mounting, unmounting, creating, and
|
||
|
deleting layers.
|
||
|
|
||
|
62 ELOC.
|
||
|
|
||
|
usage: lyr.sh [command] <layer name>
|
||
|
|
||
|
commands:
|
||
|
workdir
|
||
|
returns the work directory path for the layer.
|
||
|
|
||
|
upperdir
|
||
|
returns the upper directory path for the layer.
|
||
|
|
||
|
mountdir
|
||
|
returns the mount directory path for the layer.
|
||
|
|
||
|
mk
|
||
|
create a new layer with the given name.
|
||
|
|
||
|
rm
|
||
|
unmount and delete the layer with the given name.
|
||
|
|
||
|
up [<lower path>[:<lower path>]]
|
||
|
mount the given layer with the given lower paths. print the mount path.
|
||
|
|
||
|
dn
|
||
|
unmount the given layer.
|