add read disk partition code