The dynamics at the edge of fusion connement devices is driven by interchange instabilities and involves the motion of plasma across two regions the`core region' and the scrape-o layer (SOL), distinguished by whether eld lines are, respectively, closed or connected to the wall. Motivated by this phenomenon, we present an extensive linear stability analysis of a two-layer plasma model encompassing the coupled interactions between the region with closed eld lines and the SOL. We focus on the eect of varying the particle diusivity and ion viscosity, revealing the signicant variation in the spatial structure of the critical modes. In addition, we have investigated the dependence of the stability threshold on the ratio of the width of the region with closed eld lines to that of the SOL; this dependence is strong when the ratio is suciently small, but becomes insignicant once the ratio is of order unity. I.