On 05/05/09 16:13, Peter Memishian wrote: > > would it preferable to return p1 and p3 to the previous values, > > state which property couldn't be set and return an error? > > ... and if that fails, then you're in no-man's-land. > > It's preferable to design interfaces that don't have this failure mode :-) >
Agree. Where do we end? I guess if anybody is using scripts, they should use one property at a time to 'dladm set-linkprop'. As long as we define the behavior of the command and it's well know to the end user, then they can use it one property at a time (for scripts) or several properties in one shot (from CLI). ~Girish
