JP2001142759A - Method for performing access to file system - Google Patents

Method for performing access to file system

Info

Publication number
JP2001142759A
JP2001142759A JP32500599A JP32500599A JP2001142759A JP 2001142759 A JP2001142759 A JP 2001142759A JP 32500599 A JP32500599 A JP 32500599A JP 32500599 A JP32500599 A JP 32500599A JP 2001142759 A JP2001142759 A JP 2001142759A
Authority
JP
Japan
Prior art keywords
file
file system
directory
hierarchical directory
hierarchical
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP32500599A
Other languages
Japanese (ja)
Inventor
Hiroshi Fukuoka
博 福岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP32500599A priority Critical patent/JP2001142759A/en
Publication of JP2001142759A publication Critical patent/JP2001142759A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To unnecessitate the change of a program for the operation of a hierarchical directory, which is required in a conventional manner, when the program which is operated in a computer system having the hierarchical directory and which includes API using the hierarchical directory is implanted onto a computer not having the hierarchical directory, and moreover, to operate even an existing file by the similar API. SOLUTION: A hierarchical directory interchangeable file system for mapping with a conventional file system, an API processing program for performing access to the hierarchical directory, a plane file for storing the plurality of files in one conventional file and a table for managing device information or mapping information of the hierarchical directory interchangeable file system and the actual file are arranged in the computer system which does not have the hierarchical directory.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、計算機システムの
ファイルシステムに関するものであり、特に階層ディレ
クトリを持たない計算機システムにおけるファイルシス
テムを操作するインタフェースに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file system of a computer system, and more particularly to an interface for operating a file system in a computer system having no hierarchical directory.

【0002】[0002]

【従来の技術】図7で示すような、階層ディレクトリを
持つ計算機システム7−1上で階層ディレクトリを使用
するAPI及びその処理プログラム7−3を使ったAP
(アプリケーションプログラム)7−2を階層ディレク
トリを持たない計算機システム7−5上へ移植する場
合、階層ディレクトリを持たない計算機システムには階
層ディレクリ構造を持たない順データセット7−7や、
区分データセット7−8といった非階層ディレクトリ構
造のファイルシステムしかないため、移植するAP7−
6の中で階層ディレクトリを使用するAPIを使用して
いる箇所に、なんらかの改造を施して実行させていた。
2. Description of the Related Art As shown in FIG. 7, an API using a hierarchical directory on a computer system 7-1 having a hierarchical directory and an AP using a processing program 7-3 thereof.
(Application Program) When porting 7-2 to a computer system 7-5 having no hierarchical directory, a computer system having no hierarchical directory has a sequential data set 7-7 having no hierarchical directory structure,
Since there is only a file system with a non-hierarchical directory structure such as a partitioned data set 7-8, the AP 7
6, the part using the API that uses the hierarchical directory is modified and executed.

【0003】一方、階層ディレクトリを持たないファイ
ルシステムを階層ディレクトリを持つファイルシステム
として扱う技術としては、特開平9−114724に記
載のような区切り文字をディレクトリとして変換し、例
えば、“DIR1.FILE1”というファイルを“/
DIR1/FILE1”というように変換し、ネットワ
ークに接続されたクライアント計算機システムから操作
するといった、いわば、階層ディレクトリを持たないフ
ァイルシステムを階層ディレクトリを持つファイルシス
テムのように見せかける方法が考えられていた。
On the other hand, as a technique for treating a file system having no hierarchical directory as a file system having a hierarchical directory, a delimiter as described in Japanese Patent Application Laid-Open No. Hei 9-114724 is converted as a directory, for example, "DIR1.FILE1". The file "/
For example, a method has been considered in which a file system having no hierarchical directory is made to look like a file system having a hierarchical directory, for example, by converting the file system into a file system having a hierarchical directory by converting the file system into a file system having a hierarchical directory, such as DIR1 / FILE1 and operating from a client computer system connected to a network.

【0004】このように、階層ディレクトリを持たない
計算機システムにおいては、ファイルシステムの構造
や、旧システムとの互換性を考慮すると、階層ディレク
トリを持たせることは困難であり、上述したような非階
層ディレクトリ構造のファイルシステムを、見かけ上の
階層ディレクトリ構造に見えるような方法で解決してい
た。
As described above, in a computer system having no hierarchical directory, it is difficult to provide a hierarchical directory in consideration of the structure of a file system and compatibility with an old system. The directory-structured file system was resolved in a way that made it look like an apparently hierarchical directory structure.

