JPH05181729A - File managing system - Google Patents

File managing system

Info

Publication number
JPH05181729A
JPH05181729A JP4018200A JP1820092A JPH05181729A JP H05181729 A JPH05181729 A JP H05181729A JP 4018200 A JP4018200 A JP 4018200A JP 1820092 A JP1820092 A JP 1820092A JP H05181729 A JPH05181729 A JP H05181729A
Authority
JP
Japan
Prior art keywords
file
area
data file
table part
information
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
JP4018200A
Other languages
Japanese (ja)
Inventor
Minoru Yusa
稔 遊佐
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.)
NEC Gunma Ltd
Original Assignee
NEC Gunma 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 NEC Gunma Ltd filed Critical NEC Gunma Ltd
Priority to JP4018200A priority Critical patent/JPH05181729A/en
Publication of JPH05181729A publication Critical patent/JPH05181729A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To restore a deleted file stored in an external storage device in an computer operating system. CONSTITUTION:This file managing system is provided with a file information table part 1 for storing the information of a prescribed data file, an area managing table part 2 for managing the storing status of the data file and an area management history table part 3 for storing the storing history of the table part 2 from the initialization of the external storage device up to now, and in case of deleting a file, a corresponding area in the table part 2 is opened. In case of restoring the deleted file, the corresponding data file in the table part 3 is copied to the table part 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータにおける
オペレーティングシステムのファイル管理方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management system of an operating system in a computer.

【0002】[0002]

【従来の技術】従来のオペレーティングシステムにおけ
るファイル管理方式は、フレキシブルディスク装置やハ
ードディスク装置等の外部記憶装置の媒体に格納されて
いるデータファイルをファイル情報テーブルを介し領域
管理テーブルにより管理しており、データファイルを削
除する場合は、ファイル情報テーブルの先頭1バイト
と、領域管理テーブルの該当データファイルに関する格
納状況を全て削除することにより行われている。
2. Description of the Related Art In a conventional file management method in an operating system, a data file stored in a medium of an external storage device such as a flexible disk device or a hard disk device is managed by an area management table via a file information table. When deleting a data file, the first 1 byte of the file information table and the storage status of the data file in the area management table are all deleted.

【0003】[0003]

【発明が解決しようとする課題】このようなデータファ
イルの削除方法は、簡単であるため一般に広く用いられ
ているものであるが、領域管理テーブルの格納状況が全
て削除されるため、外部記憶装置の媒体内には実際にデ
ータが存在しているにもかかわらず、削除したデータと
同一のデータを利用する場合には、再度同一データファ
イルを格納しなければならない。
Such a data file deletion method is widely used because it is simple. However, since the storage status of the area management table is completely deleted, an external storage device is used. If the same data as the deleted data is used even though the data actually exists in the medium, the same data file must be stored again.

【0004】[0004]

【課題を解決するための手段】このような課題を解決す
るために本発明は、データファイルの情報が格納される
ファイル情報テーブル部と、データファイルの格納状況
を管理する領域管理テーブル部と、外部記憶装置が初期
化されてから現在に至るまでの領域管理テーブル部の格
納履歴を保持する領域管理履歴テーブル部とを設けたも
のである。
In order to solve such a problem, the present invention provides a file information table section for storing data file information, an area management table section for managing the storage status of the data file, An area management history table section for holding the storage history of the area management table section from the initialization of the external storage device to the present is provided.

【0005】[0005]

【作用】データファイルが削除された場合でもこれの格
納履歴が領域管理履歴テーブル部に保持されているた
め、ファイルの復元が可能となる。
[Effect] Even if the data file is deleted, the storage history of the data file is held in the area management history table portion, so that the file can be restored.

【0006】[0006]

