KR0135953B1 - Device file auto-generating method - Google Patents

Device file auto-generating method

Info

Publication number
KR0135953B1
KR0135953B1 KR1019940001367A KR19940001367A KR0135953B1 KR 0135953 B1 KR0135953 B1 KR 0135953B1 KR 1019940001367 A KR1019940001367 A KR 1019940001367A KR 19940001367 A KR19940001367 A KR 19940001367A KR 0135953 B1 KR0135953 B1 KR 0135953B1
Authority
KR
South Korea
Prior art keywords
file
board
present
lan
files
Prior art date
Application number
KR1019940001367A
Other languages
Korean (ko)
Other versions
KR950024472A (en
Inventor
이치원
Original Assignee
구자홍
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 구자홍, 엘지전자 주식회사 filed Critical 구자홍
Priority to KR1019940001367A priority Critical patent/KR0135953B1/en
Publication of KR950024472A publication Critical patent/KR950024472A/en
Application granted granted Critical
Publication of KR0135953B1 publication Critical patent/KR0135953B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/177Initialisation or configuration control

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 M20,000시스템의 TCP(Transmission control Protocal)/IP(Information Processing)통신에 관한 것으로, 특히 시스템 부팅시 장착된 랜(Local area network:LAN)보드에 대응하는 디바이스 화일을 자동으로 생성하여 시스템 관리자에게 편리성을 제공함과 아울러 보드의 이상유무를 조기에 발견하여 이의 적절한 조치를 취하도록 한 디바이스 화일 자동생성 방법에 관한 것이다.The present invention relates to Transmission Control Protocol (TCP) / Information Processing (IP) communication of an M20,000 system, and in particular, automatically generates a device file corresponding to a local area network (LAN) board mounted at system boot. In addition to providing convenience to the system administrator, the present invention relates to a method for automatically generating a device file that detects a board abnormality and takes appropriate action.

이러한 본 발명의 목적은 시스템 부팅시 기존의 LAN 관련 디바이스 화일을 모두 소거한 후 디바이스 풀(pool)에 정의된 디바이스 화일을 검색하여 보드의 장착유무를 판단하는 단계와, 상기 장착된 보드의 ID에 따라 해당 디바이스 화일을 생성하는 단계와, 상기 생성된 디바이스 화일 각각에 대한 dlce 인터페이스 모듈을 /etc/strcf 화일에 삽입한후 세트업하고 종료하는 단계를 실행시킴으로써 달성되어진다.The purpose of the present invention is to erase all existing LAN-related device files at system booting time and then determine whether the board is mounted by searching the device files defined in the device pool, and determining the ID of the mounted board. Accordingly, the step of generating a corresponding device file and inserting the dlce interface module for each of the generated device files into the / etc / strcf file, and then setting up and ending the file.

Description

디바이스 화일 자동생성 방법How to Automatically Create Device Files

제1도는 본 발명이 적용되는 M20,000시스템 구성도.1 is a schematic diagram of an M20,000 system to which the present invention is applied.

제2도는 본 발명 디바이스 화일 자동생성 신호흐름도.2 is a signal flow diagram of a device file auto-generation according to the present invention.

*도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

120:중앙처리장치20:입출력 프로세서120: central processing unit 20: input and output processor

30∼60:제1 내지 제4랜보드30 to 60: first to fourth LAN boards

본 발명은 M20,000시스템의 TCP(Transmission control Protocal)/IP(Information Processing)통신에 관한 것으로, 특히 시스템 부팅시 장착된 랜(Local area network:LAN)보드에 대응하는 디바이스 화일을 자동으로 생성하여 시스템 관리자에게 편리성을 제공함과 아울러 보드의 이상유무를 조기에 발견하여 이의 적절한 조치를 취하도록 한 디바이스 화일 자동생성 방법에 관한 것이다.The present invention relates to Transmission Control Protocol (TCP) / Information Processing (IP) communication of an M20,000 system, and in particular, automatically generates a device file corresponding to a local area network (LAN) board mounted at system boot. In addition to providing convenience to the system administrator, the present invention relates to a method for automatically generating a device file that detects a board abnormality and takes appropriate action.

종래의 M20,000시스템에 있어 TCP/IP 통신은 장착된 LAN 보드에 따라 해당 디바이스 화일을 직접 만들어 사용하였다.In the conventional M20,000 system, TCP / IP communication was used to directly create the device file according to the installed LAN board.

따라서 보드의 추가 장착시 보드의 ID(Φ∼3의 값을 가진다)명에 따라 해당 디바이스 화일을 새로이 만들어야 한다.Therefore, when the board is additionally installed, the device file must be newly created according to the ID of the board (having Φ ~ 3).

일예로써 보드 ID명이 2인 LAN 보드가 추가로 장착된 경우에는 해당 디바이스 화일인 /dev/ci/m37×_2를 mknod 명령어를 사용하여 직접 만들어주게 된다.For example, if an additional LAN board with a board ID of 2 is installed, the device file / dev / ci / m37 × _2 can be directly created using the mknod command.

즉, #mknod/dev/ci/m37×_2 major # minor#.That is, # mknod / dev / ci / m37 × _2 major # minor #.

아래의 내용은 각 보드 ID에 따른 LAN 관련 디바이스 화일을 나타낸 것이다.The following shows LAN related device files according to each board ID.

제1입출력 프로세서(IOPΦ)에 장착된 LAN 보드LAN board mounted on the first I / O processor (IOPΦ)

ID 디바이스 화일ID device file

Φ/dev/cim37×_ΦΦ / dev / cim37 × _Φ

1/dev/ci/m37×_11 / dev / ci / m37 × _1

2/dev/ci/m37×_22 / dev / ci / m37 × _2

3/dev/ci/m37×_33 / dev / ci / m37 × _3

제2입출력 프로세서(TOP1)에 장착된 LAN 보드LAN board mounted on the second I / O processor TOP1

ID 디바이스 화일ID device file

Φ/dev/ci/m37×_4Φ / dev / ci / m37 × _4

1/dev/ci/m37×_51 / dev / ci / m37 × _5

2/devci/m37×_62 / devci / m37 × _6

3/dev/ci/m37×_73 / dev / ci / m37 × _7

그러나 이러한 종래의 M20,000시스템의 TCP/IP 통신 방법은 보드의 추가 장착시 해당 보드의 ID에 따라 디바이스 화일을 직접 만들어야 한다.However, in the conventional TCP / IP communication method of the M20,000 system, when additionally installing a board, a device file must be manually created according to the ID of the board.

따라서 이를 이용하고자 하는 부분, STREAMS 모듈의 연관관계를 정의하고 있는 /etc/strcf/script 화일도 직접 조정해 주어야 한다.Therefore, you need to adjust the / etc / strcf / script file that defines the part of using it and the association of STREAMS module.

이는 보드의 추가 장착시 해당 인터페이스 모듈인 dlce를 추가해 주어야 하는 불편함이 있다.This is inconvenient to add the interface module dlce when additional boards are installed.

따라서 본 발명의 목적은 시스템 부팅시 장착된 LAN 보드에 대응하는 디바이스 화일을 자동으로 생성하여 시스템 관리자에게 편리성을 제공함과 아울러 보드의 이상유무를 조기에 발견하여 이의 적절한 조치를 취하도록 디바이스 화일 자동생성 방법을 제공함에 있다.Accordingly, an object of the present invention is to automatically generate a device file corresponding to a LAN board mounted at system booting, to provide convenience to the system administrator, and to automatically detect device abnormalities and take appropriate measures. The present invention provides a method.

이러한 본 발명의 목적은 시스템 부팅시 기존의 LAN 관련 디바이스 화일을 모두 소거한 후 디바이스 풀에 있는 모든 디바이스 화일을 검색하여 보드의 장착유무를 판단하는 단계와, 상기 장착된 보드의 ID에 따라 해당 디바이스 화일을 생성하는 단계와, 상기 생성된 디바이스 화일 각각에 대한 dlce 인터페이스 모듈을 /etc/strcf 화일에 삽입한후 세트업하고 종료하는 단계를 실행시킴으로써 달성되는 것으로, 이하 본 발명을 첨부한 도면에 의거 상세히 설명하면 다음과 같다.The object of the present invention is to erase all the existing LAN-related device files at system booting and to determine whether the board is mounted by searching all the device files in the device pool, and the corresponding device according to the ID of the mounted board It is achieved by executing a step of generating a file, and setting up and terminating the dlce interface module for each of the generated device files in the / etc / strcf file, according to the present invention. It will be described in detail as follows.

제1도는 본 발명이 적용되는 M20,000시스템 구성도로서, 이에 도시한 바와 같이 중앙처리장치(10)와, 상기 중앙처리장치(10)의 인터페이스를 행하고, 각각의 LAN 보드(30∼60) 장착유무를 검색하여 그 결과값을 상기한 중앙처리장치(10)에 알리는 입출력 프로세서(20)로 구성된다.1 is an M20,000 system configuration to which the present invention is applied. As shown in FIG. 1, an interface between the central processing unit 10 and the central processing unit 10 is performed, and respective LAN boards 30 to 60 are shown. It is composed of an input and output processor 20 to search for the presence of the mounting and to inform the CPU 10 of the result.

이와 같이 구성된 M20,000시스템을 참조하여 본 발명을 상세히 설명하면 다음과 같다.The present invention will be described in detail with reference to the M20,000 system configured as described above.

본 발명에 적용되는 M20,000시스템에서는 하나의 입출력 프로세서당 4장의 LAN 보드를 장착할 수 있으며 본 발명에서는 디바이스 풀(poo)의 정의에 의해 2장의 입출력 프로세서를 지원할 수 있도록 8개의 디바이스 화일이 존재한다.In the M20,000 system applied to the present invention, four LAN boards can be installed per one I / O processor. In the present invention, eight device files exist to support two I / O processors by definition of a device poo. do.

디바이스 풀(pool)의 정의Device pool definition

이와 같이 디바이스 풀(pool)을 정의한 상태에서 시스템 부팅시 상기에서 정의한 디바이스 풀에서 차례로 각 디바이스 화일에 대해 실제로 보드의 장착 여부를 open 함수를 이용하여 검사를 하게 된다.In this way, when the system is booted with the device pool defined, the device pool is checked in the device pool defined above by using the open function.

이 검색결과 open이 성공되는 디바이스 화일에는 LAN 보드가 장착되어 있다는 것을 알 수 있으며, 이러한 결과에 따라 open이 성공되는 LAN 보드의 해당 디바이스 화일의 /dev/ci 디렉토리에 m37×[Φ∼7] 형태의 이름을 가진 디바이스 화일로 링크한다.As a result of this search, it can be seen that the LAN file is installed in the device file that opens successfully. According to these results, m37 × [Φ ~ 7] is displayed in the / dev / ci directory of the device file of the LAN board that is opened successfully. Link to a device file with the name

이후 /dev/di 디렉토리에 만들어진 디바이스에 의해서 각각에 대한 dlce 인터페이스 모듈을 /etc/strcf 화일에 넣어 주어야 하는데 이는 strcf 함수를 이용한다.After that, you need to put the dlce interface module for each one in the / etc / strcf file by the device created in the / dev / di directory, using the strcf function.

이와 같은 과정으로 /etc/strcf 화일에 dlce 항목을 삽입하게 되면, 스트림즈 링커인 slink 명령어를 사용하여 환경을 세트업(set-up)하게 되는 것이다.If you insert a dlce entry into the / etc / strcf file, you will set up the environment using the streams linker slink command.

이상에서 상세히 설명한 바와 같이 본 발명은 시스템 부팅시 장착된 보드의 ID에 대응한 디바이스 화일을 자동으로 생성할 수 있어 시스템 관리자에게 편리성을 제공할 수 있고, 보드의 이상유무를 조기에 발견할 수 있어 이의 적절한 조치를 취할 수 있도록 시스템 확장시 시스템 관리자에게 편리성을 제공할 수 있는 효과가 있다.As described in detail above, the present invention can automatically generate a device file corresponding to the ID of a board mounted at system booting, provide convenience to a system administrator, and detect board abnormality early. Therefore, there is an effect that can provide convenience to the system administrator when the system is expanded to take appropriate measures.

Claims (2)

시스템 부팅시 기종의 LAN 관련 디바이스 파일을 모두 소거한 후 디바이스 풀(POOL)에 정의된 디바이스 파일을 검색하여 보드의 장착유무를 판단하는 단계와, 상기 장착된 보드의 ID에 따라 해당 디바이스 화일을 생성하는 단계와, 상기 생성된 디바이스 화일 각각에 대한 인터페이스 모듈을 사용가능하도록 특정화일에 삽입한후 세트업하고 종료하는 단계로 이루어짐을 특징으로 한 디바이스 화일 자동생성방법.After deleting all LAN-related device files at system booting, search for device boards defined in the device pool to determine whether boards are installed, and generate corresponding device files according to the IDs of the boards installed. And inserting an interface module for each of the generated device files into a specific file so as to be usable, and setting up and ending the device file. 제1항에 있어서, 상기 보드의 장착유무를 판단하는 단계는 디바이스 화일을 여는 함수를 사용하여 성공되는 디바이스 화일에 LAN 보드가 장착되었음을 인식하는 것을 특징으로 한 디바이스 화일 자동생성방법.The method of claim 1, wherein the determining whether the board is mounted comprises recognizing that the LAN board is mounted in a successful device file by using a function of opening a device file.
KR1019940001367A 1994-01-26 1994-01-26 Device file auto-generating method KR0135953B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940001367A KR0135953B1 (en) 1994-01-26 1994-01-26 Device file auto-generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940001367A KR0135953B1 (en) 1994-01-26 1994-01-26 Device file auto-generating method

Publications (2)

Publication Number Publication Date
KR950024472A KR950024472A (en) 1995-08-21
KR0135953B1 true KR0135953B1 (en) 1998-06-15

Family

ID=19376247

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940001367A KR0135953B1 (en) 1994-01-26 1994-01-26 Device file auto-generating method

Country Status (1)

Country Link
KR (1) KR0135953B1 (en)

Also Published As

Publication number Publication date
KR950024472A (en) 1995-08-21

Similar Documents

Publication Publication Date Title
US5815683A (en) Accessing a remote cad tool server
US6684397B1 (en) Auto-install apparatus and method
US20060123410A1 (en) Method and apparatus for defining, building and deploying pluggable and independently configurable install components
KR0135953B1 (en) Device file auto-generating method
Cisco Cisco IOS Software Survival Skills
Cisco Command-Line Interfaces
Cisco Command-Line Interfaces
Cisco Using Cisco IOS Software
Cisco Command-Line Interfaces
US6957179B2 (en) On-chip emulator communication
Cisco Getting Started with the Cisco Application Editor
Cisco Command-Line Interfaces
Cisco Command-Line Interfaces
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software
Cisco Using Cisco IOS Software

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090120

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee