The following reply was made to PR kern/161481; it has been noted by GNATS.

From: Garrett Cooper <[email protected]>
To: [email protected]
Cc: Garrett Cooper <[email protected]>
Subject: Re: kern/161481: mount fails with ENAMETOOLONG with path shorter
 than 255 // 1023 characters
Date: Tue, 11 Oct 2011 00:57:44 -0700 (PDT)

 I looked into this more closely after I submitted the bug and the problem 
 is the arbitrarily short value attached to MNAMELEN:
 
 122537   mckusick #define       MNAMELEN        88              /* size of 
 on/from name bufs */
 
 The value has changed over the years (all the way back to the mid-90s) 
 from 90 to 70 to 80 to 88, but each time the author doesn't clearly state 
 why the change was required.
 
 Testing out a kernel with the newly imposed limits to determine if the new 
 limit is functional and/or there's a major performance regression with the 
 new limit.
 
 Thanks,
 -Garrett
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to