The confinement of polymer melts in nanoscopic pores leads to chain dynamics significantly different from bulk behaviour. This so-called 'corset effect' occurs both above and below the critical molecular mass and induces dynamic features as predicted for reptation. The confined-to-bulk dynamics crossover is treated analytically on the basis of general thermodynamic relations connected to the fluctuation of the number of particles (Kuhn segments) in a given volume. Bulk behaviour is shown to occur only if the pore diameter complies with the limit dpore ≫ (b3/k BTκT )1/3RF ≈ 10R F , where b is the Kuhn segment length, κT the isothermal compressibility, T the temperature, kB the Boltzmann constant and RF the Flory radius. For smaller pores, the confined polymer chains reptate along their own contours in tubes with an effective diameter d ≈ √b2ρskBTκ T ≈ 0.5 nm, where ρs is the number density of Kuhn segments. From the theoretical point of view, the crucial factors on which the corset effect is based are (i) impenetrable pore walls, (ii) low compressibility and (iii) the uncrossability of polymer chains