This is also broken: You set the global @fsid_boot depending on the parameter. Thus calling FsidBoot later with another dlabel (e.g. on system with two disks, one msdos, one gpt) results in a wrong return value.