Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262030AbUABASJ (ORCPT ); Thu, 1 Jan 2004 19:18:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262009AbUABASJ (ORCPT ); Thu, 1 Jan 2004 19:18:09 -0500 Received: from pallas.cela.pl ([213.134.162.12]:47378 "EHLO gaia.cela.pl") by vger.kernel.org with ESMTP id S261973AbUABARn (ORCPT ); Thu, 1 Jan 2004 19:17:43 -0500 Date: Fri, 2 Jan 2004 01:17:20 +0100 (CET) From: Maciej Zenczykowski To: Rob Landley cc: Rob Love , Andries Brouwer , Pascal Schmidt , , Greg KH Subject: Re: udev and devfs - The final word In-Reply-To: <200401010634.28559.rob@landley.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 965 Lines: 21 > Solve 90% of the problem space and have a human deal with the exceptions. > How big's the unique number being exported, anyway? (If it's 32 bits, the > exceptions are 1 in 4 billion. It may never be seen in the wild...) Wouldn't this be a classical birthday problem with 50% collision chance popping up in and around a few hundred devices? [20 for 8 bits, 23 for 365, 302 for 16 bits, 77163 for 32 bits], and that's only in a single system - with hundreds of thousands of systems even a 0.1% collision rate is deadly. [0.1% collision rate at 32 bits with 2932 devices] Even with only 300 devices per system, you'll still get a collision (at 32 bits) on more than 1 system in a hundred thousand. Cheers, MaZe. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/