On Fri, 27 Nov 2009 21:08:26 +0100 Albert Pauw <albert.pauw@xxxxxxxxx> wrote: > On 11/27/2009 10:49 AM, Tomasz Chmielewski wrote: > > Albert Pauw wrote: > > > >> The most obvious difference is that the mode_pages are set up before > >> defining the element types in my script, while the > >> targets.conf version does it the other way round. The other thing is > >> that the script defines one separate media_home, while > >> the targets.conf version defines the same media_home for every > >> element_type. > > > > Could you check what makes a difference here? > > > > 1. In the output generated by tgt-admin, set mode_page before defining > > element types > Bingo, moved the following before the mode page in my manual script, > just like tgt-admin does: Your targets.conf defines 'mode_page' before 'params'. So if tgt-admin calls 'update' in the order of definitions, then it should be fine. Tomasz, is it possible to change tgt-admin in that way? -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html