Comment 10 for bug 492301

Revision history for this message
Marian Sigler (maix42) wrote :

dach: Are you sure? This is the code that creates the persistence image:

Hardy:
        popen(['dd', 'if=/dev/zero', 'of=%s/casper-rw' % target, 'bs=1M', 'count=%s' % persist])
        popen(['mkfs.ext3', '-F', '%s/casper-rw' % target])

Lucid:
        dd_cmd = ['dd', 'if=/dev/zero', 'bs=1M', 'of=%s' %
                      os.path.join(str(self.target), 'casper-rw'),
                      'count=%d' % self.persist]
                mkfs_cmd = ['mkfs.ext3', '-F', '%s/casper-rw' % str(self.target)]

Except some windows compatibility changes that's both the same.