この Python プログラムでクローンできますsda
か?sdb
filein = open('/dev/sda', 'rb')
fileout = open('/dev/sdb', 'wb')
while True:
tmp = filein.read(100000)
fileout.write(tmp)
filein.close()
fileout.close()
この Python プログラムでクローンできますsda
か?sdb
filein = open('/dev/sda', 'rb')
fileout = open('/dev/sdb', 'wb')
while True:
tmp = filein.read(100000)
fileout.write(tmp)
filein.close()
fileout.close()