Quoting David Sapir, from the post of Wed, 10 Mar:
> 
> I know the modules have to be loaded before mounting local file system.

if you tell us what your distro is, we may be able to give you a more
focused help. plus I'm not quite sure why initrd is such a nono, seems
to like a useful solution, I'm just not sure if it's useful for your
question...

> One 
> of the file systems is encrypted, and I need to load the encryption 
> modules. I noticed this mount is done in the middle of the file 
> /etc/rc.d/rc.sysinit .

either edit the file or mount it manually later. as far as commonsense
tells me you will need to manually enter a passphrase at every boot to
mount it anyway, otherwise your secret key must be decripted on the root
FS somewhere and that makes the "encrypted" filesystem entirely
non-secretive.

> When is the file /etc/modules executed?

grep and read the boot scripts of your distro. If you are messing with
encrypted FS you should probably get to know the rest of the system as
well so you can secure it more.

> If I don't have this file (/etc/modules) should I just create it?

if you don't have it, probably no script uses it (I think it's a Debian
feature). another thing you can do to have a feature in the kernel at
boot-time is to just compile it staticly, what can be easier?

-- 
The first, the last, and only line of defense
Ira Abramov
http://ira.abramov.org/email/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to