Possible feature autoloading modules

Richard B. Johnson (root@chaos.analogic.com)
Mon, 29 Mar 1999 10:32:37 -0500 (EST)


Hello module gurus,

Currently, these are the modules I am using.

Module Size Used by
st 24796 0 (autoclean)
binfmt_aout 3580 0
3c59x 17668 1 (autoclean)
ipx 12204 0 (autoclean)
nls_cp437 3540 2 (autoclean)
sd_mod 15692 5
BusLogic 30888 5
scsi_mod 36472 3 [st sd_mod BusLogic]

Is there any way to 'autodetect' a.out binaries and load
`binfmt_aout` when it's needed, rather than the present
where I get a 'Cannot execute binary file' error, at which
time I have to load the module by hand?? I think this is
a loaded question, i.e., it is supposed to work just like
other drivers.

Script started on Mon Mar 29 10:25:06 1999
# ls
bash: /bin/ls: cannot execute binary file
# insmod binfmt_aout
# ls
.Xauthority WorkFolder
[SNIPPED]
# exit
exit
Script done on Mon Mar 29 10:25:39 1999

The aliases in /etc/conf.modules are what were given me by `modprobe -c`

# Generated by modprobe -c (2.1.23)
# Aliases
alias binfmt-387 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-204 binfmt_aout
alias binfmt-2 binfmt_aout
alias binfmt-0107 binfmt_aout
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
[Nonpertainent aliases SNIPPED]

Perhaps I'm missing one?

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.4 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/