lib/fstab/hybrid.rb
# The swap UUID based on the lvm volume /dev/vg/swap
The swap UUID based on the lvm volume /dev/vg/swap
The swap UUID based on the lvm volume / dev / vg / swap
def write_swap
      if Helpers.runit? or Helpers.systemd?
        echo_a @conf, "/dev/mapper/swap-#{@luks} none swap sw 0 0"
      else
        dm = Getch::Helpers.get_dm "#{@vg}-swap"
        uuid = Getch::Helpers.uuid dm
        line = "UUID=#{uuid} none swap sw 0 0"
        echo_a @conf, line
      end
    end
def write_swap if Helpers . runit? or Helpers . systemd? echo_a @conf , "/dev/mapper/swap-#{@luks} none swap sw 0 0" else dm = Getch :: Helpers . get_dm "#{@vg}-swap" uuid = Getch :: Helpers . uuid dm line = "UUID=#{uuid} none swap sw 0 0" echo_a @conf , line end end
The swap UUID based on the lvm volume /dev/vg/swap
The swap UUID based on the lvm volume / dev / vg / swap
# The both use /etc/crypttab