Class Rudy::Disk
In: lib/rudy/metadata/disk.rb
Parent: Storable

Methods

archive   backups   create   descriptors   destroy   mounted?   name   new   postprocess   raw?   to_s   valid?   volume_attach   volume_detach  

Included Modules

Rudy::Metadata Gibbler::Complex

Public Class methods

If one argument is supplied:

  • path is a an absolute filesystem path
  • opts is a hash of disk options.

If two arguments are supplied:

  • position
  • path is a an absolute filesystem path
  • opts is a hash of disk options.

Valid options are:

  • +:path+ is a an absolute filesystem path (overridden by path arg)
  • +:position+ (overridden by position arg)
  • +:size+
  • +:device+

Public Instance methods

sdb values are stored as strings. Some quick conversion.

[Validate]