VolumeVerb

struct VolumeVerb : public PartitionVerb

Used for verbs that need a volume to be loaded.

Inheriting from this verb lets you implement a handler that is given an apfs::volume, which this class loads from command-line arguments.

Subclassed by CatVerb, LsVerb, ReadLinkVerb

Note

For verbs that inherit from this class, you may need to specify a partition and a volume:

apfs ls /dev/rdisk4 --path / --partition 1849D6CC-9C08-4AAF-84D5-3A792680BB38 --volume TestAPFS

To find these, use diskinfo and info respectively.