Go to file
yafox 9496ca6b47
fix license: fox => yafox
2020-11-25 06:07:38 +00:00
LICENSE fix license: fox => yafox 2020-11-25 06:07:38 +00:00
README initial commit 2020-11-25 06:05:22 +00:00
lyr.sh initial commit 2020-11-25 06:05:22 +00:00
makefile initial commit 2020-11-25 06:05:22 +00:00
sloc.sh initial commit 2020-11-25 06:05:22 +00:00

README

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.