Booting with multiple squashfs files

Asked by Daniel

AFAIK, Casper supports booting when there is more than one squashfs file in the casper directory. At least, this _was_ supported under Ubuntu trusty which used aufs as union file system. Then there came utopic, wily, vivid which switched to overlayfs. This file system didn't support layering more than one ro sources in its early versions so that this feature didn't work anymore. The code in the casper script looks like a work-around about this by stacked mounting multiple overlayfs. Unfortunately, I've never seen a version of overlayfs which supported another overlayfs as source.

Since kernel 3.19, overlayfs officially supports multiple layers (http://www.phoronix.com/scan.php?page=news_item&px=MTg1Nzg), so it's time to rewrite this piece of code in the casper script.

Fully-working patch attached.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu casper Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel
Solved:
Last query:
Last reply:
Revision history for this message
Daniel (hackie) said :
#1

Oops, should by a bug, not a question. CLOSED