Open madworx opened 6 years ago
Mounting another file system on top of initramfs works. (Although, /dev becoming empty was, of course, an issue)
minix# mount /dev/c0d0p0s0 /
/dev/c0d0p0s0 is mounted on /
minix# df -h
Filesystem Size Used Avail %Cap Mounted on
bootramdisk 336M 320M 16M 95% /
none 0B 0B 0B 100% /proc
none 0B 0B 0B 100% /sys
none 0B 0B 0B 100% /dev/pts
/dev/c0d0p0s0 128M 35M 93M 27% /
The current setup with a static qcow2 image is a bit clunky, does not utilize the underlying operating systems ability to expand etc.
To reach this goal, we'll need to ascertain the possibility to create a small net-boot or harddrive-based Minix distribution, which can boot enough to pivot the root file system to NFS.
The current Minix "ramdisk"-based solution packs the entire distribution (300Mbyte) into the ramdrive, occupying unnecessary RAM as well as docker image size.