larger MNAMELEN [was Re: Usernames > 16 characters ]

Matthew Emmerton matt at gsicomp.on.ca
Wed Aug 13 23:37:01 PDT 2003


"Sander Vesik" <sander at xxxxxxxxxxxxxxxxxxx> wrote in message
news:1060810648.320048 at xxxxxxxxxxxxxxxxxxxxxx
> Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
> > :
> > :While you're at it, I could also use a larger MNAMELEN.
> > :
> > :It's pretty annoying that (Free)BSD has that 80 characters limit,
> > :while Solaris and Linux don't.  It made me look pretty dumb when
> > :I wasn't able to mount stuff from a filer in a heterogenous farm
> > :of servers.  The names of the NFS mounts were just too long for
> > :the BSD machines.  (I finally managed to work around it, but it
> > :was annoying nonetheless.)
> > :
> > :Regards
> > :   Oliver
> >
> >    There must be some sort of limit on Solaris and Linux.  Does anyone
> >    know what that limit is?  If we are going to change our limit we
should
> >    make it the same as one of the two.
>
> I'm not sure if there is a limit or possibly it might be the same as max
path
> name length.

I just poked through Linux 2.5.75 source code, and for NFS file systems,
NFS_MAXPATHLEN (max len of directory mount) is 1024 bytes.

--
Matt Emmerton







More information about the Kernel mailing list