[Pkg-cryptsetup-devel] losetup and dmsetup in cryptdisks

gebi at sbox.tugraz.at gebi at sbox.tugraz.at
Thu Feb 9 00:23:16 UTC 2006


Quoting Jonas Meurer <jonas at freesources.org>:

> i've just re-read the whole cryptdisks script, and i wonder what the
> 'set up loopback devices' part is for.

# Set up loopback devices
if test -f "$src" ; then
...
fi

For all src "devices" which are ordinary files (filesystem images) we  
have to use losetup first, because cryptsetup don't get it right.

> the same is about the 'dmsetup mknodes' at the beginning of the script.
> what does this do? unfortunately the mknodes command is not documented
> in the dmsetup manpage. is it important, do we need it, etc.?

this command creates /dev/mapper/ and /dev/mapper/control.

> and last but not least, i still wonder if we need the 'hack' script in
> the debian subdir. i've never seen it in action, and i cannot imagine
> that it has any other functionality than being a test script for
> whatever wesley intended to develop.

don't know exactly what the hack it is for ;).

> last but not least, i've updated and renamed checksystem_doc, and i
> intend to start implementing the proposed checksystem soon. but i'dd
> like to do some general script cleanup before that.

ok
we should breake this monster into small nice functions.

greets,
Michael Gebetsroither




More information about the Pkg-cryptsetup-devel mailing list