Date: Thu, 08 Jun 2000 14:05:45 +0930 (CST) From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Kris Kennaway <kris@FreeBSD.org> Cc: current@freebsd.org, Boris Popov <bp@butya.kz> Subject: Re: mktemp() patch Message-ID: <XFMail.000608140545.doconnor@gsoft.com.au> In-Reply-To: <Pine.BSF.4.21.0006072127210.40068-100000@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08-Jun-00 Kris Kennaway wrote: > On Thu, 8 Jun 2000, Boris Popov wrote: > > > > Instead of using only alphabetic characters, the patch uses the following > > > character set: > > > > > > 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz@#%^-_=+:,.~ > > > > Symbols '=' and '+' are prohibited in some other filesystems. It > > is possible to avoid using them ? > > Yes, but at the expense of weakening the number of possible random > filenames :-( IMHO the loss of 2 characters doesn't greatly reduce the number of possibilities, but it DOES greatly reduce the chance of an obscure error message appearing when you try and make a temp file on a brain dead FS. BTW.. For 5 character long temp names with + and = the number of possibile names is 2073071593, without it is 1804229351. (13% less) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000608140545.doconnor>