I was thinking about this and if the gases diffuse equally by the volume, the number of moles of molecules inside and outside the porous pots will be the same. But what is the pressure dependent on? Is it the number of moles or the Mr of the gases present in it?