sfcbrepos(1)

πŸ“¦
version 1.4.9 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44

πŸ’– sfcbrepos β€” the group chat edition πŸ’–

okay bestie, welcome to the sfcbrepos manual page, straight out of the General Commands Manual. this is the script that rebuilds the Small-Footprint CIM Broker (sfcb) class repository, and honestly? she's a whole vibe. let's get into it 🫢


✨ NAME ✨

sfcbrepos β€” script to rebuild the Small-Footprint CIM Broker (sfcb) class repository πŸŽ€


🌸 SYNOPSIS 🌸

sfcbrepos [options]

that's it. that's the whole entrance. she walks in with [options] and lets the flags do the talking πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, sfcbrepos rebuilds the sfcb class repository from the staging files. iconic behaviour, no notes.

but here's the tea bestie: rebuilding is done offline, and the sfcb CIMOM must be restarted for your changes to actually take effect. like, you can't just rebuild and expect the world to update itself. restart the CIMOM. do it. periodt ✨


πŸ‘‘ OPTIONS πŸ‘‘

the supported command line options are, and yes i'm listing every single one because we don't skip:

  • -c schemadir β€” the path where we go get the CIM Schema classes. the default is /usr/share/mof/cim-current 🌈
  • -s stagingdir β€” the path to the sfcb staging area, which is where the class MOFs and registration files live. the default is /var/lib/sfcb/stage πŸ“
  • -r registrationdir β€” the path to the sfcb registration directory, which holds the root of the class repository directory tree. the default is /var/lib/sfcb/registration πŸ’œ
  • -f β€” the Force option. without it you get prompted to confirm creating a new class repository (and deleting the old one, rip πŸ’€). set this and she'll rebuild the new sfcb repository without prompting you at all. main character energy, no interruptions.
  • -i β€” do not migrate instances from the previous repository. if you want a fresh start, this is her.
  • -b backendopts β€” set special backend options for sfcbmof. the valid options are:
    • P32 β€” compile for PowerPC target
    • Q β€” skip all string qualifiers in the output file
    • q β€” skip selected qualifiers in the output file. which ones? ArrayType, Deprecated, Description, MappingString, PUnit, UmlPackagePath, Units, Version, ValueMap, and Values. that's the list, character for character, don't @ me.
πŸ“ note bestie: eliminating qualifiers will often significantly reduce the size of the class repository. so if size is the enemy, you know what to do.
  • -X platform β€” alias of -b. same girl, different name πŸ’…
  • -t format β€” the format for the class repository:
    • sf β€” for reduced-size repositories, read by ClassProviderSf
    • std β€” for standard repositories, read by either ClassProviderSf or ClassProviderGz
    • the default is auto, which will auto-detect based on the contents of the providerRegister file πŸ”
  • -h β€” display usage information and exit. the classic escape hatch 🧚

πŸŽ€ FILES πŸŽ€

here's the whole file family, every single one, no crumbs:

  • /usr/share/mof/cim-current/CIM_Schema.mof β€” the CIM Schema
  • /var/lib/sfcb/registration/providerRegister β€” contains registration data for all installed providers.
  • /var/lib/sfcb/registration/providerRegister.previous β€” contains registration data for all installed providers from the previous time sfcbrepos was run. this can be used to restore an earlier class repository in case sfcbrepos generates a corrupt one. πŸ™ˆ (yes, she keeps a backup. she's prepared.)
  • /var/lib/sfcb/registration/repository β€” contains the class repository directory for all supported CIM namespaces.
  • /var/lib/sfcb/registration/repository.previous β€” contains the class repository directory for all supported CIM namespaces from the previous time sfcbrepos was run. this can be used to restore an earlier class repository in case sfcbrepos generates a corrupt one. (again: backup. queen behaviour.)
  • /var/lib/sfcb/registration/repository/.../classSchemas β€” class data for a namespace.
  • /var/lib/sfcb/stage/default.reg β€” registration data for the default built-in sfcb internal providers.
  • /var/lib/sfcb/stage/mofs/root/interop/interop.mof β€” dummy classes used to add CIM indication support to the default interop namespace.
  • /var/lib/sfcb/registration/stage/mofs/.../*.mof β€” class definitions for all installed providers.
  • /var/lib/sfcb/registration/stage/regs/*.reg β€” registration info for all installed providers.

πŸ’œ ENVIRONMENT πŸ’œ

  • DESTDIR β€” if set, the value of this variable is prepended to the registration directory names. this can be useful to store the repository in a different location, i.e. when cross-compiling providers. lowkey so handy.

🌈 LIBRARIES 🌈

requires libsfcBrokerCore.a. she has needs, bestie. respect them.


πŸ’… AUTHOR πŸ’…

Adrian Schuur <schuur@de.ibm.com> β€” the legend herself 🫢


πŸ’€ BUGS πŸ’€

the SBLIM project maintains a mailing list to which you should direct all questions regarding sfcb, sfcc, wbemcli, or any of the SBLIM providers. to subscribe to this mailing list visit

http://lists.sourceforge.net/lists/listinfo/sblim-issues

the SBLIM Project Bug tracking page can be found at

http://sourceforge.net/tracker/?group_id=128809&atid=712784

(C) Copyright IBM Corp. 2004, 2005, 2009


🧚 AVAILABILITY 🧚

the Small-Footprint CIM Broker (sfcb) is a part of the SBLIM project. the most recent version is available on the web at

http://sblim.sourceforge.net/

🌸 SEE ALSO 🌸

sfcbd(1), sfcbstage(1), sfcbunstage(1), getSchema(1) β€” go read your sisters' pages too, they're all part of the family πŸ’–


and that's a wrap on our little journey, bestie πŸŽ€ this was sfcbrepos Version 1.4.9, dated October 2009, and honestly? she aged like fine wine. now go restart that CIMOM. mwah πŸ’…βœ¨

πŸ“¦ where this page comes from