JPH03142523A - Identification system for floppy disk - Google Patents
Identification system for floppy diskInfo
- Publication number
- JPH03142523A JPH03142523A JP28107389A JP28107389A JPH03142523A JP H03142523 A JPH03142523 A JP H03142523A JP 28107389 A JP28107389 A JP 28107389A JP 28107389 A JP28107389 A JP 28107389A JP H03142523 A JPH03142523 A JP H03142523A
- Authority
- JP
- Japan
- Prior art keywords
- floppy disk
- program
- identification information
- identification
- processing
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 12
- 230000006378 damage Effects 0.000 claims description 4
- 238000009434 installation Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はフロッピィディスクの識別方式に関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a floppy disk identification system.
従来は、フロッピィディスク外面のラベルに識別名を記
載し、その記載された識別名を操作者が目で見ることに
より、各々のフロッピィディスクを識別していた。Conventionally, an identification name is written on a label on the outer surface of a floppy disk, and an operator can identify each floppy disk by visually viewing the written identification name.
上述した従来のフロッピィディスクの識別方式では、フ
ロッピィディスクの識別は全く人的判断に頼っており、
プログラムの実行中にフロッピィディスクの差し換えが
必要となる場合、差し換え後のフロッピィディスクの確
認を誤ったり、全く確認しなかった為にプログラムや重
要なデータが格納さているフロッピィディスクの内容を
消去してしまう事故が発生する可能性があった。In the conventional floppy disk identification method described above, floppy disk identification relies entirely on human judgment.
If it is necessary to replace the floppy disk while a program is running, the contents of the floppy disk containing the program and important data may be erased due to incorrect checking of the floppy disk after replacement or not checking at all. There was a possibility that an accident could occur.
例えば、フロッピィディスクドライブが2台接続されて
いる電子計算機上で、フロッピィディスクドライブ−号
機にシステムプログラムが格納されているフロッピィデ
ィスクを、フロッピィディスクドライブ二号機にデータ
が格納されているフロッピィディスクをそれぞれ装着し
て運用する形態の電子計算機システムで、データが格納
されているフロッピィディスクを安全の為に予備用とし
て複写する様な場合、フロッピィディスクドライブ−号
機のフロッピィディスクを複写用のフロッピィディスク
と交換し、正しく交換されたことを確認後、媒体の物理
複写の処理が行われることになる。この時、フロッピィ
ディスクを交換せずに処理を続行するとシステムプログ
ラムが格納されているフロッピィディスク上にデータが
複写され、システムプログラムが消去されてしまうこと
になる。For example, on a computer with two floppy disk drives connected, the floppy disk containing the system program is stored in the first floppy disk drive, and the floppy disk containing data is stored in the second floppy disk drive. In a computer system that is installed and operated, when the floppy disk containing data is to be copied as a backup for safety, replace the floppy disk of the floppy disk drive with the floppy disk for copying. After confirming that the media has been replaced correctly, physical copying of the media will be performed. At this time, if the process is continued without replacing the floppy disk, the data will be copied onto the floppy disk where the system program is stored, and the system program will be erased.
本発明のフロッピィディスク識別方式は、フロッピィデ
ィスクに識別情報を付加する識別情報付加手段と、処理
プログラムから起動されて該識別情報をフロッピィディ
スクから読み取り目的の媒体か否か識別する識別手段と
、該識別の結果により不正な媒体が装着された場合には
前記処理プログラムに警告を発すると共に正しい媒体が
装着されるまで処理の続行を禁止する警告発生手段とを
有し、フロッピィディスクの装着誤りによるデータ破壊
を防止することを特徴とする。The floppy disk identification method of the present invention includes: an identification information adding means for adding identification information to a floppy disk; an identification means activated by a processing program to read the identification information from the floppy disk and identify whether or not the floppy disk is the intended medium; If the result of the identification indicates that an incorrect medium is installed, the processing program is provided with a warning generating means that issues a warning to the processing program and prohibits the continuation of processing until the correct medium is installed. It is characterized by preventing destruction.
次に本発明の実施例を図面に従って説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の実施例の構成を示す。フロッピィディ
スク識別情報付加手段14により、フロッピィディスク
上に第2図に示すような識別情報ファイルが作成される
。FIG. 1 shows the configuration of an embodiment of the present invention. The floppy disk identification information adding means 14 creates an identification information file as shown in FIG. 2 on the floppy disk.
処理プログラム11は、電子計算機上で実行される一連
の処理プログラムであり、フロッピィディスク識別手段
12がフロッピィディスク上にある識別情報ファイル1
3を読み込み、現在装着されているフロッピィディスク
を識別する。その結果、装着されているフロッピィディ
スクが処理プログラムの要求に適合しない場合、警告発
生手段15が処理プログラムに警告を発する。The processing program 11 is a series of processing programs executed on a computer, and the floppy disk identification means 12 identifies the identification information file 1 on the floppy disk.
3 to identify the currently installed floppy disk. As a result, if the installed floppy disk does not meet the requirements of the processing program, the warning generating means 15 issues a warning to the processing program.
第3図は本実施例の動作フローを示す。FIG. 3 shows the operational flow of this embodiment.
電子計算機上で処理プログラムが、その処理実行中に外
部記憶装置であるフロッピィディスクに対して、読み取
り、書き込み、初期化、複写等の処理を行おうとする場
合、フロッピィディスク識別手段がフロッピィディスク
上の識別情報ファイルを読み込むことにより、現在装着
されているフロッピィデスクを識別する。この時、フロ
ッピィディスク上に識別情報ファイルが無ければ、フロ
ッピィディスク識別情報付加手段により新たに識別情報
ファイルが作成される。When a processing program on a computer attempts to read, write, initialize, copy, etc. on a floppy disk, which is an external storage device, during execution of the process, the floppy disk identification means identifies the floppy disk on the floppy disk. The currently installed floppy disk is identified by reading the identification information file. At this time, if there is no identification information file on the floppy disk, a new identification information file is created by the floppy disk identification information adding means.
識別の結果、装着されているフロッピィディスクが処理
プログラムの要求に適合するものであれば、そのまま処
理プログラムが実行されるが、要求に適合するものでな
ければ、警告発生手段により処理プログラムに対して警
告を発する。As a result of the identification, if the installed floppy disk meets the requirements of the processing program, the processing program will be executed as is, but if the floppy disk does not meet the requirements, a warning will be issued to the processing program using the warning generating means. issue a warning.
処理プログラムは、警告を受けると処理を中断し、操作
者に対してフロッピィディスクを交換するようにメツセ
ージ表示等を行う、処理プログラムの要求に適合するフ
ロッピィディスクが装着されるまでそれ以降の処理には
進めない。When the processing program receives a warning, it interrupts processing, displays a message, etc. to the operator to replace the floppy disk, and continues processing until a floppy disk that meets the requirements of the processing program is inserted. cannot proceed.
処理プログラムの実行中に、フロッピィディスクの初期
化を行う処理を含む様な場合、装着されているフロッピ
ィディスクが初期化可能かどうかを判断するためには、
第2図の識別コードは第4図のような割付を行えばよい
、すなわち、処理プログラムが初期化の処理を実行する
前に、フロッピィディスク識別手段が初期化の対象とな
っているドライブに装着さているフロッピィディスクの
識別情報から識別コードを読み取り、その識別コードが
OO以外の場合、警告発生手段が処理プログラムに警告
を発し、警告を受けた処理10グラムを実行を中断する
ことにより、初期化してはいけないフロッピィディスク
を誤って初期化することを防止できる。If a processing program includes processing to initialize a floppy disk during execution, in order to determine whether the installed floppy disk can be initialized,
The identification code shown in Figure 2 can be assigned as shown in Figure 4. In other words, before the processing program executes the initialization process, the floppy disk identification means is installed in the drive to be initialized. The identification code is read from the identification information of the current floppy disk, and if the identification code is other than OO, the warning generation means issues a warning to the processing program, and the processing program that received the warning is initialized by interrupting execution. This prevents you from accidentally initializing a floppy disk that should not be used.
事故等によるデータ破壊の被害を最小限に抑えるために
、一定の周期でデータが格納されているフロッピィディ
スクの複写を行う処理を含む様な場合、複写の処理の実
行後は、全く同じ内容のフロッピィディスクが複写存在
することになり、ある操作者がそのうちの一枚のフロッ
ピィディスクに格納されているデータに対して内容を変
更する更新の処理を行い、はぼ同時に別の操作者が別の
フロッピィディスクに同様の別な処理を行うと、内容の
異なるデータが格納されたフロッピィディスクが存在し
、どのフロッピィディスクに格納されたデータの内容が
最新状態かわからなくなる。In order to minimize the damage caused by data destruction due to accidents, etc., if the process includes copying floppy disks on which data is stored at regular intervals, after the copying process is executed, the data cannot be copied with exactly the same content. There are copies of floppy disks, and one operator performs an update process that changes the data stored on one of the floppy disks, and at the same time another operator updates the data stored on another floppy disk. If similar processing is performed on floppy disks, there will be floppy disks that store data with different contents, and it will be difficult to know which floppy disk has the latest data.
このような場合、第2図の識別コードは第5図のような
割付を行い、複写の原本となるフロッピィディスクと複
写先のフロッピィディスクを区別し、処理の実行中に、
複写されたフロッピィディスクが装着された場合、警告
を発し、処理を中断させることにより、格納されている
データに対して内容を更新可能なフロッピィディスクを
常に一枚に限定することにより回避することができる。In such a case, the identification code shown in Figure 2 is assigned as shown in Figure 5 to distinguish between the floppy disk that will be the original copy and the floppy disk that will be the copy destination.
This can be avoided by issuing a warning and interrupting processing when a copied floppy disk is inserted, and by limiting the number of floppy disks that can update the stored data to one at any time. can.
いずれの場合も、この識別コードは、一連のシステム内
で統一されている必要がある。In either case, this identification code needs to be unified within a series of systems.
以上説明したように、本発明はフロッピィディスクの識
別をプログラムから直接行なう事により、操作者の目的
媒体装着誤りによるフロッピィディスク上のプログラム
、データ等の消去等の事故を防止させる効果を持つ。As described above, the present invention has the effect of preventing accidents such as erasure of programs, data, etc. on the floppy disk due to the operator's mistake in loading the target medium by directly identifying the floppy disk from the program.
同一内容のフロッピィディスクが複数枚に分かれたとき
は、その総数とそのフロッピィディスクが何枚臼の媒体
であるがという情報を識別情報に付加することにより、
装着順番の誤りを防止できる。When a floppy disk with the same content is divided into multiple disks, information about the total number of disks and the number of disks the floppy disk is made of is added to the identification information.
Mistakes in the mounting order can be prevented.
更に識別に使用するフロッピィディスク識別情報ファイ
ルは通常の文字列ファイルと同様に扱えるので処理プロ
グラム以外からも容易に内容の確認、修正を行うことが
可能である。Furthermore, since the floppy disk identification information file used for identification can be handled in the same way as a normal character string file, the contents can be easily confirmed and modified from other than the processing program.
第1図は、本発明の実施例の構成図、第2図は第1図の
識別情報ファイル13の内容を示す図、第3図は本実施
例のフローチャート、第4図、第5図は、第1図の識別
情報ファイル13のうちの識別コードの割り付は例を示
す図である。
11・・・処理プログラム、12・・・フロッピィディ
スク識別手段、13・・・識別情報ファイル、14・・
・フロッピィディスク識別情報付加手段、15・・・警
告発生手段。FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a diagram showing the contents of the identification information file 13 in FIG. 1, FIG. 3 is a flowchart of this embodiment, and FIGS. 4 and 5 are , the allocation of identification codes in the identification information file 13 in FIG. 1 is a diagram showing an example. 11... Processing program, 12... Floppy disk identification means, 13... Identification information file, 14...
- Floppy disk identification information adding means, 15...warning generating means.
Claims (3)
報付加手段と、処理プログラムから起動されて該識別情
報をフロッピイディスクから読み取り目的の媒体か否か
識別する識別手段と、該識別の結果により不正な媒体が
装着された場合には前記処理プログラムに警告を発する
と共に正しい媒体が装着されるまで処理の続行を禁止す
る警告発生手段とを有し、フロッピイディスクの装着誤
りによるデータ破壊を防止することを特徴とするフロッ
ピイディスクの識別方式。(1) An identification information adding means for adding identification information to a floppy disk, an identification means activated by a processing program to read the identification information from the floppy disk and identify whether or not the medium is the intended medium, and based on the result of the identification. If an incorrect medium is installed, the processing program is provided with a warning generating means that not only issues a warning to the processing program but also prohibits the continuation of processing until the correct medium is installed, thereby preventing data destruction due to incorrect installation of the floppy disk. A floppy disk identification method characterized by:
初期化禁止または書き込み初期化禁止を識別できるコー
ドを含むことを特徴とする請求項(1)のフロッピイデ
ィスクの識別方式。(2) The floppy disk identification method according to claim 1, wherein the identification information includes a code that can identify write-initializable, writable-initialization-inhibited, or write-initialization-inhibited.
データを識別できるコードを含むことを特徴とする請求
項(1)のフロッピィディスクの識別方式。(3) The floppy disk identification method according to claim (1), wherein the identification information includes a code that can identify the program, normal data, or copy data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28107389A JPH03142523A (en) | 1989-10-27 | 1989-10-27 | Identification system for floppy disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28107389A JPH03142523A (en) | 1989-10-27 | 1989-10-27 | Identification system for floppy disk |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03142523A true JPH03142523A (en) | 1991-06-18 |
Family
ID=17633944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28107389A Pending JPH03142523A (en) | 1989-10-27 | 1989-10-27 | Identification system for floppy disk |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03142523A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005198212A (en) * | 2004-01-09 | 2005-07-21 | Sony Corp | Data processing apparatus, its method and program thereof |
JP2006285961A (en) * | 2005-03-07 | 2006-10-19 | Ricoh Co Ltd | Information processor and information processing method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53124935A (en) * | 1977-04-07 | 1978-10-31 | Sharp Corp | Control system for disc unit |
JPS6143334A (en) * | 1984-08-08 | 1986-03-01 | Sony Corp | Microcomputer device |
JPS62205572A (en) * | 1986-03-06 | 1987-09-10 | Nec Corp | Discriminating method for floppy disk |
-
1989
- 1989-10-27 JP JP28107389A patent/JPH03142523A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53124935A (en) * | 1977-04-07 | 1978-10-31 | Sharp Corp | Control system for disc unit |
JPS6143334A (en) * | 1984-08-08 | 1986-03-01 | Sony Corp | Microcomputer device |
JPS62205572A (en) * | 1986-03-06 | 1987-09-10 | Nec Corp | Discriminating method for floppy disk |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005198212A (en) * | 2004-01-09 | 2005-07-21 | Sony Corp | Data processing apparatus, its method and program thereof |
JP2006285961A (en) * | 2005-03-07 | 2006-10-19 | Ricoh Co Ltd | Information processor and information processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1115637C (en) | Method and system for supplying custom soft ware image to computer system | |
US6205558B1 (en) | Recovery of file systems after modification failure | |
EP0284924B1 (en) | Data processing network with updating of files | |
US7293179B2 (en) | System and method for virtual tape management with remote archival and retrieval via an encrypted validation communication protocol | |
US6519762B1 (en) | Method and apparatus for restoration of a computer system hard drive | |
US7624243B2 (en) | Apparatus and method for protecting system data on computer hard-disk | |
US20020023199A1 (en) | Computer storage restoration | |
US7469261B2 (en) | Apparatus and method for protecting system data on computer hard-disk | |
EP0247274B1 (en) | Detection of the presence of an incorrect removable storage medium | |
US20050033933A1 (en) | Systems and methods for modifying disk drive firmware in a raid storage system | |
EP0483174B1 (en) | A method of operating a data processing system | |
CN100561451C (en) | The hard disk that is used for network storing system is changed the control and management method | |
CN110928840B (en) | Method for reading QNX6 file system | |
JPH03142523A (en) | Identification system for floppy disk | |
US5155827A (en) | Method for inhibiting an executable program in a disk operating system by replacing the program with an unexecutable program | |
US7882353B2 (en) | Method for protecting data in a hard disk | |
JPH07210336A (en) | Data storing device | |
FI103440B (en) | Authentication of data storage to cache tape drive e | |
CN1092820C (en) | Information processing system | |
JPS58107976A (en) | Protecting method for volume managing information | |
JPH04236623A (en) | Check processing system for wrong replacement of medium | |
JPH04215153A (en) | Information recording and reproducing device | |
JPH07141120A (en) | Processing method for fault in information storage medium | |
JPS62205572A (en) | Discriminating method for floppy disk | |
JPS62234274A (en) | Postscript type optical disk device |