On first VM's boot, setup-rwdev.sh script create filesystem on /dev/xvdb. But it does so only after checking if /dev/xvdb is really empty, by comparing it to /dev/zero. Speed up reads from /dev/zero bu using larger blocks (default of head - 8k, instead of explicit 512). This speed up the check over 5 times. |
||
|---|---|---|
| .. | ||
| control-printer-icon.sh | ||
| functions | ||
| resize-rootfs-if-needed.sh | ||
| setup-rw.sh | ||
| setup-rwdev.sh | ||