Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030220AbWAaDx4 (ORCPT ); Mon, 30 Jan 2006 22:53:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030215AbWAaDx4 (ORCPT ); Mon, 30 Jan 2006 22:53:56 -0500 Received: from terminus.zytor.com ([192.83.249.54]:53456 "EHLO terminus.zytor.com") by vger.kernel.org with ESMTP id S1030207AbWAaDxz (ORCPT ); Mon, 30 Jan 2006 22:53:55 -0500 Message-ID: <43DEDF46.2060505@zytor.com> Date: Mon, 30 Jan 2006 19:53:42 -0800 From: "H. Peter Anvin" User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg KH CC: Neil Brown , linux-raid@vger.kernel.org, klibc list , Linux Kernel Mailing List Subject: Re: [klibc] Exporting which partitions to md-configure References: <43DEB4B8.5040607@zytor.com> <20060131032133.GA8920@kroah.com> In-Reply-To: <20060131032133.GA8920@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 865 Lines: 22 Greg KH wrote: > > What are you looking for exactly? udev has a great helper program, > volume_id, that identifies any type of filesystem that Linux knows about > (it was based on the ext2 lib code, but smaller, and much more sane, and > works better.) > > Would that help out here? > It might, but it's also rather ugly to have two pieces of code, especially in the presence of very dynamic partitions. In other words, if the kernel deals with partitions, you want to be able to get at the kernel's view of partitions, not necessarily the actual set of partitions on disk, which can be quite different. -hpa - 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/