By no means all onions and garlics smell "oniony" - as John knows well! These plants of Allium flavum var. minus, flowering in a pot under glass in the UK, have a really sweet fragrance. It's a pretty little plant; the seeds I grew these from came from Mt Olympus in Greece (via Gothenburg Bot Garden), and the variety is also found in Turkey, while small forms of A. flavum crop up elsewhere in southern Europe; the yellow colouring is rather variable, and I think some good colour forms may have been selected. The flowers in my pot range from 10 to 20 cm high.
A distinctive feature is that the stems and often leaves look blue-green, at least when they first show - the colour is actually a dense powder, which rubs away easily.
My plants are grown under a more or less Mediterranean regime, but get water later into summer than they would at low altitudes around the Med - I dare not plant them out in our hot dry Greek garden.