A model of fluids absorbed in a pore with walls patterned with parallel cha
nnels is used to demonstrate some of the unity that can be proved to hold b
etween the statistical mechanics of fluids absorbed in structured pores and
of fluids adsorbed at unstructured walls and at edges/ wedges where walls
meet. In particular, the work done to reversibly shear a corrugated pore im
mersed in liquid is related to the difference in the density profile struct
ure of liquid adsorbed near the edges of the channels. When the channel dim
ensions are mesoscopic or macroscopic but the minimum pore width is microsc
opic, statistical mechanics generates remarkable links between the surface
tension of planar wall-fluid interfaces or, more generally, the solvation f
ree energy of a planar pore, and the density profile at the sides of a chan
nel wall in the vicinity of edges and wedges.