From owner-freebsd-current Wed Jun 7 21:36: 9 2000 Delivered-To: freebsd-current@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id C5F8437B764; Wed, 7 Jun 2000 21:36:02 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id EAA25500; Thu, 8 Jun 2000 04:35:45 GMT (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 08 Jun 2000 14:05:45 +0930 (CST) From: "Daniel O'Connor" To: Kris Kennaway Subject: Re: mktemp() patch Cc: current@freebsd.org, Boris Popov Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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