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 "# Default /etc/vfstab\n# Supplied by: \#{PKG_NAME}-\#{PKG_VERSION}-\#{PKG_RELEASE}\n#device         device          mount           FS      fsck    mount   mount\n#to mount       to fsck         point           type    pass    at boot options\n#\nfd      -       /dev/fd fd      -       no      -\n/proc   -       /proc   proc    -       no      -\n/dev/dsk/c0d0s1 -       -       swap    -       no      -\n/dev/dsk/c0d0s0 /dev/rdsk/c0d0s0        /       ufs     1       no      -\n/dev/dsk/c0d1s0 /dev/rdsk/c0d1s0        /mnt    ufs     2       no      -\n/devices        -       /devices        devfs   -       no      -\nsharefs -       /etc/dfs/sharetab       sharefs -       no      -\nctfs    -       /system/contract        ctfs    -       no      -\nobjfs   -       /system/object  objfs   -       no      -\nswap    -       /tmp    tmpfs   -       yes     -\n"
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