[Pkg-cryptsetup-devel] checksystem and cryptdisks

Jonas Meurer jonas at freesources.org
Sun Feb 19 02:00:42 UTC 2006

On 15/02/2006 To Debian Cryptsetup Team wrote:
> a last point i would like to raise is, that we should maybe split the
> huge cryptdisks script into small include files with functions. first,
> the script grows very fast, and new features are not unlikely. second,
> we need to consider running the script twice in the boot process, once
> for lvm and raid partitions, and once for for the devices provided by
> lvm/evms/raid, ...

i'll do this within the next days. at least the huge option parsing
function and hopefully many more code can be moved to an include file.

i'll put the include in /lib/cryptsetup, and i'll re-merge prechecks and
postchecks subdirectories to one checks subdir while i'm at it.
it is unlikely that we will ever have a precheck and a postcheck where
the same name would be appropriative.

> i would like to improve cryptdisks in a way that it checks for the
> source device (it already does), and when the device does not exist, it
> simply jumps to the next configured crypto device.
> this way running it twice in the boot process would be no problem.

i've just implemented this, but not tested running it twice in the boot
process yet.

btw. would be great if you could take a look at the package. i've just
included the timeout patch and done some other changes.


More information about the Pkg-cryptsetup-devel mailing list