Autofs and unrecognized parameters... mount() not ignoring anymorefor 2.6 kernel?
Greetings.
I use the same source code for two systems, RHL 9 and FC2. Its Autofs
4.1.3 with my infamous backfstype patch.
RHL 9 runs kernel 2.4.20-28.9 while FC2 runs 2.6.6-1.435. On RHL 9, autofs
runs nicely. On FC2, it complains about unrecognized parameters. This happens when I try to mount from yp maps that are meant for Solaris.
Is this a known issue? Seams that the mount function does not ignore
unrecognized parameters anymore under the 2.6 kernel.
Currently, my quick fix is to change /etc/init.d/autofs to catch the
unrecognized parameters. These are "quota" and "nobrowse".
Best regards,
Hans Deragon
--
Consultant en informatique/Software Consultant
Deragon Informatique inc. Open source: http://www.deragon.biz http://facil.qc.ca (Promotion du libre) mailto://[email protected] http://autopoweroff.sourceforge.net (Logiciel)
==> Regarding [autofs] Autofs and unrecognized parameters... mount() not ignoring anymorefor 2.6 kernel?; Hans Deragon <[email protected]> adds:
hans> Greetings. I use the same source code for two systems, RHL 9 and hans> FC2. Its Autofs 4.1.3 with my infamous backfstype patch.
hans> RHL 9 runs kernel 2.4.20-28.9 while FC2 runs 2.6.6-1.435. On RHL
hans> 9, autofs runs nicely. On FC2, it complains about unrecognized hans> parameters. This happens when I try to mount from yp maps that are hans> meant for Solaris.
hans> Is this a known issue? Seams that the mount function does not
hans> ignore unrecognized parameters anymore under the 2.6 kernel.
Yes, known issue. Upgrade util-linux.
-Jeff