【0005】また、PC/WSで一般的に使用されてい
る階層ディレクトリ構造のファイルシステムは、ディレ
クトリ情報と各ファイルのデータを同一のファイルシス
テム内に持つ形式をとっている。
A file system having a hierarchical directory structure generally used in PC / WS has a format in which directory information and data of each file are stored in the same file system.

【0006】[0006]

【発明が解決しようとする課題】上記の方法では、変換
機構を用いており、実際には階層ディレクトリが存在し
ないため、近似的な階層ディレクトリの操作は可能であ
った。しかし、細部にまでは及ばず、例えば、ディレク
トリ毎にアクセス権を設定したり、ディレクトリにユー
ザ情報を設定したり、といったことは実行できず、結
局、APの階層ディレクトリAPIを使用している箇所
に、なんらかの改造が必要であった。
In the above method, a conversion mechanism is used, and since a hierarchical directory does not actually exist, an approximate hierarchical directory operation was possible. However, it is not possible to set an access right for each directory, set user information in the directory, and the like, and it is not possible to execute details. In addition, some remodeling was necessary.

【0007】また、PC/WSで一般的に使用されてい
る階層ディレクトリ構造のファイルシステムは、ファイ
ルシステム内にファイルのデータを持つ形式となってい
るため、データの格納形式やファイルシステムの種類が
異なる既存の非階層ディレクトリ構造のファイルシステ
ムとの間に、全く互換性がない。このため単純にPC/
WSで一般的に使用されている階層ディレクトリ構造の
ファイルシステムを実装したのでは、これまで利用して
きた既存の非階層ディレクトリ構造のファイルシステム
を全く使用できないという問題があった。
Further, since a file system having a hierarchical directory structure generally used in PC / WS has a format in which file data is stored in the file system, the data storage format and the type of file system are different. There is no compatibility between different existing non-hierarchical directory structure file systems. For this reason, PC /
Implementing a file system having a hierarchical directory structure generally used in WS has a problem that the existing file system having a non-hierarchical directory structure cannot be used at all.

【0008】本発明では、階層ディレクトリを持つ計算
機システム上で動作する、階層ディレクトリを使用する
APIを含むプログラムを、階層ディレクトリを持たな
い計算機上に移植する場合、従来必要であった階層ディ
レクトリを操作する箇所のプログラムの変更を不要に
し、さらに、既存のファイルについても同様なAPIで
操作可能とすることを目的とする。
According to the present invention, when a program, which operates on a computer system having a hierarchical directory and uses an API that uses a hierarchical directory, is ported to a computer having no hierarchical directory, the hierarchical directory conventionally required is manipulated. It is an object of the present invention to make it unnecessary to change a program at a location where the file is to be changed, and to enable an existing file to be operated with a similar API.

【0009】[0009]

【課題を解決するための手段】上記の目的は、階層ディ
レクトリを持たない計算機システムに、従来のファイル
システムとマッピングする階層ディレクトリ互換ファイ
ルシステム、階層ディレクトリをアクセスするためのA
PI処理プログラム、複数のファイルを従来の1ファイ
ルに格納するプレーンファイル、階層ディレクトリ互換
ファイルシステムと実際のファイルのデバイス情報やマ
ッピング情報を管理するテーブルを設け、アプリケーシ
ョンプログラムからファイルにアクセスする際に、プレ
ーンファイル、既存ファイルを含むファイルの種別を判
定し、ファイル種別に応じたアクセス方式及びデータ格
納形式でファイルにアクセスすることによって達成され
る。
An object of the present invention is to provide a computer system having no hierarchical directory, a hierarchical directory compatible file system for mapping with a conventional file system, and an A for accessing a hierarchical directory.
A PI processing program, a plain file for storing a plurality of files in a conventional file, a table for managing a hierarchical directory compatible file system and device information and mapping information of actual files are provided. When an application program accesses a file, This is achieved by determining the type of a file including a plain file and an existing file, and accessing the file using an access method and a data storage format according to the file type.

【0010】[0010]

