Objective: how to add a light garlic flavor to dishes?

Which of the following solutions is more sound in terms of naive physics reasoning?

Available choices:
(I). run a garlic clove over a grater.;
(II). toss sliced garlic with parmesan cheese, and saute in olive oil.;
(I).