Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

CONFIG(1M)

��������
config - ���������������� UNIX-����

���������

  /etc/config  [-t] [-l ����] [-c ����] [-m master_����] [-b ����]
  [dfile_����]

  /etc/addconf [-t] [-l ����] [-c ����] [-m master_����] [-b ����]
  [dfile_����]

��������
������� config �� ��������� UNIX-���� ���������� ��� �����. ���� ����, low.s, ������� �� ��� �����. ������ �������� ������������ ������� ����������. ������ ����� �������� ����������, ���������� ���������� ����� ������������� � ������������� ���������. ������ ����, conf.c, ���� ��������� �� ����� C, ����������� ���������������� ������� ��� ��������� ���������, ��������� � �������.

������ ������� config �������� ��������� �����:

-l ����
����������� ��� �����, ����������� ������������ ������� ���������� � �������� ���������� � �������������; ���� �� ��������� - low.s.
-c ����
����������� ��� �����, ����������� ���������������� �������; ���� �� ��������� - conf.c.
-m master_����
����������� ��� �����, ����������� ��� ����������, ���������� �������������� ���������; ���� �� ��������� - master. ���� ���� master �� ����������, �������� ������� ������� /etc/master. ���� master ������������ ������ � �������� � ��� �� ������� ��������, ���� �� ����� �� ���� ��������� �����.
-t
��������� ������� ������� ������� ������� ���������� � ������� ���������, ��� ����� ��������� �������� ����������� ������.
-b ����
���������� ��� ���������������� ����. ��� ����, ������ �������� ������������ ��� �������� ����������� ������ ������ low.s � conf.c. ���� �� ��������� - /usr/lib/confbase.

����� ������� ����� dfile_����; ���� �� �� ������, �� ������������ ���� dfile. � dfile_����� ���������� ���������� �� �����������. ���� ������� �� ��� �����. ������ �������� ������������ ���������� ���������. ������ - ��������-��������� ����������. ������ ����� �������� ����������, ����������� ��� ����������� ���������������. ������ ��� ����� �������� �������������, ������ - ���. ��������� ������ � ���������� ������� � dfile(4).

��������� ���������� ����� ������� � master_�����, � ����� ��� ����� �������������� �������� config:

 BDEVSWCNT    ����������� ������ ������� bdevsw [ ];
 CDEVSWCNT    ����������� ������ ������� cdevsw [ ];
 FMODSWCNT    ����������� ������ ������� fmodsw [ ].

� ���� �������� ������������ �������������� �������� ��� ������������ ������������� ���������� addkern(1M).

������� addconf �������� ���������� config, �� ���������� ������������ ��� ������������� ���������� addkern, � �� ��� ���������������� ������ UNIX-����.

�����

master
��������������� ������� ���������.
dfile
��������������� ���� � ����������� �� �����������.
low.s
��������������� ����, � ������� ���������� ������������ ������� ���������� � �������� ���������� � �������������.
conf.c
��������������� ����, � ������� ���������� ���������������� �������.
/usr/lib/confbase
��������������� ���������������� ����.

��. �����
add(1M).
dfile(4), master(4) � ����������� ������������.

�����������
��������������� ��������� �� ��������� � ����������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT