[Stgt-devel] [PATCH] tgt-admin: support persistent device binding

FUJITA Tomonori fujita.tomonori
Tue Jul 29 15:50:52 CEST 2008


On Tue, 29 Jul 2008 14:07:18 +0200
Tomasz Chmielewski <mangoo at wpkg.org> wrote:

> > IMHO, it's much easier to edit a plain text file rather than a XML
> > file.
> 
> The problem is the definition of a plain text file, and what happens when we have "nested" things with different values (i.e., different luns should have different parameters), detecting simple typos (see what will happen in "other types" below - target vs tagret - some other target will probably get luns which don't belong to it) in the text file etc.
> 
> 
> - apache-style plain text configuration - this is what we use now
> 
> include /some/other/*.conf
> 
> <target iqn.2007-02.com.example:blah.blah>
> backing-store /dev/blah/blah
> </target>

OK, the apache style looks sane (and makes sense since perl provides
the libraries).

Then, please invent a good format.

IMHO, the format should represent all the details since we can't
change the format later on easily.



More information about the stgt mailing list