jackfruit

I've heard that durians (a.k.a. jackfruit) are so smelly that they are banned from being carried on public transportation in some parts of Australia. My wonder has always been, "If something smells that badly, how did people manage to find out it was edible, and more to the point, why did they want to?"