JPH0689147A - Write suppressing method for disk type external storage device - Google Patents
Write suppressing method for disk type external storage deviceInfo
- Publication number
- JPH0689147A JPH0689147A JP24021792A JP24021792A JPH0689147A JP H0689147 A JPH0689147 A JP H0689147A JP 24021792 A JP24021792 A JP 24021792A JP 24021792 A JP24021792 A JP 24021792A JP H0689147 A JPH0689147 A JP H0689147A
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- external storage
- type external
- write
- replacement
- 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.)
- Withdrawn
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はコンピュータのオペレー
ティングシステムの外部記憶装置制御部に関し、特にデ
ィスク型外部記憶装置の書き込み抑制方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external storage device control unit of a computer operating system, and more particularly to a write suppression method for a disk type external storage device.
【0002】[0002]
【従来の技術】従来のディスク型外部記憶装置に対する
アクセス手順を図2を参照して以下に説明する。従来、
外部記憶装置に対しアクセスする場合の手順は、始めに
デバイスオープン処理を行い(処理21)、その後装置
が使用可能になれば装置に対してアクセスを行い(処理
22)、アクセスが終われば最後にデバイスクローズ処
理を行う(処理23)。デバイスオープン処理では、装
置にアクセスするための外部記憶装置制御部の準備(処
理24)、外部記憶装置の使用宣言を行う(処理2
5)。また、デバイスクローズ処理では外部記憶装置制
御部の後処理(処理26)、外部記憶装置使用終了宣言
(処理27)を行う。2. Description of the Related Art An access procedure for a conventional disk type external storage device will be described below with reference to FIG. Conventionally,
The procedure for accessing the external storage device is to first perform the device open process (process 21), then access the device when the device becomes available (process 22), and finally access the device when the access is completed. A device close process is performed (process 23). In the device open processing, preparation of the external storage device control unit for accessing the device (processing 24) and declaration of use of the external storage device are performed (processing 2).
5). Further, in the device closing process, post-processing of the external storage device control unit (process 26) and declaration of end of use of the external storage device (process 27) are performed.
【0003】[0003]
【発明が解決しようとする課題】ディスク型外部記憶装
置では書き込もうとしたセクタ、およびトラックに障害
がある場合、ディスク型外部記憶装置内に別途用意され
た正常なセクタ、およびトラックに前述の書き込こもう
したデータを書き込む。以降、この別途用意された正常
なセクタを交替セクタ、および別途用意された正常なト
ラックを交替トラックと称する。When there is a failure in the sector and track to be written in the disk type external storage device, the above-mentioned writing in the normal sector and track prepared separately in the disk type external storage device is performed. Write the scrambled data. Hereinafter, this separately prepared normal sector will be referred to as a replacement sector, and the separately prepared normal track will be referred to as a replacement track.
【0004】従来の方式ではユーザが外部記憶装置アク
セス中に障害のあるセクタに書き込もうとした場合、用
意された交替セクタ、および交替トラックが既に使い果
たされていると書き込みに失敗してしまう。この場合、
ユーザが書き込もうとしたデータを失ってしまう可能性
がある。In the conventional method, when the user tries to write in the defective sector during access to the external storage device, the writing will fail if the prepared replacement sector and replacement track are already used up. in this case,
The user may lose the data they are trying to write.
【0005】[0005]
【課題を解決するための手段】第1の発明は、コンピュ
ータのオペレーティングシステムにおけるディスク型外
部記憶装置の書き込み抑制方法において、前記ディスク
型外部記憶装置を使用可能にするデバイスオープン処理
にて、前記ディスク型外部記憶装置に対し交替セクタお
よび交替トラックの残数を問い合わせ前記交替セクタお
よび前記トラックの残数が予め判明している使用予定数
に満たない場合は前記ディスク型外部記憶装置の使用を
不許可にすることを特徴とする。According to a first aspect of the present invention, there is provided a method of suppressing writing of a disk type external storage device in an operating system of a computer, in which a device open process for enabling the disk type external storage device is performed. The remaining number of the replacement sectors and the replacement tracks to the external storage device if the remaining number of the replacement sectors and the tracks is less than the predetermined number to be used, the use of the disk storage device is not permitted. It is characterized by
【0006】[0006]
【実施例】次に、本発明について図面を用いて詳細に説
明する。Next, the present invention will be described in detail with reference to the drawings.
【0007】図1は、本発明の一実施例を示す処理フロ
ーチャートである。ユーザが光磁気ディスク装置にアク
セスする場合、図1(a)に示す処理手順を実行する。
ユーザが光磁気ディスク装置を表すファイルに対して利
用開始を宣言すると、オペレーティングシステム内部の
光磁気ディスク装置制御部はデバイスオープン処理を行
う(処理11)。デバイスオープン処理中に不具合があ
るとエラーを返却し光磁気ディスク装置のアクセスを許
可しない(処理12)。デバイスオープン処理が成功す
ると、ユーザは光磁気ディスク装置にアクセス可能とな
り、光磁気ディスク装置に対して読み込み、書き込みを
実行する(処理13)。読み込み、書き込み処理が終了
すると光磁気ディスク装置制御部はデバイスクローズ処
理を行う(処理14)。FIG. 1 is a processing flowchart showing an embodiment of the present invention. When the user accesses the magneto-optical disk device, the processing procedure shown in FIG.
When the user declares the start of use for the file representing the magneto-optical disk device, the magneto-optical disk device control unit inside the operating system performs a device open process (process 11). If there is a problem during the device open process, an error is returned and access to the magneto-optical disk device is not permitted (process 12). When the device open processing is successful, the user can access the magneto-optical disk device, and executes reading and writing to the magneto-optical disk device (process 13). When the reading and writing processes are completed, the magneto-optical disk device controller performs a device close process (process 14).
【0008】ユーザが光磁気ディスク装置から読み込み
を要求すると、光磁気ディスク装置制御部は光磁気ディ
スク装置の指定された1個以上のセクタからデータを読
み込み、ユーザに要求するデータを返却する。また、ユ
ーザが光磁気ディスク装置に書き込み要求すると、光磁
気ディスク装置制御部は光磁気ディスク装置の指定され
た1個以上のセクタにユーザが要求するデータを書き込
む。When the user requests reading from the magneto-optical disk device, the magneto-optical disk device control unit reads data from one or more designated sectors of the magneto-optical disk device and returns the requested data to the user. When the user makes a write request to the magneto-optical disk device, the magneto-optical disk device control unit writes the data requested by the user to one or more designated sectors of the magneto-optical disk device.
【0009】データを書き込む場合、書き込もうとする
セクタに障害があり書き込めない状態が発生する可能性
がある。この場合、ユーザは光磁気ディスク装置にデー
タを書き込むことに失敗してしまう。書き込みに失敗す
ると、光磁気ディスク装置制御部が障害セクタリカバリ
用に別途用意してある交替セクタ、および交替トラック
に書き込みに失敗したデータを書き込む。こうすること
により、ユーザが書き込みに失敗したデータを失う事な
くデータの整合性を保つことができる。When writing data, there is a possibility that a sector to be written has a failure and cannot be written. In this case, the user fails to write data in the magneto-optical disk device. When the writing is unsuccessful, the magneto-optical disk device controller writes the unsuccessfully written data in the replacement sector and the replacement track which are separately prepared for the recovery of the failed sector. By doing so, the data consistency can be maintained without the user losing the data for which writing has failed.
【0010】しかし、交替セクタ、および交替トラック
は有限個しかないため、障害セクタが多く発生すると交
替セクタ、および交替トラックが枯渇してしまう場合が
ある。However, since there are only a limited number of replacement sectors and replacement tracks, the replacement sectors and replacement tracks may be depleted when many defective sectors occur.
【0011】このため、本発明の光磁気ディスク装置制
御部は、図1(b)に示すように交替セクタ、および交
替トラックの残数をデバイスオープン処理時に光磁気デ
ィスク装置に問い合わせ(処理15)、交替セクタ、お
よび交替トラックの残数が、ユーザがこれからアクセス
するのに十分でないと光磁気ディスク装置制御部が判断
するとデバイスオープン処理を失敗させ、ユーザに光磁
気ディスク装置のアクセスを許可しない(処理16)。
こうすることにより、ユーザが書き込もうとしたデータ
を失ってしまう可能性を回避することができる様にな
る。Therefore, as shown in FIG. 1B, the magneto-optical disk apparatus controller of the present invention inquires the remaining number of the replacement sectors and the replacement tracks to the magneto-optical disk apparatus during the device open processing (processing 15). , The replacement sector and the remaining number of replacement tracks are not sufficient for the user to access, the magneto-optical disk device control unit fails the device open process and does not allow the user to access the magneto-optical disk device ( Process 16).
By doing so, it becomes possible to avoid the possibility that the user will lose the data that he / she tried to write.
【0012】ユーザが光磁気ディスク装置を表すファイ
ルに対して利用終了を宣言すると、オペレーティングシ
ステム内部の光磁気ディスク装置制御部は図1(c)に
示すデバイスクローズ処理を行う(処理14)。When the user declares the end of use for the file representing the magneto-optical disk device, the magneto-optical disk device control unit inside the operating system performs the device close process shown in FIG. 1C (process 14).
【0013】[0013]
【発明の効果】本発明は、デバイスオープン処理で交替
セクタ、および交替トラックの残数をディスク型外部記
憶装置に問い合わせることにより、ユーザがアクセス中
に交替セクタ、および交替トラックがなくなってしまう
ことによる書き込みデータの損失を防止することができ
る効果がある。According to the present invention, by inquiring the disk-type external storage device about the remaining number of replacement sectors and replacement tracks in the device open process, the replacement sectors and replacement tracks are lost during the access by the user. This is effective in preventing loss of write data.
【図1】(a)は本発明を含むディスク型外部記憶装置
に対するアクセス手順の全体的な流れ図であり、(b)
は本発明のデバイスオープン処理の流れ図であり、
(c)は本発明のデバイスクローズ処理の流れ図であ
る。FIG. 1A is an overall flow chart of an access procedure for a disk-type external storage device including the present invention, and FIG.
Is a flow chart of the device open process of the present invention,
(C) is a flowchart of a device close process of the present invention.
【図2】(a)は従来方式のディスク型外部記憶装置に
対するアクセス手順の全体的な流れ図であり、(b)は
従来方式のデバイスオープン処理の流れ図であり、
(c)は従来方式のデバイスクローズ処理の流れ図であ
る。FIG. 2A is an overall flow chart of an access procedure for a conventional disk-type external storage device, and FIG. 2B is a flow chart of conventional device open processing;
(C) is a flowchart of a conventional device close process.
処理11,21 デバイスオープン処理 処理12 外部記憶装置の使用不許可 処理13,22 読み込み/書き込み処理 処理14,23 デバイスクローズ処理 処理15 交替セクタの問い合わせ 処理16 外部記憶装置の使用不許可 処理24 準備 処理25 外部記憶装置の使用宣言 外部記憶装置の使用許可 処理26 後処理 処理27 外部記憶装置の使用終了宣言 Processes 11 and 21 Device open process Process 12 External storage device non-use process Process 13 and 22 Read / write process Process 14 and 23 Device close process Process 15 Alternate sector inquiry process 16 External storage device non-use process 24 Preparation process 25 Declaration of use of external storage device Processing permission of use of external storage device 26 Post-processing process 27 Declaration of end of use of external storage device
Claims (1)
ムにおけるディスク型外部記憶装置の書き込み抑制方法
において、前記ディスク型外部記憶装置を使用可能にす
るデバイスオープン処理にて、前記ディスク型外部記憶
装置に対し交替セクタおよび交替トラックの残数を問い
合わせ前記交替セクタおよび前記トラックの残数が予め
判明している使用予定数に満たない場合は前記ディスク
型外部記憶装置の使用を不許可にすることを特徴とする
ディスク型外部記憶装置の書き込み抑制方法。1. A method of suppressing writing to a disk-type external storage device in a computer operating system, comprising a replacement sector and a replacement for the disk-type external storage device in device open processing for enabling the disk-type external storage device. Inquiring about the remaining number of tracks. When the remaining number of the replacement sector and the track is less than the predetermined planned number of uses, the use of the disk type external storage device is prohibited. A method for suppressing writing in a storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24021792A JPH0689147A (en) | 1992-09-09 | 1992-09-09 | Write suppressing method for disk type external storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24021792A JPH0689147A (en) | 1992-09-09 | 1992-09-09 | Write suppressing method for disk type external storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0689147A true JPH0689147A (en) | 1994-03-29 |
Family
ID=17056196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24021792A Withdrawn JPH0689147A (en) | 1992-09-09 | 1992-09-09 | Write suppressing method for disk type external storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0689147A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011049248A1 (en) | 2009-10-23 | 2011-04-28 | 東レ・ダウコーニング株式会社 | Novel co-modified organopolysiloxane |
WO2011049247A1 (en) | 2009-10-23 | 2011-04-28 | 東レ・ダウコーニング株式会社 | Thickening or gelling agent for oily raw materials |
WO2013100207A1 (en) | 2011-12-27 | 2013-07-04 | Dow Corning Toray Co., Ltd. | Novel liquid organopolysiloxane and uses thereof |
WO2013100169A1 (en) | 2011-12-27 | 2013-07-04 | Dow Corning Toray Co., Ltd. | Co-modified organopolysiloxane, emulsifier for water-in-oil emulsion, external use preparation, and cosmetic composition using the same |
WO2013103147A1 (en) | 2011-12-27 | 2013-07-11 | Dow Corning Toray Co., Ltd. | Diglycerin derivate-modified silicone, emulsifier for water-in-oil emulsion using the same, external use preparation, and cosmetic composition |
US10066060B2 (en) | 2012-12-28 | 2018-09-04 | Dow Corning Toray Co., Ltd. | Production method for high-purity organosilicon compound |
US10174170B2 (en) | 2014-04-21 | 2019-01-08 | Dow Corning Toray Co., Ltd. | Method for producing liquid high-purity polyhydric alcohol derivative-modified silicone or composition thereof |
-
1992
- 1992-09-09 JP JP24021792A patent/JPH0689147A/en not_active Withdrawn
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011049248A1 (en) | 2009-10-23 | 2011-04-28 | 東レ・ダウコーニング株式会社 | Novel co-modified organopolysiloxane |
WO2011049247A1 (en) | 2009-10-23 | 2011-04-28 | 東レ・ダウコーニング株式会社 | Thickening or gelling agent for oily raw materials |
WO2013100207A1 (en) | 2011-12-27 | 2013-07-04 | Dow Corning Toray Co., Ltd. | Novel liquid organopolysiloxane and uses thereof |
WO2013100169A1 (en) | 2011-12-27 | 2013-07-04 | Dow Corning Toray Co., Ltd. | Co-modified organopolysiloxane, emulsifier for water-in-oil emulsion, external use preparation, and cosmetic composition using the same |
WO2013103147A1 (en) | 2011-12-27 | 2013-07-11 | Dow Corning Toray Co., Ltd. | Diglycerin derivate-modified silicone, emulsifier for water-in-oil emulsion using the same, external use preparation, and cosmetic composition |
KR20140106745A (en) | 2011-12-27 | 2014-09-03 | 다우 코닝 도레이 캄파니 리미티드 | Co-modified organopolysiloxane, emulsifier for water-in-oil emulsion, external use preparation, and cosmetic composition using the same |
KR20140127231A (en) | 2011-12-27 | 2014-11-03 | 다우 코닝 도레이 캄파니 리미티드 | Diglycerin derivative-modified silicone, emulsifier for water-in-oil emulsion using the same, external use preparation, and cosmetic composition |
US10066060B2 (en) | 2012-12-28 | 2018-09-04 | Dow Corning Toray Co., Ltd. | Production method for high-purity organosilicon compound |
US10174170B2 (en) | 2014-04-21 | 2019-01-08 | Dow Corning Toray Co., Ltd. | Method for producing liquid high-purity polyhydric alcohol derivative-modified silicone or composition thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100345632B1 (en) | A memory device and a method for controlling the same | |
US6618796B2 (en) | Data storage device and control method therefor | |
JP2001023317A (en) | Optical disk recording and reproducing method, device therefor and medium storing optical disk recording and reproducing program | |
US5646993A (en) | Information reproducing method and apparatus having protect function and recording medium used in apparatus | |
JP2008046791A (en) | Storage device, firmware update method and control device | |
EP0818723A2 (en) | Computer system with a copy-protecting function and recording medium for use with the same | |
JPH0689147A (en) | Write suppressing method for disk type external storage device | |
JP2000048496A (en) | Optical disk recording/reproducing method, device and medium recording optical disk recording/reproducing program | |
JPH0727441B2 (en) | Method and apparatus for performing critical disk access | |
JPH03142760A (en) | Information recording and reproducing device | |
JPH04364515A (en) | Recording medium reproduction device | |
JP2000148404A (en) | Computer system | |
JP3976989B2 (en) | Recording / reproducing apparatus and recording medium | |
JPS58175064A (en) | Processing system of multiplex volume | |
JPS62276648A (en) | Copy prevention system for floppy disk | |
JP2008009506A (en) | Information processor and its file access method | |
JPS58125128A (en) | Computer system | |
JP2001014219A (en) | Method and device for controlling cache | |
JP2701372B2 (en) | Magneto-optical disk drive | |
CA2454107C (en) | Apparatus and method for protecting data recorded on a storage medium | |
JP2634025B2 (en) | Format write control method for magnetic disk controller | |
JPH04165527A (en) | Method and device for recording and reproducing information | |
JPS6161273A (en) | Control system of memory device | |
JPS6390088A (en) | Recording information managing system for optical disk | |
JPH0944317A (en) | Registering system for alternate sector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19991130 |