Kartoffelschmarrn is a traditional and Bavarian dish, resembling a savory potato pancake or scramble. It is made by grating raw potatoes and mixing them with eggs, flour, and seasonings such as salt and nutmeg. The mixture is then fried in a pan until golden brown, often with onions and sometimes with bacon or ham for added flavor.