JPS58211257A - Write controlling system of magnetic disk device - Google Patents
Write controlling system of magnetic disk deviceInfo
- Publication number
- JPS58211257A JPS58211257A JP9437682A JP9437682A JPS58211257A JP S58211257 A JPS58211257 A JP S58211257A JP 9437682 A JP9437682 A JP 9437682A JP 9437682 A JP9437682 A JP 9437682A JP S58211257 A JPS58211257 A JP S58211257A
- Authority
- JP
- Japan
- Prior art keywords
- write
- data
- magnetic disk
- sector
- bit
- 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
Abstract
Description
【発明の詳細な説明】
(1)発明の技術分野
本発明はセクタタイプ磁気ディスク装置におけるデータ
書込み制御方式に係り、特に既にデータが書込まれてい
るアドレスに対し再度同一アドレスのデータ部にライト
アクセスを実行した際に、デバイス側で当該アドレスに
関する属性をフラグ部より読み取り、当該ビット内容を
参照し、ライトアクセスすべきか否かの判断を行なう書
込み制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a data write control method in a sector-type magnetic disk drive, and in particular to a data write control method for an address where data has already been written to the data section of the same address. The present invention relates to a write control method in which, when an access is executed, the device side reads attributes related to the address from a flag section, refers to the bit contents, and determines whether or not a write access is to be performed.
(2) 従来技術と問題点
従来、磁気ディスク装置の書込み制御方式としてはハー
ド的に付加されているプロテクションスイッチによるも
のがあったが該方式ではオペレータが介在するため機番
設定ミス等が生ずるという欠点があった。(2) Conventional technology and problems Conventionally, the write control method for magnetic disk devices used a protection switch added to the hardware, but this method requires operator intervention, which can lead to mistakes in setting the machine number, etc. There were drawbacks.
(3)発明の目的
本発明は前記欠点を解消し、既に磁気ディスク媒体に書
込まれているデータの保護を確実に行なう方式を提供す
ることを目的とする。(3) Purpose of the Invention An object of the present invention is to eliminate the above-mentioned drawbacks and to provide a method for reliably protecting data already written on a magnetic disk medium.
(4)発明の構成
該目的はチャネルを経由して中央処理装置に接続されて
いる磁気ディスク装置において、データ部にセクタ単位
にライト抑止ビットを備えたフラグ部を設け、該チャネ
ルよりのライト指示に対μ該うイト抑止ビットを参照し
て書込み可否を判定する手段を設けたことを特徴、とす
る磁気ディスク装置の書込み制御方式により達成される
。(4) Structure of the Invention The object is to provide a flag section with a write inhibit bit in each sector in a data section in a magnetic disk device connected to a central processing unit via a channel, and to receive a write instruction from the channel. This is achieved by a write control method for a magnetic disk device characterized by providing means for determining whether or not writing is possible by referring to write inhibition bits corresponding to μ.
(5)発明の実施例 以下図面を用いて本発明の詳細な説明する。(5) Examples of the invention The present invention will be described in detail below using the drawings.
第1図は本発明の一実施例を示す機能ブロック図である
。FIG. 1 is a functional block diagram showing one embodiment of the present invention.
図に7−Vて・ 1は磁気ディ7り制御部・ 2は磁気
ディスク、3はディスク制御、4はチャネル、5はコマ
ンド解析、6はフラグ部、7はデータ部。7-V in the figure: 1 is the magnetic disk control section, 2 is the magnetic disk, 3 is the disk control, 4 is the channel, 5 is the command analysis, 6 is the flag section, and 7 is the data section.
8はECCジェネレータ、9はECCチェッカ。8 is an ECC generator, 9 is an ECC checker.
10はコレクタ、w、、w2はライトバッファ。10 is a collector, w, and w2 are write buffers.
R1* R2はリードバッファである。R1* R2 is a read buffer.
第2図は本発明の一実施例を示す複数セクタ(1シリン
ダ又は1デバイス)におけるフラグとデータの構造を示
す。(複数セクタに共通のフラグ部を設け、各セクタ毎
のライト抑止ビットを割当てておく。)
セクタタイプ磁気ディスク装置における各コマンドの磁
気ディスク装置2に対する動作は(1) リードコマ
ンドの場合
従来のリードコマンドと同じく、磁気ディスク2からデ
ータをリードバッファR2に読出し、ECCチェッカ9
にてデータ誤りの有無を検出し、訂正可能な誤りである
ならシンドロームを作成し、コレクタIOKて訂正して
正しいデータをリードバッファR1’に経由してチャネ
ル4へ送出する。FIG. 2 shows the structure of flags and data in multiple sectors (one cylinder or one device) showing one embodiment of the present invention. (A common flag section is provided for multiple sectors, and a write inhibition bit is assigned to each sector.) The operation of each command to the magnetic disk device 2 in a sector type magnetic disk device is (1) In the case of a read command, the conventional read Similar to the command, data is read from the magnetic disk 2 to the read buffer R2, and the ECC checker 9
The presence or absence of a data error is detected at , and if the error is correctable, a syndrome is created, corrected at collector IOK, and correct data is sent to channel 4 via read buffer R1'.
(1) ライトフラグコマンドの場合
磁気ディスク2のフラグ部6に、コマンドで指定される
フラグデータを書込み、各セクタに対するライト抑止ビ
ットの設定(オン)、又は解除(オフ)を行なう。(1) In the case of a write flag command Flag data specified by the command is written to the flag section 6 of the magnetic disk 2, and the write inhibit bit for each sector is set (on) or canceled (off).
佃) ライトコマンドの場合
まず、タイミングTIで磁気ディスク2のフラグ部6を
リードバッファR2に読出し、次に当該コマンドで指定
されるセクタ1と該リードバッファR2に読出したフラ
グデータのセクタ1に対応するライト抑止ビットiとの
比較を行う。該ライト抑止ビット1がオフであれば、タ
イミングT2で従来と同じ書込動作、即ち、チャネル4
からの書込データにECCジェネレータ8で作成したチ
ェックビットを付加したデータをライトバッファW2に
入れ、次に、該磁気ディスク2の所定の位置であるセク
タ1にライトバッファW2のデータを第2図の形式で書
込む動作を行なう。一方、該ライト抑止ビット1がオン
であれば、データ部書込み抑止信号を作成し、当該ライ
トコマンドを無効にする。(Tsukuda) In the case of a write command, first read the flag part 6 of the magnetic disk 2 to the read buffer R2 at timing TI, and then read the flag section 6 of the magnetic disk 2 to the read buffer R2, and then read the flag part 6 of the magnetic disk 2 corresponding to the sector 1 specified by the command and the sector 1 of the flag data read to the read buffer R2. A comparison is made with write inhibition bit i. If the write inhibit bit 1 is off, the same write operation as before at timing T2, that is, channel 4
The data obtained by adding the check bit created by the ECC generator 8 to the write data from the above is put into the write buffer W2, and then the data in the write buffer W2 is transferred to sector 1, which is a predetermined position of the magnetic disk 2, as shown in FIG. Perform a write operation in the format. On the other hand, if the write inhibit bit 1 is on, a data section write inhibit signal is created to invalidate the write command.
(6)発明の詳細
な説明した様に、本発明によれば、外部記憶装置(磁気
ディスク等)として連続的なデータ空間に対しある特定
のブロック(セクター)の再書込を確実にかつ容易に防
止することができ、データ保睦機能の向上が図れるとい
う効果がある。(6) As described in detail, according to the present invention, rewriting of a specific block (sector) in a continuous data space as an external storage device (magnetic disk, etc.) can be reliably and easily performed. This has the effect of improving the data protection function.
第1図は本発明の一実施例を示す機能ブロック図である
。
第2図は本発明の一実施例を示す複数セクタ(1シリン
ダ又は1デバイス)におけるフラグとデータの構造を示
す。
記号の説明、 iF′i磁気ディスク制御部、2は磁
気ディスク、3はディスク制御、4はチャネル、5はコ
マンド解析、6はフラグ部、7はデータ部。
8はECCジェネレータ、9はECCチェッカ。
1(lコレクタ+ Wl 、W2はライトバッファ。
R1+R2はリードバッファ。FIG. 1 is a functional block diagram showing one embodiment of the present invention. FIG. 2 shows the structure of flags and data in multiple sectors (one cylinder or one device) showing one embodiment of the present invention. Explanation of symbols: iF'i magnetic disk control section, 2 is a magnetic disk, 3 is a disk control, 4 is a channel, 5 is a command analysis, 6 is a flag section, 7 is a data section. 8 is an ECC generator, 9 is an ECC checker. 1 (l collector + Wl, W2 is a write buffer. R1+R2 is a read buffer.
Claims (1)
ディスク装置において、データ部にセクタ単位にライト
抑止ビットを備えたフラグ部を設け、該チャネルよシの
ライト指示に対し、該ライト抑止ビットを参照して書込
み可否を判定する手段を設けたことを特徴とする磁気デ
ィスク装置の書込み制御方式。In a magnetic disk device connected to a central processing unit via a channel, a flag section with a write inhibit bit is provided for each sector in the data section, and the write inhibit bit is set in response to a write instruction from the channel. 1. A write control method for a magnetic disk device, comprising means for referring to it and determining whether writing is possible.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9437682A JPS58211257A (en) | 1982-06-02 | 1982-06-02 | Write controlling system of magnetic disk device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9437682A JPS58211257A (en) | 1982-06-02 | 1982-06-02 | Write controlling system of magnetic disk device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS58211257A true JPS58211257A (en) | 1983-12-08 |
Family
ID=14108593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9437682A Pending JPS58211257A (en) | 1982-06-02 | 1982-06-02 | Write controlling system of magnetic disk device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58211257A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09138733A (en) * | 1995-11-14 | 1997-05-27 | Hokkaido Nippon Denki Software Kk | Protective system for magnetic disk device |
EP1128378A2 (en) * | 2000-02-28 | 2001-08-29 | Plasmon LMS, Inc. | System and method to provide overwrite protection using write and verify passes |
JP2006127140A (en) * | 2004-10-28 | 2006-05-18 | Toshiba Corp | Method for rewriting firmware, disk drive device, and information processing system |
-
1982
- 1982-06-02 JP JP9437682A patent/JPS58211257A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09138733A (en) * | 1995-11-14 | 1997-05-27 | Hokkaido Nippon Denki Software Kk | Protective system for magnetic disk device |
EP1128378A2 (en) * | 2000-02-28 | 2001-08-29 | Plasmon LMS, Inc. | System and method to provide overwrite protection using write and verify passes |
EP1128378A3 (en) * | 2000-02-28 | 2002-07-17 | Plasmon LMS, Inc. | System and method to provide overwrite protection using write and verify passes |
JP2006127140A (en) * | 2004-10-28 | 2006-05-18 | Toshiba Corp | Method for rewriting firmware, disk drive device, and information processing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR950006750A (en) | Disc drive unit and data reproducing unit | |
JPS623459B2 (en) | ||
JPS58211257A (en) | Write controlling system of magnetic disk device | |
JPH04111113A (en) | Hard disk emulator | |
JPS63317975A (en) | Right protecting mechanism for magnetic disk device | |
JPS60113361A (en) | Discrimination system of magnetic disk format | |
JPS595496A (en) | Memory protect system | |
JPH09138733A (en) | Protective system for magnetic disk device | |
KR100383638B1 (en) | Method for recording virus backup program on magnetic disk in magnetic disk recording device for preventing computer virus | |
JPS6161273A (en) | Control system of memory device | |
JPH0520789A (en) | Recording and reproducing device | |
JPH0628779A (en) | Method for recording and controlling data in disk device | |
JPS6269314A (en) | Controller for double writing on disk | |
JPS6252333B2 (en) | ||
JPS6050672A (en) | Read control system of rotary memory | |
JPH02183461A (en) | Data input/output device | |
JPH0729312A (en) | Magnetic disk device | |
JPS6041124A (en) | Magnetic disc control device | |
JPS6228831A (en) | Control device for magnetic disk or the like | |
JPS63311455A (en) | Copy protection device for software | |
JPH0424823A (en) | Magnetic disk device and its control system | |
JPS6269342A (en) | Semiconductor disk device | |
JPH02165354A (en) | Auxiliary storage device | |
JPH02273378A (en) | Magnetic disk device | |
JPS61228544A (en) | Write protection system |