Our boar Ben always rubs his bum on fresh shavings.looks quite comical when he does it.
When we had rabbits they marked their stuff with chin rubs as their scent glands are under their chin,but they also sprayed, A LOT, our bucks always managed to get my wife on her shoes and trousers and one even got me full in the face !