Skip to content

created dm device does not show up under /dev/mapper/name #520

Answered by mulkieran
adashofme asked this question in Q&A
Discussion options

You must be logged in to vote

@adashofme If you're interested in programming dm-crypt in Rust you might want to look at the libcryptsetup bindings here[1]. These are bindings for the libcryptsetup library. We chose to use these bindings in stratisd, instead of directly creating the dm-crypt device, because cryptsetup incorporates a signficant layer of encryption management that we did not want to duplicate in stratisd. For this reason, we were never motivated to add a DmCrypt layer to the devicemapper library.

The additional links that might be created for a dm-crypt device are dependent on the specifics of your machine, so it is hard for me to say whether you should be concerned or not.

[1] https://github.com/stratis…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adashofme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #518 on September 29, 2022 11:08.