Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266088AbUAFHOx (ORCPT ); Tue, 6 Jan 2004 02:14:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266090AbUAFHOx (ORCPT ); Tue, 6 Jan 2004 02:14:53 -0500 Received: from twilight.ucw.cz ([81.30.235.3]:53960 "EHLO twilight.ucw.cz") by vger.kernel.org with ESMTP id S266088AbUAFHOv (ORCPT ); Tue, 6 Jan 2004 02:14:51 -0500 Date: Tue, 6 Jan 2004 08:14:32 +0100 From: Vojtech Pavlik To: Andries Brouwer Cc: Linus Torvalds , Daniel Jacobowitz , Rob Love , rob@landley.net, Pascal Schmidt , linux-kernel@vger.kernel.org, Greg KH Subject: Re: udev and devfs - The final word Message-ID: <20040106071432.GA29252@ucw.cz> References: <20040104142111.A11279@pclin040.win.tue.nl> <20040104230104.A11439@pclin040.win.tue.nl> <20040105030737.GA29964@nevyn.them.org> <20040105132756.A975@pclin040.win.tue.nl> <20040105205228.A1092@pclin040.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040105205228.A1092@pclin040.win.tue.nl> User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1154 Lines: 31 On Mon, Jan 05, 2004 at 08:52:28PM +0100, Andries Brouwer wrote: > > udev can then use those serial numbers to have a stable pathname > > True. Provided that it knows how to get them. > The kernel driver knew all about the device. > Must udev also know all about all possible devices? No. But it must have rules about what to do with all possible device types (at least very generic default rules), based on the data the drivers can provide to identify the device. > Do I/O to these devices? If the using an UUID stored on the device (like the filesystem UUID), yes. > Or must sysfs export all data that could possibly be used? Not necessarily. But udev must get the all the data that could possibly be used for assigning a name to the device. It can get them either as hotplug command line arguments and environment variables or via sysfs, or by any other means. -- Vojtech Pavlik SuSE Labs, SuSE CR - 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/