parseudev._dm_uuid module

parseudev._dm_uuid

Parsing a DM_UUID.

In theory, these should be opaque, and for device-mapper only.

In practice, they are the only indications of the device-mapper subsystem available.

class parseudev._dm_uuid.DMUUIDParse

Bases: parseudev._shared.parse.SimpleParse

Parse a DM_UUID.

It consists of a subsystem identifier, which only contains characters, and a “rest”, which could be anything. Properly speaking, this is not a correct grammar, but it should work on existing UUIDs.

parse(value)

Table Of Contents

Previous topic

parseudev._devlink module

Next topic

parseudev._id_path module

This Page