canonical / canonical/secboot

Add go native device mapper library

Open
#423 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
23
Forks
29
Avg merge
2d 8h
Merged PRs (30d)
2

Description

I'm currently working on some code that is querying the device mapper subsystem using the `dmsetup` command. I'm not a huge fan of parsing commandline output and believe this sort of thing inevitably results in regressions later on as the format of commandline arguments generally don't have stability guarantees. They are also affected by locale.

The device mapper subsystem is driven using `ioctl`s on `/dev/mapper/control` and is fairly well documented in the kernel. It shouldn't be too hard for us to provide a native go library that does this for us.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.