【発明の実施の形態】本発明の実施例の構成を図1に示
す。階層ディレクトリを持たない計算機システム1−1
(例えばメインフレーム等)には階層ディレクリ構造を
持たない順データセット1−7や、区分データセット1
−6といった非階層ディレクトリ構造の従来のファイル
システムが存在する。このような従来のファイルシステ
ムを階層ディレクトリ構造のファイルシステムとして扱
えるよう、従来のファイルシステムとマッピングした、
階層ディレクトリ互換ファイルシステム1−5を用意す
る。
FIG. 1 shows the configuration of an embodiment of the present invention. Computer system 1-1 without hierarchical directory
(For example, a mainframe or the like) includes a sequential data set 1-7 having no hierarchical directory structure and a partitioned data set 1
A conventional file system having a non-hierarchical directory structure such as -6 exists. Such a conventional file system is mapped to a conventional file system so that it can be treated as a file system having a hierarchical directory structure.
A hierarchical directory compatible file system 1-5 is prepared.

【0011】また、一般に、階層ディレクトリ構造のフ
ァイルシステムでは、データをレコードいっぱいに埋め
るプレーンファイルを使用している。このような、デー
タ格納形式を持つファイルシステムは従来のファイルシ
ステムに存在しないため、このプレーンファイル1−8
も用意する。
In general, a file system having a hierarchical directory structure uses a plain file that fills data to fill a record. Since a file system having such a data storage format does not exist in a conventional file system, the plain file 1-8
Also prepared.

【0012】また、階層ディレクトリを使用するAPI
を含むAP1−2からファイルシステムにアクセスでき
るよう、そのAPI及びAPI処理プログラム1−3を
用意する。このAPI処理プログラムはファイルシステ
ム全体を管理するテーブル1−4を使用する。
An API using a hierarchical directory
The API and the API processing program 1-3 are prepared so that the file system can be accessed from the AP 1-2 including the API. This API processing program uses a table 1-4 for managing the entire file system.

【0013】ここで、API処理プログラム1−3につ
いて図2を用いて説明する。API処理プログラムに
は、APIに指定されたアクセスするファイルのパス名
を解析するパス名解析手段2−1、対象ファイルがどの
ディレクトリ下にあるかを検索するディレクトリ検索手
段2−2、ディレクトリの追加や削除などによりディレ
クトリ情報が変更となった場合に内部のテーブルを更新
するテーブル操作手段2−3、プレーンファイルまたは
既存の種々のファイルシステムかどうかをテーブルの情
報から判定するファイルシステム種別判定手段2−4、
実際のファイルのアクセス方法はファイルシステムによ
って違うためそれぞれのファイルシステムに応じたファ
イルシステムアクセス手段2−5、2−6、ディレクト
リ下にあるファイルの情報を記憶するテーブルを検索す
るファイル情報検索手段2−7が含まれる。これらの手
段が管理テーブル1−4を使用することによって、本発
明を実現可能としている。
Here, the API processing program 1-3 will be described with reference to FIG. The API processing program includes a path name analysis unit 2-1 for analyzing a path name of a file to be accessed specified in the API, a directory search unit 2-2 for searching under which directory a target file is located, and adding a directory. Operating means 2-3 for updating an internal table when directory information is changed due to deletion or deletion, etc., and file system type determining means 2 for determining whether a file is a plain file or an existing various file system from information of the table. -4,
Since the actual file access method differs depending on the file system, the file system access means 2-5 and 2-6 corresponding to each file system, and the file information search means 2 for searching a table storing information of files under a directory. -7 is included. These means make the present invention feasible by using the management tables 1-4.

【0014】次に、ファイルシステムを管理するテーブ
ル1−4の詳細について図3を使って説明する。階層デ
ィレクトリ互換ファイルシステムには、実際にファイル
にアクセスする際に必要となる、非階層ディレクトリ構
造のファイルシステムに関するボリューム情報や、デバ
イス情報等を、ファイルシステム管理テーブル3−1に
よって管理する。これは、従来の非階層ディレクトリ構
造のファイルには順データセット、区分データセット、
その他、様々な形式があり、一般的に、そのアクセス方
法はそれぞれ違ったものであるため、このテーブルは必
要不可欠なものである。
Next, the details of the table 1-4 for managing the file system will be described with reference to FIG. The hierarchical directory compatible file system manages volume information, device information, and the like relating to a file system having a non-hierarchical directory structure, which are necessary when actually accessing a file, using the file system management table 3-1. This is because the traditional non-hierarchical directory structure files are
This table is indispensable because there are various other formats and access methods are generally different from each other.

