On Sat, Jan 29, 2005 at 06:04:00PM +0100, Gerhard Schrenk wrote:
>> What does cat /proc/filesystems say?
> nodev autofs
OK, that makes sense; the problem here is that the following snippet of code
gets run:
elif lsmod | grep -q autofs[^4]; then
# wrong autofs filesystem module loaded
echo
echo WARNING: autofs kernel module is loaded, autofs4 needed
echo " for correct behaviour. You might experience mount failures."
fi
This is meant as a check against people loading the wrong module, but obviously
makes no sense for a monolithic kernel (and as lsmod fails, so does the entire
script). A fix would probably be
elif ( [ -f /proc/modules ] && lsmod ) | grep -q autofs[^4]; then
I'll try to get something like this into the upstream 4.1.4 release (due
soon).
/* Steinar */
--
Homepage: http://www.sesse.net/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]