  We study the grand-canonical ensemble with a fluctuating number of degrees of
freedom in the context of generalized thermostatistics. Several choices of
grand-canonical entropy functional are considered. The ideal gas is taken as an
example.
