我可以用这个 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()