【0015】ディレクトリ名や、ディレクトリの親子関
係等、ディレクトリに関する情報は、ディレクトリ管理
テーブル3−2によって管理する。APIからディレク
トリ操作をする際は、このテーブルのデータの内容を更
新する。また、ディレクトリ直下のファイル情報をポイ
ントしており、ディレクトリ名を含むファイルの検索に
使用する。
Information on the directory, such as the directory name and the parent-child relationship of the directory, is managed by the directory management table 3-2. When performing a directory operation from the API, the contents of the data in this table are updated. It also points to file information immediately below the directory and is used to search for files containing directory names.

【0016】ファイルの保護情報や、ファイルサイズ、
非階層ディレクトリ構造のファイルシステム内にある、
実際のファイルをマッピングするための情報は、ファイ
ル管理テーブル3−3によって管理する。従来のファイ
ルシステムに対する互換性等を考慮しない場合は、実際
のファイルの内容を、この階層ディレクトリ互換ファイ
ルシステムに格納すれば良いが、従来の非階層ディレク
トリ構造のファイルシステムを操作可能とするために
は、マッピングするための情報を記憶する必要がある。
File protection information, file size,
In a file system with a non-hierarchical directory structure,
Information for mapping an actual file is managed by the file management table 3-3. If compatibility with the conventional file system is not taken into consideration, the contents of the actual file may be stored in this hierarchical directory compatible file system. Need to store information for mapping.

【0017】次に本実施例の動作について、APからデ
ィレクトリを作成する例と、APからディレクトリ名を
含むファイルにデータを書込む例について、図4、図5
を使って説明する。まず、APからディレクトリを作成
する例について説明する。APからディレクトリを作成
するAPI(mkdir())が呼び出される(4−
1)と、階層ディレクトリAPI処理プログラムは、指
定されたディレクトリ名をパス名解析手段2−1により
解析し、ディレクトリ管理テーブルから、ディレクトリ
検索手段2−2により該当するディレクトリの情報を検
索する(4−2)。
Next, with respect to the operation of the present embodiment, FIGS. 4 and 5 show an example in which a directory is created from an AP and an example in which data is written from an AP to a file containing a directory name.
I will explain using. First, an example of creating a directory from an AP will be described. An API (mkdir ()) for creating a directory is called from the AP (4-
1), the hierarchical directory API processing program analyzes the specified directory name by the path name analysis means 2-1 and searches the directory management table for information on the corresponding directory by the directory search means 2-2 (4). -2).

【0018】ディレクトリが既に存在するかを判定し
(4−3)、存在する場合はエラー(4−6)となり、
ディレクトリは作成しない。指定されたディレクトリが
存在しない場合は、ディレクトリ管理テーブルにテーブ
ル操作手段2−3によりディレクトリ情報を追加し(4
−5)、ディレトクリの作成は完了する(4−6)。
It is determined whether the directory already exists (4-3). If the directory exists, an error (4-6) occurs, and
Do not create directories. If the specified directory does not exist, the directory operation table 2-3 adds directory information to the directory management table (4).
-5), the creation of the directory is completed (4-6).

