lkml.org 
[lkml]   [2006]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Exporting which partitions to md-configure
On Monday January 30, mrmacman_g4@mac.com wrote:
> On Jan 30, 2006, at 20:10, Neil Brown wrote:
> > On Monday January 30, hpa@zytor.com wrote:
> >> 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.
>
> Well, for an MSDOS partition table, you would look for '253', for a
> Mac partition table you could look for something like 'Linux_RAID' or
> similar (just arbitrarily define some name beginning with the Linux_
> prefix), etc. This means that the partition table type would need to
> be exposed as well (I don't know if it is already).

Mac partition tables doesn't currently support autodetect (as far as I
can tell). Let's keep it that way.

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/

\
 
 \ /
  Last update: 2006-01-31 03:05    [W:0.081 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site