This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## Loopback Filesystem | |
# This script will create and mount a loopback filesystem | |
# Useful if you need to limit director(ies) by size | |
# but only have one volume | |
# This script needs to be run with sudo | |
LO_FILESYSTEM_NAME=my_loopback | |
LO_FILESYSTEM_MB_SIZE=5 |