Class: Mountfd::MountInfo
- Inherits:
-
Data
- Object
- Data
- Mountfd::MountInfo
- Defined in:
- lib/mountfd/mount_info.rb,
sig/mountfd.rbs
Instance Attribute Summary collapse
-
#attrs ⇒ Object
readonly
Returns the value of attribute attrs.
-
#dev_major ⇒ Object
readonly
Returns the value of attribute dev_major.
-
#dev_minor ⇒ Object
readonly
Returns the value of attribute dev_minor.
-
#fs_type ⇒ Object
readonly
Returns the value of attribute fs_type.
-
#mnt_id ⇒ Object
readonly
Returns the value of attribute mnt_id.
-
#mnt_root ⇒ Object
readonly
Returns the value of attribute mnt_root.
-
#mount_point ⇒ Object
readonly
Returns the value of attribute mount_point.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#parent_id ⇒ Object
readonly
Returns the value of attribute parent_id.
-
#propagation ⇒ Object
readonly
Returns the value of attribute propagation.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
Instance Attribute Details
#attrs ⇒ Object (readonly)
Returns the value of attribute attrs
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def attrs @attrs end |
#dev_major ⇒ Object (readonly)
Returns the value of attribute dev_major
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def dev_major @dev_major end |
#dev_minor ⇒ Object (readonly)
Returns the value of attribute dev_minor
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def dev_minor @dev_minor end |
#fs_type ⇒ Object (readonly)
Returns the value of attribute fs_type
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def fs_type @fs_type end |
#mnt_id ⇒ Object (readonly)
Returns the value of attribute mnt_id
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def mnt_id @mnt_id end |
#mnt_root ⇒ Object (readonly)
Returns the value of attribute mnt_root
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def mnt_root @mnt_root end |
#mount_point ⇒ Object (readonly)
Returns the value of attribute mount_point
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def mount_point @mount_point end |
#options ⇒ Object (readonly)
Returns the value of attribute options
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def @options end |
#parent_id ⇒ Object (readonly)
Returns the value of attribute parent_id
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def parent_id @parent_id end |
#propagation ⇒ Object (readonly)
Returns the value of attribute propagation
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def propagation @propagation end |
#source ⇒ Object (readonly)
Returns the value of attribute source
4 5 6 |
# File 'lib/mountfd/mount_info.rb', line 4 def source @source end |
Instance Method Details
#idmapped? ⇒ Boolean
8 |
# File 'lib/mountfd/mount_info.rb', line 8 def idmapped? = attrs.include?(:idmap) || .include?("idmapped") |
#readonly? ⇒ Boolean
9 |
# File 'lib/mountfd/mount_info.rb', line 9 def readonly? = attrs.include?(:rdonly) || .include?("ro") |