Q.Is this onion or a bulb plant?
These surround my house and have been here years. They grow long stalks that have white flowers at the ends. They don’t smell garlicky, can’t tell if it smells oniony or not.
Certified GKH Gardening Expert
If they were onions, they would smell like onions. Plus, onions wouldn't come back every year. The closest I can find without a photo of the actual bloom is perhaps the "pregnant onion," Albuca bracteata, but it is usually grown as a houseplant. I would suggest calling your local cooperative extension agent as they would be familiar with what is growing in your area.