【実施例】以下、本発明について図面を参照して説明す
る。図1は、本発明の一実施例を示すブロック図であ
る。同図において、ファイル情報テーブル部1は、ファ
イル名が格納されるファイル名部4と、データが格納さ
れている領域の開始領域を示す開始領域番号部5と、デ
ータファイルに関するその他の情報が格納されるその他
の情報格納部6とから構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, a file information table section 1 stores a file name section 4 in which a file name is stored, a start area number section 5 indicating a start area of an area in which data is stored, and other information related to a data file. And other information storage unit 6 to be executed.

【0007】また、ファイル情報テーブル部1の開始領
域番号部5の情報により示される領域管理テーブル部2
及び領域管理履歴テーブル部3の領域番号部7には、テ
ーブル情報8として次に使用される領域番号が格納され
る。さらに、テーブル情報8として存在しない領域番号
が格納される(格納される番号のデータは「FF」)こ
とにより、1つのデータファイルの最終領域であること
が示され、また、上記の領域番号や最終領域を示すデー
タ以外の使用されないデータ(番号データは「00」)
を用いることにより、未使用領域であることが示され
る。
Further, the area management table section 2 indicated by the information of the start area number section 5 of the file information table section 1
The area number section 7 of the area management history table section 3 stores the area number used next as the table information 8. Further, by storing an area number that does not exist as the table information 8 (the data of the stored number is “FF”), it is indicated that the area is the final area of one data file. Unused data other than the data indicating the final area (number data is "00")
Is used to indicate that the area is an unused area.

【0008】次に、図2は、図1に示すファイル名部4
の中から、データファイルFIFL−B,及びデータフ
ァイルFIFL−Cが削除された場合のブロック図であ
る。同図に示すように、ファイル情報テーブル部1のフ
ァイル名部4の先頭1バイトを英数字以外の無効データ
とすることにより、ファイル情報テーブル部1内のファ
イルFIFL−B,ファイルFIFL−Cを共に削除
し、さらに領域管理テーブル部2内のファイルFIFL
−B,ファイルFIFL−Cにより使用されていた領域
を未使用領域として開放する。しかし、領域管理履歴テ
ーブル部3内のファイルFIFL−B,ファイルFIF
L−Cにより使用されていた領域は、開放しないで保存
する。
Next, FIG. 2 shows the file name portion 4 shown in FIG.
6 is a block diagram in the case where a data file FIFL-B and a data file FIFL-C are deleted from FIG. As shown in the figure, by making the first 1 byte of the file name portion 4 of the file information table portion 1 invalid data other than alphanumeric characters, the file FILE-B and file FILE-C in the file information table portion 1 are Both files are deleted, and the file FILE in the area management table 2 is deleted.
-B, the area used by the file FILE-C is released as an unused area. However, the file FILE-B and the file FILE-B in the area management history table unit 3 are
The area used by L-C is saved without being opened.

【0009】そして、削除したデータファイルFIFL
−BやデータファイルFIFL−Cを復元する場合は、
ファイル情報テーブル部1内のファイル名部4の先頭1
バイトを復元すると共に、領域管理履歴テーブル部3内
の復元されるデータファイルのテーブル情報8を領域管
理テーブル部2へ複写することにより、データファイル
の復元が終了する。このように、外部記憶装置が初期化
されてから現在に至るまでの領域管理テーブル部2の格
納履歴を保持する領域管理履歴テーブル部3を備えるこ
とにより、削除されたデータファイルを確実かつ容易に
復元できる。
Then, the deleted data file FIFL
-To restore B or data file FILE-C,
Top 1 of file name section 4 in file information table section 1
By restoring the bytes and copying the table information 8 of the restored data file in the area management history table section 3 to the area management table section 2, the restoration of the data file is completed. As described above, by providing the area management history table unit 3 that holds the storage history of the area management table unit 2 from the time when the external storage device is initialized to the present time, the deleted data file can be deleted reliably and easily. Can be restored.

【0010】[0010]

