Say I have a small solid polymer container filled with gas A. The walls of the container are semi-permeable, so gas A on inside can't get through/out. On the outside, gas B at atmospheric pressure, which can migrate through the membranes of container. Pressure inside the container is 0,6 bar. Will gas diffusion of gas B from the outside to the inside bring the container up to 1,6 bar? Is the driving "force" here the partial pressure difference of gas B in- and outside or will gas B migrate inwards untill total pressure inside equals the total pressure outside and stop at 1 bar? And what if the solid container exerts a counter pressure because it wants to go back to its original state?