Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030352AbVIODHc (ORCPT ); Wed, 14 Sep 2005 23:07:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030353AbVIODHc (ORCPT ); Wed, 14 Sep 2005 23:07:32 -0400 Received: from smtp113.sbc.mail.re2.yahoo.com ([68.142.229.92]:43938 "HELO smtp113.sbc.mail.re2.yahoo.com") by vger.kernel.org with SMTP id S1030352AbVIODHb (ORCPT ); Wed, 14 Sep 2005 23:07:31 -0400 From: Dmitry Torokhov To: linux-kernel@vger.kernel.org Subject: Re: devfs vs udev FAQ from the other side Date: Wed, 14 Sep 2005 22:07:17 -0500 User-Agent: KMail/1.8.2 Cc: David Lang , Robert Love , Mike Bell , Linus Torvalds , Andrew Morton , Greg KH References: <20050915005105.GD15017@mikebell.org> <1126746518.9652.60.camel@phantasy> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509142207.18478.dtor_core@ameritech.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1566 Lines: 35 On Wednesday 14 September 2005 21:13, David Lang wrote: > On Wed, 14 Sep 2005, Robert Love wrote: > > >> Took an actual devfs system of mine and disabled devfs from the > >> kernel, then enabled hotplug and sysfs for udev to run. make clean > >> and surprise surprise, kernel is much bigger. Enable netlink stuff and > >> it's bigger still. udev is only smaller if like Greg you don't count > >> its kernel components against it, even if they wouldn't otherwise need > >> to be enabled. Difference is to the tune of 604164 on udev and 588466 > >> on devfs. Maybe not a lot in some people's books, but a huge > >> difference from the claims of other people that devfs is actually > >> bigger. > > > > What modern system, though, could survive without hotplug and sysfs and > > netlink? You need to have those components, you want those features, > > anyhow. > > most servers and embedded systems can survive just fine without hotplug > (in fact hotplug is frequently the slowest part of the boot). > I wonder why udev or devfs is so much needed for an embedded system with a static and very limited set of devices? Make static /dev and get rid of both. And as far as servers go - you start them and you leave them alone. Who cares how long this things boots if you do it once a month? -- Dmitry - 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/