DragonFly kernel List (threaded) for 2003-08
larger MNAMELEN [was Re: Usernames > 16 characters ]
"Sander Vesik" <sander@xxxxxxxxxxxxxxxxxxx> wrote in message
> Matthew Dillon <dillon@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
> > 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
> 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.