Like OBG, I've camped backcountry in Yosemite lots and never seen a bear (only a mountain lion). Cook away from sleeping area, store food in lockers and canisters, etc. Might want to change the shirt you cooked in before bed, especially if you spilled something on it. And for added insurance you can always buy bear mace (and a holster) and keep it handy. When hiking, food in your daypack is fine, just remember to remove left-over gorp and food wrappers at night and put your pack away from the tent. And if you're hiking into dense brush with limited visibility, make ample noise so the critters know you're coming. Have fun.