[EMAIL PROTECTED] wrote: > > >[...] > >> Note that you cannot create such links in Solaris. > > > >Will NFS also enforce PATH_MAX on the value filled in by readlink()? > >Otherwise, even if one couldn't create such a link on Solaris, one might > >still be able to see one. > > NFS_MAXPATHLEN is the maximum lenght it wants (1024)
Somehow I wish both Solaris and NFS would use a longer value for paths... IMO it will hurt some day if multibyte locales will become more widespead. Short: In a multibyte locale one character may occupy multiple bytes - which means the maxmimum number of useable _characters_ in a path depends on the encoding+characters being used. A limit of 1024 bytes therefore result in an effective character length limit of around 250 characters (assuming UTF-8 encoding and lots of characters outside the BMP plane) which may be too small for some applications/languages (e.g. Hindi _may_ be affected), other operating systems seems to be in a better position here, e.g. Linux has a PATH_MAX of 4096. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
