DragonFly BSD
DragonFly kernel List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

larger MNAMELEN [was Re: Usernames > 16 characters ]


From: "Matthew Emmerton" <matt@xxxxxxxxxxxxx>
Date: Thu, 14 Aug 2003 02:37:01 -0400

"Sander Vesik" <sander@xxxxxxxxxxxxxxxxxxx> wrote in message
news:1060810648.320048@xxxxxxxxxxxxxxxxxxxxxx
> 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
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





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]