From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J.A. Magallon" Date: Sat, 03 Jan 2004 01:00:10 +0000 Subject: Re: udev - please help me to understand Message-Id: <20040103010010.GA14823@werewolf.able.es> List-Id: References: <20040102202316.GD4992@kroah.com> In-Reply-To: <20040102202316.GD4992@kroah.com> (from greg@kroah.com on Fri, Jan 02, 2004 at 21:23:16 +0100) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Greg KH Cc: Linux Kernel List , linux-hotplug-devel@lists.sourceforge.net On 01.02, Greg KH wrote: > On Fri, Jan 02, 2004 at 09:48:36PM +1000, Steve Youngs wrote: > > Hi Greg! > > > > I've been looking at this "udev" thingy and I can't for the life of me > > see why I'd need it. There doesn't appear to be _any_ advantages of > > using udev in my present situation. > > Ok, great. Then don't use it, I'm not forcing you to for 2.6 :) > > > No, I don't use devfs. > > > > I have zero hot-pluggable devices (that might change somewhere in the > > distant future, but for now I don't have any). And never in my wildest > > dreams could I ever imagine running out of device numbers. > > > > Reading through the documentation that I've found about udev, your > > main points seem to be about: > > > > - udev vs devfs > > - running out of device major/minor numbers > > - not having to worry about major/minor numbers > > > > For me, the first point is moot because I don't use devfs. The second > > point is just plain ridiculous, there is just _no_ way that it could > > happen (remember that I'm talking about my own situation). > > If you never have any hotpluggable devices, nor any need to move disks > around in your system, then you don't need udev. > Don't think so. My first use for udev is a cluster (when bproc works on 2.6 ;)). Or in general diskless booting. You build your initrd for remote boot. You have two options: - copy a full /dev from a working host (tons of files that make the rd big just to fit all the inodes). - spend a lot of time guessing what is and what is not needed on each node (you can have ata drives, scsi ones, different network cards, different graphics cards...) I just want to boot with and empty /dev and let udev populate it, even with same device names for different hadrware. And nodes will never hotplug anything. IE, I want a working and race free devfs, and this is udev. -- J.A. Magallon \ Software is like sex: werewolf!able!es \ It's better when it's free Mandrake Linux release 10.0 (Cooker) for i586 Linux 2.6.1-rc1-jam1 (gcc 3.3.2 (Mandrake Linux 10.0 3.3.2-3mdk)) ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel