Hands-on task
A filesystem in an image file
There's no spare partition on hand — a filesystem can be created right inside an ordinary image file. Create a file /root/disk.img 30 MiB in size and format it as ext4. There's no need to mount it (under gVisor it wouldn't work anyway) — it's enough for the image to hold a filesystem.
- FS image
- mkfs.ext4
- image file
- formatting
- ext4