Be more specific abut the environment. Are these bootable USB sticks, or are you using a boot
loader located somewhere else to select one of the sticks? Do the sticks have /tce directories
on them? If you give some details you'll get a better answer.
Well, I didnt want to be specific because I wanted a general solution, not a specific.
Let me describe a case:
I have a bootstick with microcore and all the needed tce's built into the core archive, so the bootoptions will only contain tce=/
On this stick I also have a windows executable that I run on a pc. This executable saves some config files and I need to read these files from microcore when I boot the stick on a different pc.
Now, imagine a second stick in place that could be a accidential leftover stick in a second usb port that doesnt get boot priority. I want to make sure that I load the correct config file.
Also, I prefer a static syslinux.cfg (or other config file in case of another bootloader) to prevent issues when used on pc's with different hardware and/or BIOS settings.
If syslinux had some option to pass the drive or bus information, it would enable me to pick up the drive. Maybe some other bootloaders has this option?