search for: dev_null

Displaying 1 result from an estimated 1 matches for "dev_null".

Did you mean: dev_null_r
2009 Sep 22
1
[PATCH] edit-livecd in python
...emp(dir = os.path.abspath(self.tmpdir), prefix = self.name + "-") + return self._LoopImageCreator__imagedir + "/ext3fs.img" + _image = property(__get_image) + """The location of the image file""" + + + def _get_fstype(self): + dev_null = os.open("/dev/null", os.O_WRONLY) + try: + out = subprocess.Popen(["/sbin/blkid", self._image], + stdout = subprocess.PIPE, + stderr = dev_null).communicate()[0] + for word in out....