def make_fs(self):
        boto.log.info('make_fs...')
        has_fs = self.run('fsck %s' % self.device)
        if has_fs != 0:
            self.run('mkfs -t xfs %s' % self.device)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/boto-2.38.0/boto/pyami/installers/ubuntu/ebs.py/EBSInstaller.make_fs/original