class Specinfra::Command::Linux::Base::Fstab

Public Class Methods

check_has_entry(mount_point) click to toggle source
# File lib/specinfra/command/linux/base/fstab.rb, line 3
def check_has_entry(mount_point)
  %Q(awk '{if($2=="#{escape(mount_point)}")print}' /etc/fstab | grep -v '^[[:space:]]*#')
end
Also aliased as: get_entry
get_entry(mount_point)
Alias for: check_has_entry