To deal with mice, remove everything from the pack and open all zippers and velcro, let them scope it out and leave without issue. Or hang it, or sleep with it.

In some places a frisbee with a hole in it strung over the top of the food bag is needed to keep the small critters sliding down the rope out of a hung bag. They can't chew through it.

Even pepper spray will attract a bear - you have to get the stuff in the softer membranes of the face where it becomes an irritant for it to repel them.
_________________________
"In the beginner's mind there are many possibilities. In the expert's mind there are few." Shunryu Suzuki

http://hikeandbackpack.com