How to Encrypt Your Data with dm-crypt Proposed Changes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 1.2k
- Avg merge
- 9m
- Merged PRs (30d)
- 1
Description
Link: https://linode.com/docs/security/encrypt-data-disk-with-dm-crypt/
## Issue
The section titled "How to Map Whole Disks, Partitions and Files" does not describe how to do those things. It claims these things can be done, but does not show how to do it.
It has the user allocate 10GB of memory from their boot partition in the example. In my use case 10GB was larger than the partition, causing fallocate to consume the entire disk, making it unusable. (until I read some man pages and figured out how to use the punch flag)
## Suggested Fix
Maybe remove it? I found the rest of the guide usable as soon as I realized I could skip this part. Perhaps fleshing it out would be better. I still don't know how to do what it says.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked dm-crypt guide and inspect the section titled “How to Map Whole Disks, Partitions and Files,” including its fallocate example. Confirm whether the section should be removed or expanded, and ensure the final guidance explains the operation without risking a boot partition being consumed by the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- documentation, operating-systems
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100