def _getDevMajorMinor(self, devpath):
fstat = os.stat(devpath)<EOL>if stat.S_ISBLK(fstat.st_mode):<EOL><INDENT>return(os.major(fstat.st_rdev), os.minor(fstat.st_rdev))<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>" % devpath)<EOL><DEDENT>
Return major and minor device number for block device path devpath.
        @param devpath: Full path for block device.
        @return:        Tuple (major, minor).