Class: Command::Fdisk

Inherits:
Object
  • Object
show all
Defined in:
lib/diskman/commands/fdisk.rb

Instance Method Summary collapse

Instance Method Details

#runObject



3
4
5
6
7
# File 'lib/diskman/commands/fdisk.rb', line 3

def run
    root_device = RootDevice.choose
    cmd = root_device.get_fdisk_command
    System.exec!(cmd, safe: false)
end