【0019】次に、APからディレクトリ名を含むファ
イルにデータを書込む例について説明する。APからデ
ータを書込むAPI(write())が呼び出される
(5−1)と、階層ディレクトリAPI処理プログラム
は、ディレクトリの作成処理同様、指定されたディレク
トリ名をパス名解析手段2−1により解析し、ディレク
トリ管理テーブルから、ディレクトリ検索手段2−2に
より該当するディレクトリの情報を検索する(5−
2)。ここで、ディレクトリが存在しないなどのエラー
ケースはあるが、本筋ではないので省略する。ディレク
トリ情報が見つかると、ファイル情報検索手段2−7に
よりディレクトリ情報から該当するファイル管理テーブ
ルを検索する(5−3)。データの書込み処理は、該当
するファイルの属するファイルシステムの種類によって
違うため、ファイル管理テーブルからポイントされた、
ファイルシステム管理テーブルの属性によって、ファイ
ルシステム判定手段2−4によりファイル種別を判定す
る(5−4)。従来のデータセットである場合は、ファ
イルシステム管理テーブルに格納された、ファイルシス
テムに関する情報を使用し、従来のデータセットにファ
イルシステムアクセス手段2−5により従来のデータ格
納形式でデータを書込む(5−5)。ファイルの種別が
プレーンファイルである場合は、ファイルシステム管理
テーブルに格納された、ファイルシステムに関する情報
を使用し、今度は、ファイルシステムアクセス手段2−
6によりプレーンファイル用の処理及びデータ格納形式
でデータを書込む。一連の処理が完了すると、データの
書込みは完了である(5−6)。このように。ファイル
の種別によって、データ構造、処理方式を振分けること
で、従来のファイルシステムのアクセスを保証しつつ、
階層ディレクトリ構造のファイルシステムのアクセスも
可能としている。
Next, an example of writing data from an AP to a file including a directory name will be described. When an API (write ()) for writing data is called from the AP (5-1), the hierarchical directory API processing program analyzes the specified directory name by the path name analysis means 2-1 as in the directory creation processing. Then, the directory search means 2-2 searches the directory management table for information on the corresponding directory (5-
2). Here, there are error cases such as the directory does not exist, but the description is omitted because it is not the main subject. When the directory information is found, the corresponding file management table is searched from the directory information by the file information search means 2-7 (5-3). Since the data writing process differs depending on the type of the file system to which the corresponding file belongs,
The file type is determined by the file system determination means 2-4 according to the attribute of the file system management table (5-4). If the data set is a conventional data set, the file system access unit 2-5 writes the data in the conventional data set in the conventional data storage format using the information on the file system stored in the file system management table ( 5-5). If the type of the file is a plain file, the information about the file system stored in the file system management table is used.
6, data is written in a plain file processing and data storage format. When a series of processing is completed, data writing is completed (5-6). in this way. By allocating the data structure and processing method according to the type of file, while guaranteeing access to the conventional file system,
It also allows access to a file system with a hierarchical directory structure.

【0020】以上、述べたような方法で、ディレクトリ
の操作は可能であるが、階層ディレクトリ構成のファイ
ルシステムでは、一般に、プレーンファイルを使用して
いるため、階層ファイル構造のファイルシステムを使用
するAPを改造なしに動作させるためには、この点に関
しても、考慮する必要がある。この点について図6を使
って説明する。順データセットや区分データセットとい
った従来のファイルシステムでは、プレーンファイルと
違い、あらかじめ、ファイル毎にファイルサイズを利用
者が指定する方式を採用している6−4。また、そのデ
ータ格納形式は、1つの文字列を1レコードずつに格納
する形式である6−3。しかし、プレーンファイルの場
合、ファイルサイズをユーザが指定することもなく、ま
た、データの格納形式は、改行コードなど文字列の区切
りをレコード内に格納し、1レコードいっぱいにデータ
を格納する形式である6−1。データ格納形式の違いは
ファイルシステムアクセス手段2−5、2−6の違いに
よって解決できるが、1ファイル=1データセット(従
来の1ファイル)としたのでは、ファイルサイズをあら
かじめ定義する必要があり、APに改造は必要ないが、
ユーザが、あらかじめファイルサイズを定義する必要が
ある。この問題を解決するため、ファイルサイズを自由
に管理できるよう、複数ファイル=1データセットとし
た6−2。処理プログラムがファイルサイズを管理する
ことで、利用者がファイル毎にファイルサイズを指定す
る必要はなくなる。
Although the directory can be manipulated by the method described above, a file system having a hierarchical directory structure generally uses plain files, and thus an AP using a file system having a hierarchical file structure. In order for this to work without modification, this point also needs to be considered. This will be described with reference to FIG. In a conventional file system such as a sequential data set or a divided data set, unlike a plain file, a method in which a user specifies a file size for each file in advance is adopted 6-4. The data storage format is a format for storing one character string for each record 6-3. However, in the case of a plain file, the file size does not need to be specified by the user, and the data is stored in a format in which a character string delimiter such as a line feed code is stored in a record, and data is stored in one record. 6-1. The difference in the data storage format can be solved by the difference between the file system access means 2-5 and 2-6. However, if 1 file = 1 data set (conventional 1 file), the file size needs to be defined in advance. , AP does not need remodeling,
The user needs to define the file size in advance. In order to solve this problem, a plurality of files = 1 data set is set so that the file size can be freely managed 6-2. Since the processing program manages the file size, the user does not need to specify the file size for each file.

