Hi Manfred:
I was speaking only for Canon lenses so I have no issue with your comment about Nikon, but maintain my statement for Canon since that was the lens brand and type I was using. They ARE in fact quite different from Nikon as the following quick reference to Wikipedia shows. (I can get you a more authoritative reference if you want, but this says it neatly).
On the left is a Canon EF mount, on the right a Canon EF-S, placing the back element much closer to the sensor. This only works because the mirror and sensor are smaller.
"Canon introduced the Canon EF-S of lenses in 2003 alongside the 300D.
These lenses place the rear of the lens closer to the camera's sensor (referred to as
short back focus). This has several benefits, including lighter lenses and a narrower field of view. EF-S lenses will not physically mount on Canon's full-frame digital or 35mm film SLRs......
Nikon makes
DX format lenses for their line of APS-C digital cameras. These can be physically mounted to all Nikon digital and film SLR camera bodies since 1977"
.