Another idea would be to say, that it's generally the duty of the system itself (e.g. init.d scripts) or other initrd-boot-skripts to assure, that the file is accessible.
That way one could add boot-scripts like:
mount-usb: that contains a:
#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac
...
and a umount-usb: that contains a
#!/bin/sh
PREREQ="cryptroot" <-----------------
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac...
But then one would have to change cryptroot to prereq mount-usb.
Is that possible, better?
What do you think?
Chris.
smime.p7s
Description: S/MIME cryptographic signature

