official way to load aoe module?

official way to load aoe module?

Ehud Karni ehud at unix.mvs.co.il
Sun Aug 22 13:12:53 IDT 2010


On Sat, 21 Aug 2010 01:30:58 Lior Kaplan wrote:
>
> The RedHat way:
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s1-kernel-modules-persistant.html

I think this is the OLD RedHat way.

Look at snippet from /etc/rc.sysinit of CentOS 5.5:

    # Load other user-defined modules
    for file in /etc/sysconfig/modules/*.modules ; do
      [ -x $file ] && $file
    done

    # Load modules (for backward compatibility with VARs)
    if [ -f /etc/rc.modules ]; then
            /etc/rc.modules
    fi

So, the new way is to have a /etc/sysconfig/modules/<my>.modules file.

I think this is better because unrelated modules are not in the same
file (like xinetd.d/ vs xinetd.conf).

One of the advantage of this approach is the ability to have such a
file included in an RPM (e.g. for AoE).

Ehud.

--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7976-561  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry



More information about the Linux-il mailing list