The best place to do this, I think, would be in a check.d script in partman-target that calls all the mount.d scripts in the same sequence as finish.d/mount_partitions (which would involve splitting out a helper script) and has some kind of resolution system if that goes wrong.
I agree with this.
The best place to do this, I think, would be in a check.d script in partman-target that calls all the mount.d scripts in the same sequence as finish. d/mount_ partitions (which would involve splitting out a helper script) and has some kind of resolution system if that goes wrong.