I want to install a backup drain for a bathroom where there might be overflow onto the floor. The problem is how to seal that drain against sewer gas. The usual P-trap cannot be used because the drain will ordinarily never be used. It is just there in case of an unusual overflow condition, like someone flooding a sink for example.
How can I seal the drain from sewer gas?