|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
Re: [Xen-users] Re: multiple disk images, how to? 
| Charles Duffy wrote:
> Think of it as if you were sourcing a file to get your config settings
> in bash. Someone could have logic like this:
>
> if [ -n "$foo" ] ; then
>     DISK="/dev/foo/bar${foo}"
> else
>     DISK="/dev/foo/baz"
> fi
Even if that's desirable for <insert insane scenario here>...
> ...and that would be valid, so you wouldn't want to call the config file
> invalid if it had more than one line matching ^[[:space:]]*DISK=
...you would want at least be able to throw a warning when it happens,
since regular users probably expect standard config-file semantics
from a config file, not Python semantics.
Another approach would be to note in each configuration file that it's
Python syntax.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-users] multiple disk images, how to?, Molle Bestefich
Re: [Xen-users] multiple disk images, how to?, Christopher G. Stach II
Re: [Xen-users] multiple disk images, how to?, Molle Bestefich
[Xen-users] Re: multiple disk images, how to?, Charles Duffy
Re: [Xen-users] Re: multiple disk images, how to?, Molle Bestefich
Re: [Xen-users] Re: multiple disk images, how to?, Charles Duffy
Re: [Xen-users] Re: multiple disk images, how to?,
Molle Bestefich <=
Re: [Xen-users] Re: multiple disk images, how to?, Charles Duffy
Re: [Xen-users] Re: multiple disk images, how to?, Molle Bestefich
[Xen-users] Re: multiple disk images, how to?, Charles Duffy
 |  |  | 
  
    |  |  |