【0021】[0021]

【発明の効果】階層ディレクトリを持つ計算機システム
上で動作する階層ディレクトリを操作するAPIを含む
プログラムを、階層ディレクトリを持たない計算機上に
移植する場合、従来必要であった、階層ディレクトリを
操作する箇所のプログラムの変更が不要となる。
According to the present invention, when a program including an API for operating a hierarchical directory operating on a computer system having a hierarchical directory is ported to a computer having no hierarchical directory, a portion for operating the hierarchical directory which has been conventionally required. No program change is required.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明実施例を示した構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】本発明実施例の階層ディレクトリAPI処理プ
ログラムの機能構成図である。
FIG. 2 is a functional configuration diagram of a hierarchical directory API processing program according to the embodiment of the present invention.

【図3】本発明実施例のテーブル図である。FIG. 3 is a table diagram of the embodiment of the present invention.

【図4】本発明実施例のテーブル構造を示す図である。FIG. 4 is a diagram showing a table structure according to the embodiment of the present invention.

【図5】本発明実施例のデータの内容を示す図である。FIG. 5 is a diagram showing the contents of data according to the embodiment of the present invention.

【図6】プレーンファイルと従来デーダットのデータ格
納形式の違いを示す図である。
FIG. 6 is a diagram showing the difference between the data storage format of a plain file and that of a conventional data.

【図7】従来の方法を示す図である。FIG. 7 is a diagram showing a conventional method.

【符号の説明】[Explanation of symbols]

1−1…階層ディレクトリを持たない計算機システム、
1−2…階層ディレクトリを操作するAPIを含むA
P、1−3…階層ディレクトリを使用するAPI処理プ
ログラム、1−4…ファイルシステムの管理テーブル、
1−5…階層ディレクトリ互換ファイルシステム、1−
6…区分データセット、1−7…順データセット、1−
8…プレーンファイル、2−1・2−2・2−3・2−
4・2−5・2−6・2−7…階層ディレクトリAPI
処理プログラムに含まれる手段、3−1…ファイルシス
テム管理テーブル、3−2…ディレクトリ管理テーブ
ル、3−3…ファイル管理テーブル、6−1…プレーン
ファイルのデータ格納形式、6−2…ファイルサイズ可
変のファイルシステム、6−3…従来のデータ格納形
式、6−4…ファイルサイズ固定のファイルシステム、
7−1…階層ディレクトリを持つ計算機システム、7−
2…階層ディレクトリを操作するAPIを含むAP、7
−3…階層ディレクトリを使用するAPI処理プログラ
ム、7−4…階層ディレクトリ構造ファイルシステム、
7−5…階層ディレクトリを持たない計算機システム、
7−6…改造が必要な階層ディレクトリを操作するAP
Iを含むAP、7−7…順データセット、7−8…区分
データセット。
1-1: Computer system without hierarchical directory,
1-2.. A including API for operating hierarchical directory
P, 1-3 ... an API processing program using a hierarchical directory, 1-4 ... a file system management table,
1-5: Hierarchical directory compatible file system, 1-
6 ... Segment data set, 1-7 ... Order data set, 1-
8 Plain file, 2-1, 2-2, 2-3, 2-
4.2-2-5 ・ 2-6 ・ 2-7 ... Hierarchical directory API
Means included in the processing program, 3-1: File system management table, 3-2: Directory management table, 3-3: File management table, 6-1: Data storage format of plane file, 6-2: Variable file size 6-3: conventional data storage format, 6-4: fixed file size file system,
7-1: Computer system having hierarchical directory, 7-
2 ... AP including API for operating hierarchical directory, 7
-3: an API processing program using a hierarchical directory, 7-4: a hierarchical directory structure file system,
7-5: Computer system without hierarchical directory
7-6 AP that operates hierarchical directory requiring remodeling
AP including I, 7-7... Sequential data set, 7-8.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 非階層ディレクトリ構造の第一のファイ
ルシステムを持ち、階層ディレクトリを持たない計算機
システムにおいて、第一のファイルシステムとマッピン
グする階層ディレクトリを持つ第二のファイルシステ
ム、階層ディレクトリをアクセスするためのAPI処理
プログラム、第二のファイルシステムと第一のファイル
システムのファイルとのマッピング情報やデバイス情報
を管理するテーブルを設け、アプリケーションプログラ
ムから第二のファイルシステムのマッピング情報を通じ
第一のファイルシステムのファイルにアクセスする時
に、第一のファイルシステムの該ファイルのファイル種
別を判定し、ファイル種別に応じたアクセス方式及びデ
ータ格納形式で該ファイルにアクセスする、ファイルシ
ステムアクセス方法。
In a computer system having a first file system having a non-hierarchical directory structure and having no hierarchical directory, a second file system having a hierarchical directory mapped to the first file system and a hierarchical directory are accessed. Processing table for managing mapping information and device information between the second file system and the file of the first file system, and the first file system through the mapping information of the second file system from the application program. A file system access method for determining the file type of the file in the first file system when accessing the file, and accessing the file using an access method and a data storage format according to the file type.
【請求項2】 請求項1において、第一のファイルシス
テムの複数のファイルを、第一のファイルシステムの1
ファイルに格納するプレーンファイルを設けた、ファイ
ルシステムアクセス方法。
2. The method according to claim 1, wherein a plurality of files of the first file system are stored in one of the first file systems.
A file system access method with a plain file stored in a file.
【請求項3】 請求項2において、アプリケーションプ
ログラムから第二のファイルシステムのマッピング情報
を通じ第一のファイルシステムのファイルにアクセスす
る時に、第一のファイルシステムのファイル及び、プレ
ーンファイルを含むファイル種別を判定し、ファイル種
別に応じたアクセス方式及びデータ格納形式で第一のフ
ァイルシステムのファイルまたはプレーンファイルにア
クセスする、ファイルシステムアクセス方法。
3. The method according to claim 2, wherein when the application program accesses the file of the first file system through the mapping information of the second file system, the file type including the file of the first file system and the plain file is changed. A file system access method for determining and accessing a file or a plain file of a first file system in an access method and a data storage format according to a file type.
JP32500599A 1999-11-16 1999-11-16 Method for performing access to file system Pending JP2001142759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32500599A JP2001142759A (en) 1999-11-16 1999-11-16 Method for performing access to file system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32500599A JP2001142759A (en) 1999-11-16 1999-11-16 Method for performing access to file system

