a pig herder
Eumaios was the swineherd.
Odysseus' swineherd was loyal even though he thought Odysseus was dead. He helped him in the final battle.
Clue's in the name: herd pigs. Pigs were often kept in well-managed woodland, where they grazed on the acorns and in turn fertilized the soil.
He thought Odysseus was dead.