Apologies for the report. Looks like mkdir(2) man page is maintained by man-pages project, I will report it there. Thanks. On Mon, May 4, 2015 at 8:01 PM, Raghavendra Prabhu wrote: > Hi, > > It is possible for mkdir(2) to return EINVAL in certain circumstances. > However, the man page mkdir(2) doesn't mention that. > > I am hitting it on overlayfs. Other instances reported: > > http://stackoverflow.com/questions/10015377/mkdir-pathname-with-symbol > http://lists.opensuse.org/opensuse-bugs/2009-05/msg01771.html > > So, it needs to be documented in man page for mkdir(2). > > ------ > Raghavendra > >