Information about partitions

Which tool or command can i use to determine which local harddrives and
thereon partitions -their type too- exists ?
Even if they are not mounted.

I would like to use it on a console, further in a script to un/mount these
partition at time of need.

Thanx in advance