combined both our opendisk functions

next time please, lets settle who does what.