Using auto.net on SuSE 10.1
I'm probably doing something wrong, but don't know enough about how autofs works to know what to try. My apoIogies if this has already been discussed. I tried searching the archives, but couldn't find anything obviously related.
On machine 'foo', I export the directory '/export'.
On a SuSE 9.x machine running autofs 4.0pre10-364, when I do an ls of /net/foo, I see 'export' (mounted from foo:/export) - which is what I expect.
On a SuSE 10.1 machine I'm setting up, running autofs 4.1.4-23, when I do an ls of /net/foo, instead of getting 'export', I get the subdirectories of foo:/export. That is, to get to the file foo:/export/xyz I would need to use /net/foo/xyz instead of /net/foo/export/xyz.
Is there some config setting that I need to do to get it to act like it used to?
Thanks,
Steve Potter
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Quoted 5 lines
On a SuSE 10.1 machine I'm setting up, running autofs 4.1.4-23, when I do an ls of /net/foo, instead of getting 'export', I get the subdirectories of foo:/export. That is, to get to the file foo:/export/xyz I would need to use /net/foo/xyz instead of /net/foo/export/xyz.
I found out a little more about the problem. If the target machine is exporting only 1 directory, the contents of that directory get mounted regardless of whether the directory is '/' or some subdirectory like '/export'. If the target machine is exporting more than 1 directory, they seem to get mounted correctly. Is this a known bug and I just need to update to a later autofs?
It seems unlikely to me that it is deliberate that an exported directory gets automounted differently depending on what else is exported.
Thanks,
Steve Potter
Ian Kent
maintainerQuoted 6 lines · Steve Potter
Quoted 5 lines
On a SuSE 10.1 machine I'm setting up, running autofs 4.1.4-23, when I do an ls of /net/foo, instead of getting 'export', I get the subdirectories of foo:/export. That is, to get to the file foo:/export/xyz I would need to use /net/foo/xyz instead of /net/foo/export/xyz.
Quoted 7 lines
I found out a little more about the problem. If the target machine is exporting only 1 directory, the contents of that directory get mounted regardless of whether the directory is '/' or some subdirectory like '/export'. If the target machine is exporting more than 1 directory, they seem to get mounted correctly. Is this a known bug and I just need to update to a later autofs?
Don't think that would be fixed in a later version, you might want to check the patches on kernel.org.
Quoted 4 lines
It seems unlikely to me that it is deliberate that an exported directory gets automounted differently depending on what else is exported.
Sounds a bit like a bug.
Ian
Ian Kent
maintainerQuoted 15 lines · Ian Kent
Quoted 6 lines · Steve Potter
Quoted 5 lines
On a SuSE 10.1 machine I'm setting up, running autofs 4.1.4-23, when I do an ls of /net/foo, instead of getting 'export', I get the subdirectories of foo:/export. That is, to get to the file foo:/export/xyz I would need to use /net/foo/xyz instead of /net/foo/export/xyz.
Quoted 7 lines
I found out a little more about the problem. If the target machine is exporting only 1 directory, the contents of that directory get mounted regardless of whether the directory is '/' or some subdirectory like '/export'. If the target machine is exporting more than 1 directory, they seem to get mounted correctly. Is this a known bug and I just need to update to a later autofs?
Quoted 2 lines
Don't think that would be fixed in a later version, you might want to check the patches on kernel.org.
Have you tried autofs-4.1.4-multi-parse-fix.patch?
Ian