Skip to content

Instantly share code, notes, and snippets.

@mbairagi85
Created March 13, 2019 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbairagi85/c68b4613430859494bd6f2cf87ddead9 to your computer and use it in GitHub Desktop.
Save mbairagi85/c68b4613430859494bd6f2cf87ddead9 to your computer and use it in GitHub Desktop.
# Remove the file, which belongs to the lower layer.
rm union/javascript
# File doesn't remove from the lower layer.
ls frontend/javascript
> ls frontend/javascript
# Union filesystem creates a whiteout file in upper layer,
# It blocks the visibility of the file.
ls -lh fullstack/upper/javascript
> c--------- 1 root root 0, 0 Mar 13 12:12 javascript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment