Created
August 27, 2019 04:40
-
-
Save kyujin-cho/bd7cf09cdba5ce4034016bef2f3c96f0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
lodevice=$(losetup -f) | |
dd if=/dev/zero of=xfs.img bs=1G count=8 | |
mkfs.xfs xfs.img | |
sudo losetup $lodevice xfs.img | |
sudo mkdir -p /xfs | |
sudo mount -o pquota $lodevice /xfs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment