I had a look at venus/fs.c: SysNameCmd().

Looks like the pioctl can return a list of sysnames and the first 4
bytes in the blob is the number of sysnames. Then it looks like the
print format if the pioctl returns a list of sysnames is

Current sysname list is 'foo' 'bar' 'baz'

as opposed to

Current sysname is 'foo'

in case of just one sysname.

1) Is it a good idea to change the number of words returned by a command
   like this? (I think NO).

2) Shouldn't there be another command to request a list (like fs sysnamelist)?

3) Is the sysnamelist feature used anywhere or is it safe to say that that
   outputformat is a bad idea and change it?

Harald.

  
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to