On Wed, January 17, 2007 11:02, Frans Pop said: > On Wednesday 17 January 2007 10:23, you wrote: >> In "do_stop" there is a call to "do_close" which does "cryptsetup >> remove" or "cryptsetup luksClose" (if the use count of the device is >> 0). > > Does _not_ seem to be the case. Here's the entire do_stop function from > /lib/cryptsetup/cryptdisks.functions on my box and I see no calls to > 'crytsetup remove' (indentation reduced a bit):
Umm...but there is one to "do_close"? > do_stop () { > $DEVMAPCMD mknodes > log_action_begin_msg "Stopping $INITSTATE crypto disks" > egrep -v "^[[:space:]]*(#|$)" $TABFILE | while read dst src key opts; > do > if test -b $MAPPER/$dst; then > if $DEVMAPCMD info $dst | grep -q '^Open count: *0$'; then > dev=`$DEVMAPCMD table $dst | sed 's/^.* \([0-9]*:[0-9]*\) > .*/\1/'` > major=`echo $dev | sed 's/:.*//'` > minor=`echo $dev | sed 's/.*://'` > > log_progress_msg "$dst(stopping)" > do_close ________ Here --------------´ > > # Detach loopback device, if attached > if test -f $src -a $major -eq 7; then > $LOSETUP -d /dev/loop$minor > fi > else > log_progress_msg "$dst(busy)" > fi > else > log_progress_msg "$dst(stopped)" > fi > done > > log_action_end_msg 0 > } -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]