S
S
Sergey2015-08-14 17:32:33
linux
Sergey, 2015-08-14 17:32:33

How to split a config file into several in linux?

gentlemen, how to expand the config file in Linux? For example, there is /etc/exports, what should I write in it to take rules from /etc/my_exports ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2015-08-14
@butteff

in the general case - not at all
if the program that reads the config can do this - it will be said in its documentation.
in this case see man exports
Extra Export Tables
After reading /etc/exports exportfs reads files in the /etc/exports.d
directory as extra export tables. Only files ending in .exports are
considered. Files beginning with a dot are ignored. The format for
extra export tables is the same as /etc/exports

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question