Class: CzSystemInfo::Filesystem::Mount
- Inherits:
-
Object
- Object
- CzSystemInfo::Filesystem::Mount
- Defined in:
- lib/cz_system_info/filesystem.rb
Overview
Mount objects are returned by the CzSystemInfo::Filesystem.mounts method.
Instance Attribute Summary collapse
-
#dump_frequency ⇒ Object
(also: #freq)
The dump frequency in days.
-
#mount_point ⇒ Object
(also: #dir)
The mount point/directory.
-
#mount_time ⇒ Object
The time the filesystem was mounted.
-
#mount_type ⇒ Object
The type of filesystem mount, e.g.
-
#name ⇒ Object
(also: #fsname)
The name of the mounted resource.
-
#options ⇒ Object
(also: #opts)
A list of comma separated options for the mount, e.g.
-
#pass_number ⇒ Object
(also: #passno)
The pass number of the filessytem check.
Instance Method Summary collapse
-
#initialize ⇒ Mount
constructor
Creates a CzSystemInfo::Filesystem::Mount object.
Constructor Details
#initialize ⇒ Mount
Creates a CzSystemInfo::Filesystem::Mount object. This is meant for internal use only. Do no instantiate directly.
189 190 191 192 193 194 195 196 197 |
# File 'lib/cz_system_info/filesystem.rb', line 189 def initialize @name = nil @mount_point = nil @mount_type = nil = nil @mount_time = nil @dump_frequency = nil @pass_number = nil end |
Instance Attribute Details
#dump_frequency ⇒ Object Also known as: freq
The dump frequency in days. May be nil.
175 176 177 |
# File 'lib/cz_system_info/filesystem.rb', line 175 def dump_frequency @dump_frequency end |
#mount_point ⇒ Object Also known as: dir
The mount point/directory.
163 164 165 |
# File 'lib/cz_system_info/filesystem.rb', line 163 def mount_point @mount_point end |
#mount_time ⇒ Object
The time the filesystem was mounted. May be nil.
172 173 174 |
# File 'lib/cz_system_info/filesystem.rb', line 172 def mount_time @mount_time end |
#mount_type ⇒ Object
The type of filesystem mount, e.g. ufs, nfs, etc.
166 167 168 |
# File 'lib/cz_system_info/filesystem.rb', line 166 def mount_type @mount_type end |
#name ⇒ Object Also known as: fsname
The name of the mounted resource.
160 161 162 |
# File 'lib/cz_system_info/filesystem.rb', line 160 def name @name end |
#options ⇒ Object Also known as: opts
A list of comma separated options for the mount, e.g. nosuid, etc.
169 170 171 |
# File 'lib/cz_system_info/filesystem.rb', line 169 def end |
#pass_number ⇒ Object Also known as: passno
The pass number of the filessytem check. May be nil.
178 179 180 |
# File 'lib/cz_system_info/filesystem.rb', line 178 def pass_number @pass_number end |