Hi, while setting up root encryption I found this to be helpful. Patch against recent loop-AES-v3.1f attached to this mail. -- left blank, right bald
--- build-initrd.sh.orig 2007-01-31 20:04:15.000000000 +0100
+++ build-initrd.sh 2007-03-14 23:19:37.000000000 +0100
@@ -412,10 +412,12 @@
#if ${INITIALDELAY}
{
+ wrStr("Delaying initial operations for ${INITIALDELAY} seconds.\n");
struct timespec req;
req.tv_sec = ${INITIALDELAY};
req.tv_nsec = 0;
nanosleep(&req, 0);
+ wrStr(" ...done, continuing.\n");
}
#endif
@@ -511,10 +513,12 @@
#if ${EXTERNALGPGFILES}
#if ${MOUNTDELAY}
{
+ wrStr("Delaying mount operations for ${MOUNTDELAY} seconds.\n");
struct timespec req;
req.tv_sec = ${MOUNTDELAY};
req.tv_nsec = 0;
nanosleep(&req, 0);
+ wrStr(" ...done, continuing.\n");
}
#endif
if(mount("${EXTERNALGPGDEV}", "/mnt", "${EXTERNALGPGTYPE}", MS_MGC_VAL | MS_RDONLY, 0)) {
Attachment:
pgp00001.pgp
Description: PGP signature