2008/2/16, Jonas Meurer <[EMAIL PROTECTED]>: > > But it doesn't work for USB devices, because cryptsetup is called too > > early. In such case there is missing following step: > > > > 0. sleep $cryptsourcedelay > > If i got it right, your statement is untrue. rootdelay is implemented in > /usr/share/initramfs-tools/scripts/init-premount/udev, which is executed > before any cryptsetup action is done in
You're wrong, because the local-premount is called *after* local-top actions. See: $ grep Running /usr/share/initramfs-tools/scripts/locals [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top" [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-premount" [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-bottom" The cryptsetup is called in local-top, the rootdelay is called after local-top and before local-premount. It is too late for cryptsetup! -- .''`. Piotr Roszatycki : :' : mailto:[EMAIL PROTECTED] `. `' mailto:[EMAIL PROTECTED] `- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]