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

CONFIGURE(8)

��������
configure - ��������� ��������� ������������ � ����� /kernel

���������

 configure [options] [parm=val ...]

��������
��������� configure ���������� � �������� ��������� ������� ���� �������. ��� �������� ������������� ������������ configure - �����, ��� �������������� ����� ��������� ������������ ���������������. ��� ������������� ��������� ��������� configure ��������� �������� ���������� �������������� ������ ������������, ������� ���� ��� ��������������� ���������� ���������� ���������������� ���������.

������� �������������� � ������������� ������ ��� � ������� ���������� ��������� ������. ���������� ��� �������� ������ ��������� ��������� ������� ������������� ����� ��������� �����.

� ��������� ���������� �����������, ��� ������������ configure � ������������� ������. ����� ��������� ������ ����������� � ������� "�����".

������������� �������������� ������
configure ������������� � ������������� ������, ���� � ��������� ������ �� ������ ������� ����� ��� ������ ������ ����� -f.

����� �� ��������� configure � ������������� ������, �� ������� ������� ���� ���������� ����:

  1.  Disk Buffers
  2.  Character Buffers
  3.  Files, Inodes, and Filesystems
  4.  Processes, Memory Management & Swapping
  5.  Clock
  6.  MultiScreens
  7.  Message Queues
  8.  Semaphores
  9.  Shared Data
  10. System Name
  11. Streams Data
  12. Event Queues and Devices
  13. Hardware Dependent Parameters

�������� ��������� ��� ��������� ������������, ����� ����� �� 1 �� 13 ��� 'q' ��� ������:

��� ������ ��������� ������� �� ����� (��������, "1" ��� ��������� "Disk Buffers") � ������� RETURN.

������ ��������� �������� ��� ��������������� ��������. ������ ������ �������������� ������������� ��� ��������������� �����, �������� �������� � �������� ��������. ��������, ��� ��������� "Disk Buffers" �� ����� �� �������:

  NBUF: total disk buffers. Currently determined at system start up:
  NSABUF: system-addressable (near) disk buffers. Currently 10:
  NHBUF: hash buffers (for disk block sorting). Currently 128:

��� ���������� �������� �������� ������� ������ RETURN. � ��������� ������ ������� ���������� �������� ��� ��������������� ������� � ������� RETURN. configure ��������� ������ ��������, �������� �� ��� � ��������������� �������� ��� ���. ���� ���, �� configure ����������� ��� �� ���� � �������� �������������, �� ������ �� �� �������� ������������� ��������.

��� ������ �� configure ������� 'q' �� ��������� ����. ���� ���� ������� �����-���� ���������, configure �������, �� ���� �� �������������� ����� ������������ � ������������ � ����� �����������. ��� ���������� ������ ������������ ������� �� ��� ��������� 'n', � ��������� �� ����� ������. � ��������� ������ ������� 'y', � configure ��������� ������ ����� ��������� ������������. ����� ���������� ������ configure ���� ������� ������ � ����������.

��� ���������� ���� �������:

  link_kernel

���������� ����� ������ ��������� �����. ����� ���������� ���������� ���� ������� ��������� ������� ��� ����������� ������ ���� (xenix.new) � �������� ������� � ����������� �������:

 cp /usr/sys/conf/kernel  /kermel.new
 /etc/shatdown
����� �� ������� ����������� ���������:
 Boot
 :
��� ���������� ������������ ������ ���� ������� �� ��� ���������
 kernel.new

������ ������� ����� �������� � ����� �����. ����� �� ������ ������������� ����������������� ������ ����, ������� ��� ��������� ����� ���� �� ������� ���� ��������� �������:

 /usr/sys/conf/hdinstall
��������� hdinstall(8) ��������� ��������� ����������� ������� ����� /kernel � ���������� �� ��� ����� /usr/sys/conf/kernel.

������� kernel.new ��������� ��������� �������:

 rm /kernel.new
������������� ������� � ����� �����.

�����
����� ��������� ������ ������������� ��� ������������� ��������-�������� ����������� ���������. �� ��������� ������ �� ������ ��������������� ��������, ������� ����������� ��������� �� ���������������� ������ � �������������� ��������� �������� ���������. ������� ����� ����� ��� ������� ������� ������������ ���������.

configure ���������� ��������� �����:

  -a [func1 func2 ...]
  -d [func1 func2 ...]
  -b
  -c
  -d [func1 func2 ...]
  -f master_file [dfile]
  -g dev_name handler | dev_name
  -j [prefix] [NEXTMAJOR]
  -l priority_level
  -m major
  -n
  -q
  -r
  -t
  -v interrupt_vector [interrupt_vector2 ...]
  -w
  -x
  -y  resource
-m, -b � -c ��� ����� ������������ ��� ������������� ������ �� �������. ����� �� ������ -m ������ ���� ������� ����� ���������� ��������. ���� �� �������������� ������� �������, �� ����� ��������� ��� ������ -b; ���� �� �� �������������� ���������� �������, �� ��� ������������� ����� -�. ��� ����� ������������ ��� ���������������� �������� � ������ ������ ����������.
-a � -d ������ �� ���� ����� �������������� ������� ����������� ��� ��������� ������� ��������������. ����� ���� ������� ���������� � bdevsw[] ��� �devsw[], ��� �������� ����� ����� �������� �������������, ������, ��������� � ����������, ���� ��� �������, ���� ����� ���������, ������ � ���������� ��������� ��������. configure ������ � �������� �������, �� ������� ��� ������� �������� ������ ����� ����� �������, ������� ������ ���� 2-4 ������� ������.
-j���� �� ���� ������ ������� �������, ������������ ���������, �� ������������� ������� ����� ����� ��������. ���� �� �� ��� ������� NEXTMAJOR, �� ��������� ����� ��������� ������� ����� ���������.
-r��� ����� ������ �������������� ���������� ������ ������������ ���������� �� ����, ������� �� � ������������ �����-���� ��������� ��� ���.
-v��� ����� ������������ ������� �������� ���������� ������� ����������. ���������� ����� ������������ �� ������� �������� ����������.
-l��� ����� ������������� ��������� ���������� ��� ������� ����������, ������� ����� ������ ��������� � ������������ ��� ������ spl(): ������� �������������� ���������� � �������������� sp5() ����� ������ ����� ��������� ���������� 5.
-q���� �������� ����� -q, �� ����� ����������� �� ���������� ������������� qswtch() ����������. ������������� ���� ����� � ����� ��������� �� �������������.
-f������������ �������������� � ������� ���� ������ ������ master � unixconf. ����� -f ����� ������������ ��� ������� ������ ����. �������� ��������, ��� ��� ������������ �����, ��� �������� ������� � ��������� ������ ��������� ��� ����� ����������� � ������������� ������.
-n���� ������������ ��� �����, �� ��� ���������� ���������������� ����� ��������������,�� ������� ������ '.o' �� ���������. ��� ����� ������� ��� ���������������� ������ ���������, ����������� ��������� ���������.
-w��� ����� ��������� ���������-��������������.
-x��� ����� ������ ������ ������ ���������� �� ���� ��������������� �������, ��������� ��� configure. ��� ���� ���������� ���, �������� � ������� �������� ������� ���������������� ���������. ��������� ��������� �� �����������.
-y��� ����� ������ ������ �������� �������� ���������� �������.
-t��� ����� �� �������� ������ (�����, ���� �����, ��������� �� �������). ������, ��� ���������� 1, ���� ��� ��������������� �������, ��������������� ���������� ����� -m, -b, -c, � 0 - ���� ������ �������� ���.
-g��� ����� ������������ ��� ���������� ��� �������� ��������-������������ ��� ��������� ������������ ����� (GIN). ��� ��������� ����� ��������� ���� ������ � ����� ��������, ��� "����", ����������� �������� � ����������, ������ "�������". ����� -g ����� ���� ������ ���� ��������, ������� ���������������� ��� ��� ����������. ��� GIN-���������� ��������� �� ���������������� ������. ���� ����� -g ��������� ��� ���������, �� ������ �� ��� ������ ���������-�����������, � ���������� ����������� � ���������������� �����. ���� ��� ��� �������, �� ��� ���������� ��������������, � ������������ ���������� ���������. ������� -g ��������� ���, ����� ��������� ��� ������� ��������� ���������.

��������� ���������� ��������� ������
� ��������� ������ ����� ���� ������� ����� ���������� ���������� ���� resource=value. ��� ��������� ����� ���� ������ ������������ � �������� �������� �� ���������� ��� ��������, �� ������ ���� ����� �� ����� ����������� ������������ �������� � ��������� ������.

��������� ������� ����� � �������� ����� �������� ���������� ������. � ���� ������ ��� �������� ������ ����������� ������ �������� \". ������� ������������� ����������, ����� ��� �������������� ��� ������ ����� ��, � �������� ����� �������� ������������ ��� ������� �� �� �������� ����������-���������.

�������
����������� ������� �������� NCLIST:

  configure -y NCLIST
���������� ������� 1, ���� �������� ������� ����� ����������� ���������� 7 � ������ 3:
  configure -t -v 7 -m 3 -c
�������� ���������� ������ �� ����� � ��������� ������������� � ��� ������������������� �������� "foo", ��������������� ����������� �������� � ������� ������ ���������� #17:
  configure -a foopoll fooinit -c -m 17
������� ������� "foo":
  configure -m 17 -d -c

�������� ���� � ������� "hypo", ������� �������� ���� � ���������� �����������. �� ���������� ��� ��������� ������� ���������� � ����������� 6:

  configure -a hypoopen hypoclose hyporead hypowrite hypoioctl\
  hypostrategy hypotab hypointr -b -c -l 6 -v 17 42 49

����������
����������� �� ������� ������ ���� �������
���� ����� ����� ���� ����������������� �������� ���������� ������� �������, �� ������ �� ��������� � �������� 64K �������� ������ ������� ���� ���� �������. �� �� ��������� ������� ��������� � ���������� ������� �� configure, �� �� ������ �������� �� �� ������������ ��� ������� ������������ ����.

�����

/usr/sys/conf/master
/usr/sys/conf/unixconf
/usr/sys/conf/config

��. �����
master(3), config(8), event(5), hdinstall(8)
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT