variable names in FAI

Thomas Lange lange at informatik.uni-koeln.de
Thu Sep 27 21:07:46 CEST 2018


>>>>> On Thu, 27 Sep 2018 19:10:46 +0200, Martin Krämer <mk.maddin at gmail.com> said:

    > Looking at https://wiki.fai-project.org/index.php/Variables I am wondering if there is some logic behind the naming of the variables within FAI?
    > When is a variable written in uppercase, when in lowercase?
    > When is a _ (underscore) used to split two words in a variable and when not?
The variable names evolved during almost 20 years of FAI.
There's not strict rule for the names, but IIRC
the lower case names should be more internal variables which are
normally not used in the config space.

FAI_ was not used much in the beginning, but later I've tried to use
it more to avoid clashes with other shell variables.

Sometimes I also think renaming the variables would be good, but I
fear to break a lot of users config spaces.

Maybe FAI-ng (to be released after 2038) will use a better naming scheme ;-)

-- 
regards Thomas


More information about the linux-fai mailing list