Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030254AbWAaBKj (ORCPT ); Mon, 30 Jan 2006 20:10:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965057AbWAaBKj (ORCPT ); Mon, 30 Jan 2006 20:10:39 -0500 Received: from mail.suse.de ([195.135.220.2]:59822 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S965056AbWAaBKi (ORCPT ); Mon, 30 Jan 2006 20:10:38 -0500 From: Neil Brown To: "H. Peter Anvin" Date: Tue, 31 Jan 2006 12:10:32 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17374.47368.715991.422607@cse.unsw.edu.au> Cc: klibc list , Linux Kernel Mailing List , linux-raid@vger.kernel.org Subject: Re: Exporting which partitions to md-configure In-Reply-To: message from H. Peter Anvin on Monday January 30 References: <43DEB4B8.5040607@zytor.com> X-Mailer: VM 7.19 under Emacs 21.4.1 X-face: v[Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D > Any feeling how best to do that? My current thinking is to export a > "flags" entry in addition to the current ones, presumably based on > "struct parsed_partitions->parts[].flags" (fs/partitions/check.h), which > seems to be what causes md_autodetect_dev() to be called. > I think I would prefer a 'type' attribute in each partition that records the 'type' from the partition table. This might be more generally useful than just for md. Then your userspace code would have to look for '253' and use just those partitions. NeilBrown - 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/