class Sys::Filesystem::Mount

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

Attributes

dir[RW]

The mount point/directory.

dump_frequency[RW]

The dump frequency in days. May be nil.

freq[RW]

The dump frequency in days. May be nil.

frequency[R]

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

fsname[RW]

The name of the mounted resource.

mount_point[RW]

The mount point/directory.

mount_time[RW]

The time the filesystem was mounted. May be nil.

mount_type[RW]

The type of filesystem mount, e.g. ufs, nfs, etc.

name[RW]

The name of the mounted resource.

options[RW]

A list of comma separated options for the mount, e.g. nosuid, etc.

opts[RW]

A list of comma separated options for the mount, e.g. nosuid, etc.

pass_number[RW]

The pass number of the filessytem check. May be nil.

passno[RW]

The pass number of the filessytem check. May be nil.

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/sys/unix/sys/filesystem.rb, line 187
def initialize
  @name = nil
  @mount_point = nil
  @mount_type = nil
  @options = nil
  @mount_time = nil
  @dump_frequency = nil
  @pass_number = nil
end