【発明の効果】以上説明したように、本発明によれば、
データファイルが削除された場合でもこれの格納履歴が
領域管理履歴テーブル部に保持されることになり、この
結果ファイルの復元が可能になる。
As described above, according to the present invention,
Even if the data file is deleted, the storage history of the data file is retained in the area management history table section, and as a result, the file can be restored.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】データファイルが削除された場合の状況を示す
ブロック図である。
FIG. 2 is a block diagram showing a situation when a data file is deleted.

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

1 ファイル情報テーブル部 2 領域管理テーブル部 3 領域管理履歴テーブル部 4 ファイル名部 5 開始領域番号部、 6 その他の情報格納部 7 領域番号部 8 テーブル情報 1 file information table section 2 area management table section 3 area management history table section 4 file name section 5 start area number section, 6 other information storage section 7 area number section 8 table information

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 外部記憶装置に格納されたデータファイ
ルを管理情報に基づいて管理するオペレーティングスイ
ッチのファイル管理方式において、 前記データファイルの情報が格納されるファイル情報テ
ーブル部と、前記データファイルの格納状況を管理する
領域管理テーブル部と、前記外部記憶装置が初期化され
てから現在に至るまでの前記領域管理テーブル部の格納
履歴を保持する領域管理履歴テーブル部とを備えたこと
を特徴とするファイル管理方式。
1. A file management method of an operating switch for managing a data file stored in an external storage device based on management information, comprising: a file information table section for storing information of the data file; and a storage of the data file. An area management table section for managing the situation and an area management history table section for holding a storage history of the area management table section from the initialization of the external storage device to the present time are provided. File management method.
JP4018200A 1992-01-07 1992-01-07 File managing system Pending JPH05181729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4018200A JPH05181729A (en) 1992-01-07 1992-01-07 File managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4018200A JPH05181729A (en) 1992-01-07 1992-01-07 File managing system

Publications (1)

Publication Number Publication Date
JPH05181729A true JPH05181729A (en) 1993-07-23

Family

ID=11964998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4018200A Pending JPH05181729A (en) 1992-01-07 1992-01-07 File managing system

Country Status (1)

Country Link
JP (1) JPH05181729A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6684225B1 (en) 1999-07-29 2004-01-27 International Business Machines Corporation Dropped database table recovery

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6684225B1 (en) 1999-07-29 2004-01-27 International Business Machines Corporation Dropped database table recovery
US7188124B2 (en) 1999-07-29 2007-03-06 International Business Machines Corporation Method, system, computer product for recovering dropped database table specifying one or more table spaces, recovering the table space being restored using the dropped table history data structure

Similar Documents

Publication Publication Date Title
AU700681B2 (en) A method of operating a computer system
US9032171B2 (en) System and method for backing up data
US7055010B2 (en) Snapshot facility allowing preservation of chronological views on block drives
KR100350141B1 (en) An application interface to a media server and a method of implementing the same
Bauer et al. Secure data deletion for Linux file systems
US20080172563A1 (en) System and Method for WORM data storage
EP2983094A1 (en) Apparatus and method for a hardware-based file system
JPH09101912A (en) Difference backup system
JP2000138692A (en) Mac address management system, mac address management method and storage medium
JP3088397B2 (en) Digital data storage method and computer system using the method
JPH05181729A (en) File managing system
JP3037183B2 (en) Hard disk device management method and method
JPH05113920A (en) Method and device for managing file
JPH08202603A (en) Document preparing device and document file compiling method
JPH04315232A (en) Disk device and file managing method therefor
JPH0594356A (en) On-memory table data fault restoration system
JPH0385650A (en) Disk volume restoration system
JPS6186831A (en) Data processor
JPH0635779A (en) File control system
JPH08328753A (en) Mirrored disk management system
JP2746952B2 (en) Image processing method
JP3602001B2 (en) Data file duplication control system for disk units
JPH0581113A (en) File managing method and computer system
JPS6346553A (en) File copying method
JPH03171241A (en) Backup data control system