I don't see the code violation/s. Somebody must have allready allowed the second service to the detached garage. I don't see any problem feeding parts of the two diffrent services with one generator.
As for the fuel storage, That's could be a problem. I just don't know if it's a NEC problem.

PS I think they (THE SERVICE MAINS) should be labeled, if there are circuits from both services in the same building

[This message has been edited by russ m (edited 01-27-2004).]