Sha256: 22f5c8baa1772daa6ec476638e86029f37faa75ee25ce627e11bc94fde180405
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
class DriveCreator def initialize(device) @device = device.start_with? '/dev' ? device : "/dev/#{device}" end # clear partition table # create fat partition for both original and current kernel # create ext2 partition for squashfs.img (and configuration state, which doesn't have to be initialized) # create final partition which is mounted inside the system for persistant data end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ubnt-usg-restore-0.1.0 | lib/ubnt/usg/restore/drive_creator.rb |