On 7/3/07, Mark Hull-Richter mhullrich@gmail.com wrote:
On Mon, 2007-07-02 at 17:33 -0700, Akemi Yagi wrote:
You must have changed something other than the NTFS option. autofs is supposedly OFF by default. Instead, autofs4 is used in the CentOS kernel.
Not to dispute you, but actually they are all configured as modules ("m") in all three of the x86_64 config files distributed with the 2.6.18-8.1.6 kernel sources. In fact, I can't build the non-xen kernel unless the xen config file includes the autofs line.
mhr
I don't intend to dispute either, but what I see is defferent from yours. My source's BUILD directory contains these .config files:
61487 Jun 30 12:09 kernel-2.6.18-x86_64.config 61520 Jun 30 12:09 kernel-2.6.18-x86_64-debug.config 60896 Jun 30 12:09 kernel-2.6.18-x86_64-xen.config
Then the following command shows AUTOFS options:
find . -type f -exec grep -il AUTOFS {} ; -exec grep -i AUTOFS {} ; -exec echo ;
./kernel-2.6.18-x86_64.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
./kernel-2.6.18-x86_64-xen.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
./kernel-2.6.18-x86_64-debug.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
In all .config files, autofs is 'not set' and autofs4 is 'm'. With this setup, autofs4.ko is built, not autofs.ko.
Akemi