Method: Specinfra::Command::Openbsd::Base::File.check_is_mounted

Defined in:
lib/specinfra/command/openbsd/base/file.rb

.check_is_mounted(path) ⇒ Object

[View source]

30
31
32
33
# File 'lib/specinfra/command/openbsd/base/file.rb', line 30

def check_is_mounted(path)
  regexp = "on #{path} "
  "mount | grep #{escape(regexp)}"
end