[OpenAFS-devel] fs sysname

Harald Barth haba@pdc.kth.se
Fri, 12 Oct 2001 17:54:30 +0200


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.