Class: EC2::Platform::Solaris::Fstab

Inherits:
Linux::Fstab show all
Defined in:
lib/ec2/platform/solaris/fstab.rb

Constant Summary collapse

LOCATION =
'/etc/vfstab'
DEFAULT =
IO.read(File.join('/etc', 'vfstab')) rescue <<TEXT
# Default /etc/vfstab
# Supplied by: #{PKG_NAME}-#{PKG_VERSION}-#{PKG_RELEASE}
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c0d0s1 -       -       swap    -       no      -
/dev/dsk/c0d0s0 /dev/rdsk/c0d0s0        /       ufs     1       no      -
/dev/dsk/c0d1s0 /dev/rdsk/c0d1s0        /mnt    ufs     2       no      -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
TEXT
LEGACY =

here for compatibility reasons

:legacy

Constants included from EC2Version

EC2Version::COPYRIGHT_NOTICE, EC2Version::MANIFEST_CLASS, EC2Version::MANIFEST_VERSION, EC2Version::PKG_NAME, EC2Version::PKG_RELEASE, EC2Version::PKG_VERSION

Instance Attribute Summary

Attributes inherited from Linux::Fstab

#entries

Instance Method Summary collapse

Methods inherited from Linux::Fstab

load

Methods included from EC2Version

version_copyright_string

Constructor Details

#initialize(filename = LOCATION) ⇒ Fstab

Returns a new instance of Fstab.



18
19
20
# File 'lib/ec2/platform/solaris/fstab.rb', line 18

def initialize(filename = LOCATION)
  super filename          
end