From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DqdUq-00010s-2b for garchives@archives.gentoo.org; Thu, 07 Jul 2005 21:01:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j67Kxm55010190; Thu, 7 Jul 2005 20:59:48 GMT Received: from perch.kroah.org (mail.kroah.org [69.55.234.183]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j67KseR4030341 for ; Thu, 7 Jul 2005 20:54:41 GMT Received: from [192.168.0.10] (c-24-22-115-24.hsd1.or.comcast.net [24.22.115.24]) (authenticated) by perch.kroah.org (8.11.6/8.11.6) with ESMTP id j67KsHq26907 for ; Thu, 7 Jul 2005 13:54:17 -0700 Received: from greg by echidna.kroah.org with local (masqmail 0.2.19) id 1DqdMK-884-00 for ; Thu, 07 Jul 2005 13:52:36 -0700 Date: Thu, 7 Jul 2005 13:52:36 -0700 From: Greg KH To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] devfs is dead, let's move on Message-ID: <20050707205236.GB30988@kroah.com> References: <20050706224651.GA19853@kroah.com> <1120744545.6560.18.camel@lycan.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1120744545.6560.18.camel@lycan.lan> User-Agent: Mutt/1.5.8i X-Archives-Salt: 0eec7f43-c4b6-45f0-89ce-8bdbd4c4f1e2 X-Archives-Hash: 0fe2100bc4d858395d05ead4b6d8cdc3 On Thu, Jul 07, 2005 at 03:55:45PM +0200, Martin Schlemmer wrote: > On Wed, 2005-07-06 at 15:46 -0700, Greg KH wrote: > > Ok, now that devfs is removed from the 2.6 kernel tree[1], I think it's > > time to start to revisit some of the /dev naming rules that we currently > > are living with[2]. > > > > To start with, the 061 version of udev offers a big memory savings if > > you use the "default" kernel name of a device[3]. If you do that, it does > > not create a file in its database in /dev/.udevdb/ > > > > If we can move away from some of our devfs-like names, we stand to > > reclaim a lot of memory from everyone's machines. As an example, if we > > drop all of the tty/pts/vc/vcc symlinks, and just go with the default > > kernel name, we save 2.5Mb of space in tempfs/ramfs. I've done this on > > my machines and everything seems to work just fine (it looks like > > everything that was trying to use a tty node was just using the symlink > > anyway.) > > > > So, anyone have any objections to me changing the default udev naming > > scheme in this manner? > > > > Fine with me. I assume we will need to keep the rcscript support for > those die-hard 2.4 users still, but hopefully we can eventually drop > that as well. What rcscript support? > > Next up, that loony block device naming scheme (more on that later...) > > > > Heh. I hope that we will still at least just do the cdsymlinks stuff > (just the /dev/cdrom, /dev/dvd, etc stuff) as that do make things a bit > easier for multimedia stuff. Yes, I don't see us dropping that, as it's just too useful :) > > [3] HAL needs a patch to be able to handle this. It's posted on the > > hal development mailing lists and will be checked in real-soon-now. > > I just think we need to make sure this is in first ... The HAL patch? It's now in HAL's cvs tree, don't know when they will do a new release. > Lastly on an unrelated note ... I have a rule: > > ----- > # cat /etc/udev/rules.d/40-dm.rules > KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="mapper/%c", SYMLINK="%c" > ----- > > And in theory it should be the last rule to set the name ... however the > default one in 50-udev.rules overrides it, and I have to add > OPTIONS="last_rule" Yes. Want me to just change the default rule to yours? thanks, greg k-h -- gentoo-dev@gentoo.org mailing list