module Facter::Util::Partitions
Constants
- IMPLEMENTATIONS
Public Class Methods
available?()
click to toggle source
# File lib/facter/util/partitions.rb, line 44 def self.available? !self.list.empty? end
filesystem(partition)
click to toggle source
# File lib/facter/util/partitions.rb, line 36 def self.filesystem(partition) implementation.filesystem(partition) end
implementation()
click to toggle source
# File lib/facter/util/partitions.rb, line 16 def self.implementation IMPLEMENTATIONS[Facter.fact(:kernel).value] || NoImplementation end
label(partition)
click to toggle source
# File lib/facter/util/partitions.rb, line 40 def self.label(partition) implementation.label(partition) end
list()
click to toggle source
# File lib/facter/util/partitions.rb, line 20 def self.list implementation.list end
mount(partition)
click to toggle source
# File lib/facter/util/partitions.rb, line 32 def self.mount(partition) implementation.mount(partition) end
size(partition)
click to toggle source
# File lib/facter/util/partitions.rb, line 28 def self.size(partition) implementation.size(partition) end
uuid(partition)
click to toggle source
# File lib/facter/util/partitions.rb, line 24 def self.uuid(partition) implementation.uuid(partition) end