Re: Exporting which partitions to md-configure



Kyle Moffett wrote:

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).



It's not, but perhaps exporting "format" and "type" as distinct attributes is the way to go. The policy for which partitions to consider would live entirely in kinit that way.


type would be format-specific; in EFI it's a UUID.

This, of course, is a bigger change, but it just might be worth it.

	-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Relevant Pages

  • Re: Fix to Linux FAT12 mount issue?
    ... > I have noted that removable device FAT12 formatted in Camera like ... > partition table that speaks about the FAT12 fs start sector. ... > the partition table are failing to mount under Linux. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [RFD] FAT robustness
    ... > and just reading quickly a file (a standard use of removeable devices). ... > Basically, to read you would not need to mount the partition, just ... > mount read-only at each file opening. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: removable media revalidation - udev vs. devfs or static /dev
    ... > natural reaction above) but please consider beyond the immediate hack. ... /dev/hda/0 partition 0 ... > directory containing multiple executables for various platforms. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • segmentation fault in "top" command
    ... - I had a case of FS corruption, ... only one partition for the complete debian system. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)
  • segmentation fault in TOP command
    ... - I had a case of FS corruption, ... only one partition for the complete debian system. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)