python-volumeid
A Python extension for libvolume_id (read filesystem label and uuid)
Packages for Debian Sid (i386|amd64)
Synopsis
NAME
volumeid
FILE
/usr/lib/python2.5/site-packages/volumeid.so
DESCRIPTION
volumeid defines a single class, VolId, that must be instantiated
with the pathname of a block device.
Once a VolId object has been instantiated, it may call several
helper methods to query volume properties of the block device.
If an error occurs, a volumeid.error exception is raised.
CLASSES
__builtin__.object
VolId
exceptions.Exception(exceptions.BaseException)
error
class VolId(__builtin__.object)
| Methods defined here:
|
| __delattr__(...)
| x.__delattr__('name') <==> del x.name
|
| __getattribute__(...)
| x.__getattribute__('name') <==> x.name
|
| __init__(...)
| x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
| __setattr__(...)
| x.__setattr__('name', value) <==> x.name = value
|
| label(...)
| Return volume label string.
|
| label_enc(...)
| Return encoded volume label string.
|
| type(...)
| Return volume type string.
|
| type_version(...)
| Return volume type version string.
|
| usage(...)
| Return volume usage string.
|
| uuid(...)
| Return volume uuid string.
|
| uuid_enc(...)
| Return encoded volume uuid string.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| dev
| Device node path.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __new__ = <built-in method __new__ of type object at 0x2aedbd2784a0>
| T.__new__(S, ...) -> a new object with type S, a subtype of T
class error(exceptions.Exception)
| Method resolution order:
| error
| exceptions.Exception
| exceptions.BaseException
| __builtin__.object
|
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object (if defined)
|
| ----------------------------------------------------------------------
| Methods inherited from exceptions.Exception:
|
| __init__(...)
| x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from exceptions.Exception:
|
| __new__ = <built-in method __new__ of type object at 0x71c480>
| T.__new__(S, ...) -> a new object with type S, a subtype of T
|
| ----------------------------------------------------------------------
| Methods inherited from exceptions.BaseException:
|
| __delattr__(...)
| x.__delattr__('name') <==> del x.name
|
| __getattribute__(...)
| x.__getattribute__('name') <==> x.name
|
| __getitem__(...)
| x.__getitem__(y) <==> x[y]
|
| __getslice__(...)
| x.__getslice__(i, j) <==> x[i:j]
|
| Use of negative indices is not supported.
|
| __reduce__(...)
|
| __repr__(...)
| x.__repr__() <==> repr(x)
|
| __setattr__(...)
| x.__setattr__('name', value) <==> x.name = value
|
| __setstate__(...)
|
| __str__(...)
| x.__str__() <==> str(x)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from exceptions.BaseException:
|
| __dict__
|
| args
|
| message
| exception message
