I would like to find the host OS while enumerating and select only the corresponding OS image file with the mass storage driver.
For example:
"insmod g_mass_storage.ko file=/win.iso,mac.iso"
While executing the above command, when the device is attached to WINDOWS, i need to show up win.iso instead of exposing mac.iso.
The command should look like "insmod g_mass_storage.ko file=/win.iso"
While executing the above command, when the device is attached to MAC, i need to show up mac.iso instead of exposing win.iso.
The command should look like "insmod g_mass_storage.ko file=/mac.iso".
I would appreciate any other thoughts/work around to this problem.