Publications (1)

Publication Number Publication Date
JP2001142759A true JP2001142759A (en) 2001-05-25

Family

ID=18172082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32500599A Pending JP2001142759A (en) 1999-11-16 1999-11-16 Method for performing access to file system

Country Status (1)

Country Link
JP (1) JP2001142759A (en)

Similar Documents

Publication Publication Date Title
US8694549B2 (en) Dynamic management of multiple persistent data stores
JP2708331B2 (en) File device and data file access method
US5412808A (en) System for parsing extended file names in an operating system
US7143146B2 (en) Method for accessing distributed file system
US7533136B2 (en) Efficient implementation of multiple work areas in a file system like repository that supports file versioning
KR101224680B1 (en) File system represented inside a database
JP4179557B2 (en) System, method and computer program for performing legacy application migration
US20050091285A1 (en) Promotion and demotion techniques to facilitate file property management between object systems
JPH06161855A (en) File device and method for access to file
JP2001188702A (en) Distributed file system and file operating method
US6714946B1 (en) Data management system using a plurality of data operating modules
JP2001306372A (en) Method for managing document and storage medium storing program for executing the method
JP5556025B2 (en) Storage system
JP4327869B2 (en) Distributed file system, distributed file system server, and access method to distributed file system
CN113811867A (en) Hard linking operations for files in a file system
CN111125216A (en) Method and device for importing data into Phoenix
CN109918346A (en) A kind of creation method and device of file
JP4343669B2 (en) File management device, dynamic namespace generation method, and dynamic namespace generation program
JP2001142759A (en) Method for performing access to file system
US20090150632A1 (en) Directory and Methods of Use
JPH0744426A (en) File management method for file system
JPH0266645A (en) Network data base
JPH11282738A (en) Device and method for file management
JPH0320841A (en) File access system
KR20110126834A (en) Method of viewing and registering of knowledge at knowledge management system via virtual drive