Re: Encrypted loop back filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2003-04-22 at 16:49:04+0200 Mikael Hultgren <mikael.hultgren@xxxxxxxxxxxxxxxxxxx> wrote:

> Actually i have another question, i managed to set up a crypted
> loopback filesystem, but everytime i mount it i need to manually
> modprobe cipher-aes and cryptoloop, which gets kinda tedious
> afterawhile.
> 
> So is there anyway to make those modules autoload whenever i want to
> mount the filesystem, im guessing there is something that needs to
> be added to modules.conf, but im not sure what, and i couldnt find
> any obvious answers in the Loopback-Encrypted-Filesystem-HOWTO
> either.

I tried to find a way to do this as well (using pre-install hooks),
but eventually gave up.  (I'm not convinced that there isn't a way to
do it, but the dependencies are very nasty; I kept running into
recursive modprobe invocations.)

Just create an /etc/rc.modules file (mode 0700 or 0755), and put these
lines in it:

    #! /bin/sh
    /sbin/modprobe cryptoloop cipher-aes

That way, the cryptoloop and cipher-aes modules will be loaded every
time your machine boots (from /etc/rc.d/rc.sysinit).

-- 
James Ralston, Information Technology
Software Engineering Institute
Carnegie Mellon University, Pittsburgh, PA, USA





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux