On Jan 18, 2012, at 9:25 PM, Bryan Kadzban wrote:

> You just need to ensure vgchange can find the PV(s) when you run it at boot 
> time; it doesn't use the info in the partition table to do that.  :-)


In fact it doesn't need partitions at all -- you can just use the raw device.


> RAID: fdisk type fd
> 
> Only for Linux md-raid kernel autoassembly, I think?


Also correct. You can assemble arrays from arbitrary block devices, and mdadm 
is happy to scan all of them no matter their partition table (if any) or the 
partition type. The partition and type indicator are only needed for kernel 
auto-assembly, which you probably aren't doing if you're building an initramfs.

If you're going to worry about partition types you should note that there are 
also GPT equivalents to the MBR partition labels. But as with MBR they're only 
important if you want to provide labeling for humans to read, or for some 
low-level automated tool -- if you're doing things in userspace there's no need 
to hassle with them.

        Zach

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to