Re: g_conf.id, g_conf.name, g_conf.type and friends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 23, 2011 at 01:58:19PM -0800, Colin Patrick McCabe wrote:
> *** g_conf.id: this is a username or a daemon name, depending on the program.
> It defaults to "admin" for our various command-line tools, but can be
> changed by the -i command-line argument.
> For an MDS, this would be "a" or "b", or similar.

Noob question: why not 0, 1, ..?

> *** g_conf.type: nobody seems to know what this is.
> It seems like at one point, g_conf.type was intended to be one of
> "auth", "mon", "osd", "mds", or "client".

This seems to be tied to cconf's use of "type" as in sections "osd0"
and "osd.0" are both type=osd, id=0. So, it soudns to be like it's
there mostly to get around the fact that config section names are not
predictable.

-- 
:(){ :|:&};:
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux