Sha256: a49550e8608f0ae2763e2a1c626eef532516f9d8ea788155da572d9c93b08658
Contents?: true
Size: 678 Bytes
Versions: 2
Compression:
Stored size: 678 Bytes
Contents
module Getch module FileSystem module Ext4 module Encrypt class Format < Getch::FileSystem::Ext4::Encrypt::Device def initialize super @fs = 'ext4' @state = Getch::States.new() format end def format return if STATES[:format] puts "Format #{@disk} with #{@fs}" system("mkfs.fat -F32 #{@dev_boot_efi}") if Helpers::efi? system("mkswap #{@lv_swap}") system("mkfs.#{@fs} #{@lv_root}") system("mkfs.#{@fs} #{@lv_home}") if @lv_home @state.format end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
getch-0.0.8 | lib/getch/filesystem/ext4/encrypt/format.rb |
getch-0.0.7 | lib/getch/filesystem/ext4/encrypt/format.rb |