Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107948 - /etc/conf.d/cryptfs should automatically bind regular files to loop devices when setting up dm-crypted devices
Summary: /etc/conf.d/cryptfs should automatically bind regular files to loop devices w...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Benjamin Smee (strerror) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 18:49 UTC by postmodern
Modified: 2005-11-25 11:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postmodern 2005-10-02 18:49:52 UTC
When specifying a source='/some_file' it would be conveniant for cryptfs to find
a free loop devices, bind the file to it and then call cryptsetup with that
device. This would allow users to setup crypted filesystems inside files in an
automated fashion.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 postmodern 2005-10-03 01:20:08 UTC
After looking at the recent comments in the file there is the loop_file option,
but is there a way for cryptfs to automatically find and use the next free loop
device?
Comment 2 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-11-25 11:04:40 UTC
currently not there is not, it would need to be specified. There is nothing
stopping you from what you have originally stated doing, as you can set it up by
specifying each mount that you want to do. I would accept patches for this, but
right now I'm going to close this as won't fix as I don't see a compelling need
for this feature as the functionality is there.