Parent

Methods

Sys::Filesystem::Mount

Mount objects are returned by the Sys::Filesystem.mounts method.

Attributes

dir[RW]

The volume mount point, e.g. 'C:'

dump_frequency[RW]

The dump frequency in days. May be nil.

freq[RW]

Always nil on MS Windows. Provided for interface compatibility only.

frequency[R]

Always nil on MS Windows. Provided for interface compatibility only.

fsname[RW]

The name of the volume. This is the device mapping.

mount_point[RW]

The volume mount point, e.g. 'C:'

mount_time[RW]

The last time the volume was mounted. For MS Windows this equates to your system's boot time.

mount_type[RW]

The type of mount, e.g. NTFS, UDF, etc.

name[RW]

The name of the volume. This is the device mapping.

options[RW]

Various comma separated options that reflect the volume's features

opts[RW]

Various comma separated options that reflect the volume's features

pass_number[RW]

Always nil on MS Windows. Provided for interface compatibility only.

passno[RW]

Always nil on MS Windows. Provided for interface compatibility only.

Public Class Methods

new() click to toggle source

Creates a Sys::Filesystem::Mount object. This is meant for internal use only. Do no instantiate directly.

# File lib/unix/sys/filesystem.rb, line 358
def initialize
  @name = nil
  @mount_point = nil
  @mount_type = nil
  @options = nil
  @mount_time = nil
  @dump_frequency = nil
  @pass_number = nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.