wagoodman/tar-overlay là dự án mã nguồn mở trên GitHub, viết chủ yếu bằng Shell, với 19 sao. A shell script which creates and manages named overlayfs mounts backed by the contents from tar files.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
A shell script which creates and manages named overlayfs mounts backed by the contents from tar files.
Note: this is a work in progress, so it is not stable yet.
Example
Given a tar with a set of files, create two independent scratch 'instances' where you can add, modify,
and delete files that can be reverted on command:
The motivation for this was to take a read-only directory tree and make several
read-write 'instances' of that directory tree, where changes made in each instance would
not affect files in the other instances. Furthermore, there were benefits with
having the functionality to restore any instance to the original directory tree,
as if no modifications were done. This could all be done by making copies of the
tar contents for each instance, however, some of these directory trees were 1 GB
or more in size and only a few files are modified between all of the instances.
Docker provides almost the same functionality via dockerfiles, however, I am
not using docker for this project... so building and managing images this way seemed
awkward if I wasn't planning to use docker for containers. Instead, since overlayfs
has been integrated into the kernel and a wrapper script seemed simple enough to
make, tar-overlay was born!
Usage
tar-overlay [command] [options]
Image commands:
install-image <tar-file> Take the given tar and make it available as in immutable image.
list-images List all known images.
Overlay Commands:
create <name> <image-name> Instantiate an image (make an instance).
list List image instantiations.
mount <name> Mount an instantiation for use.
mount-all Mount all overlays.
info <name> Show all information regardin the given overlay name.
rename <name> <new name> Rename the given instantiation.
reset <name> Undo all changes made to original image.
show-changes <name> Show a tree of all modified files
status <name> Shows if the given overlay is mounted.
umount <name> Unmount an instantiation.
umount-all Unmount all overlays.
Future Commands:
rename-image <iamge-name> Rename the given image.
delete-image <image-name> Delete the given image.
mount-image Mounts an image directly (not advised).
umount-image Unmounts a directly mounted image.
delete <name> Delete the given instantiation.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/wagoodman/tar-overlay là nguồn chính thức.
wagoodman/tar-overlay có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho wagoodman/tar-overlay. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
wagoodman/tar-overlay là gì?
wagoodman/tar-overlay (wagoodman/tar-overlay) là dự án Shell trên GitHub. Theo mô tả gốc: A shell script which creates and manages named overlayfs mounts backed by the contents from tar files.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về tar-overlay?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về tar-overlay.