JP2002351724A - Recording method and recorder - Google Patents

Recording method and recorder

Info

Publication number
JP2002351724A
JP2002351724A JP2001161225A JP2001161225A JP2002351724A JP 2002351724 A JP2002351724 A JP 2002351724A JP 2001161225 A JP2001161225 A JP 2001161225A JP 2001161225 A JP2001161225 A JP 2001161225A JP 2002351724 A JP2002351724 A JP 2002351724A
Authority
JP
Japan
Prior art keywords
area
file
entity
management information
dir
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.)
Granted
Application number
JP2001161225A
Other languages
Japanese (ja)
Other versions
JP3707396B2 (en
Inventor
Kenichiro Aritome
憲一郎 有留
Makoto Yamada
誠 山田
Hirobumi Todo
博文 藤堂
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.)
Sony Corp
Original Assignee
Sony Corp
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
Priority to JP2001161225A priority Critical patent/JP3707396B2/en
Application filed by Sony Corp filed Critical Sony Corp
Priority to EP02726461A priority patent/EP1391892A4/en
Priority to PCT/JP2002/004993 priority patent/WO2002095751A1/en
Priority to KR1020037001004A priority patent/KR100927282B1/en
Priority to US10/333,553 priority patent/US7363333B2/en
Priority to CNB028023080A priority patent/CN100474431C/en
Publication of JP2002351724A publication Critical patent/JP2002351724A/en
Application granted granted Critical
Publication of JP3707396B2 publication Critical patent/JP3707396B2/en
Priority to US12/072,068 priority patent/US7974954B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a recording method and a recorder capable of restoring management information when a fault occurs in the management information for managing the hierarchical structure of a file system. SOLUTION: The recording method for recording data in a recording medium based on a hierarchical file system records the management information for managing the hierarchical structure of the file system in the specific area of the recording medium, handles an unused area in a specific area as a special file, copies the whole specific area as it is in another area and handles the copied whole specific area as a single backup file. When a part of the management information becomes unreadable, the size of a special file is reduced by using data corresponding to a part of the backup file, thereby restoring a part of the unreadable management information in an unoccupied part in a specific area.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、書き換え可能な記
録媒体にデータを記録する記録方法に関し、特に、ファ
イルシステムの階層構造を管理する管理情報に障害が生
じた場合に該管理情報を復旧することができる記録方法
に関する。そして、該記録方法を利用する記録装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording method for recording data on a rewritable recording medium, and more particularly to recovering management information for managing a hierarchical structure of a file system when a failure occurs. Recording methods that can be used. Further, the present invention relates to a recording apparatus using the recording method.

【0002】[0002]

【従来の技術】近年、DVD(Digital Versatile Disc)
に代表される、高密度光ディスクの開発が進み、規格の
標準化が進められている。これにより、メディア種別に
よる各種の物理的記憶様式の相違をできるだけ吸収する
こととアプリケーションに対して共通性の高い情報記憶
単位を提供する論理構造の構築とを目的として、UDF
(Universal Disk Format)が策定された。書き換え可能
であるDVD−RAM(DVD-Random Access Memory)は、
このUDFに従った論理フォーマットが用いられる。そ
して、書き込み可能なCD−Rや、書き換え可能なCD
−RWも、このUDFを適用することができる。
2. Description of the Related Art In recent years, DVD (Digital Versatile Disc)
And the development of high-density optical disks, and the standardization of standards has been promoted. With this, the UDF is designed to absorb as much as possible the differences in various physical storage modes depending on the media type and to construct a logical structure that provides a highly common information storage unit to applications.
(Universal Disk Format) was formulated. A rewritable DVD-RAM (DVD-Random Access Memory)
A logical format according to the UDF is used. And a writable CD-R or a rewritable CD
-RW can also apply this UDF.

【0003】UDFは、階層的なファイルシステムによ
って構成され、ルート・ディレクトリに格納された情報
からサブ・ディレクトリや実体的なファイルが参照され
る。そして、UDFは、サブ・ディレクトリに格納され
た情報から、さらに別のサブ・ディレクトリの参照や、
実体的なファイルの参照がなされる。以下、ディレクト
リを「Dir.」と略記する。
[0003] The UDF is constituted by a hierarchical file system, and subdirectories and substantive files are referred to from information stored in a root directory. Then, the UDF uses the information stored in the sub directory to refer to another sub directory,
Substantial file references are made. Hereinafter, the directory is abbreviated as "Dir."

【0004】ディスク上の記録領域は、セクタを最小単
位としてアクセスされ、例えば、DVD−RAMでは、
ディスクの内側から外側へとアクセスがなされる。最内
周側から、リードイン領域に続けてボリューム情報が書
き込まれるシステム領域が配され、ここに、VRS(Vol
ume Recognition Sequence)、MVDS(Main VolumeDes
criptor Sequence)、LVIS(Logical Volume Integri
ty Sequence)およびAVDP(Anchor Volume Descript
or Pointer)が書き込まれる。
[0004] A recording area on a disk is accessed with a sector as a minimum unit. For example, in a DVD-RAM,
Access is made from the inside to the outside of the disc. From the innermost side, a system area in which volume information is written is arranged following the lead-in area.
ume Recognition Sequence), MVDS (Main VolumeDes
criptor Sequence), LVIS (Logical Volume Integri
ty Sequence) and AVDP (Anchor Volume Descript)
or Pointer) is written.

【0005】ルート・Dir.のファイル・エントリ(F
ile Entry、以下、「FE」と略記する。)が書き込まれ
る記録領域の位置は、AVDPからMVDSおよびFS
Dを順に参照することで認識される。FEは、ファイル
やディレクトリの属性情報およびアロケーション・ディ
スクリプタ(Allocation Descriptor、以下、「AD」と
略記する。)からなる。ADは、ファイルやディレクト
リの論理アドレスと大きさとの情報である。
[0005] Root Dir. File entry (F
ile Entry, hereinafter abbreviated as “FE”. ) Is written from AVDP to MVDS and FS
It is recognized by referring to D in order. The FE includes attribute information of a file or a directory and an allocation descriptor (hereinafter, abbreviated as “AD”). AD is information on logical addresses and sizes of files and directories.

【0006】ルート・Dir.のFEにおいて、ADに
よって実体としてのルート・Dir.の論理アドレスと
大きさとが示される。ルート・Dir.は、1または複
数のファイル識別記述子(File Identifier Descripto
r、以下、「FID」と略記する。)を含み、FIDによ
って、ルート・Dir.下にあるサブ・Dir.のFE
やファイルのFEが参照される。これらのFEによっ
て、それぞれ対応するサブ・Dir.やファイルの実体
がそれぞれのADによって参照される。また、サブ・D
ir.の実体は、さらに1または複数のFIDを含むこ
とができる。すなわち、UDFにおいて、ルート・Di
r.を除いてディスクに記録されているサブ・Dir.
やファイルは、FIDおよびFEをポインタとして、F
ID、FEおよび実体の順にアクセスが行われ、認識さ
れる。UDFでは、このFID、FEおよび実体は、記
録可能な領域のどこに書き込んでも良い。
[0006] The root Dir. In the FE of AD, the root Dir. The logical address and the size are shown. Root Dir. Is one or more File Identifier Descriptor
r, hereinafter abbreviated as “FID”. ), And by FID, root Dir. The sub-Dir. FE
And the FE of the file. By these FEs, the corresponding sub-Dir. And the entity of the file is referred to by each AD. Sub D
ir. May further include one or more FIDs. That is, in UDF, the root / Di
r. Except for the sub-Dir. Recorded on the disc.
And files, using FID and FE as pointers, F
Access is made in the order of ID, FE, and entity and recognized. In UDF, the FID, FE, and entity may be written anywhere in the recordable area.

【0007】[0007]

【発明が解決しようとする課題】ところで、FIDやF
Eなどのポインタ情報で構成される、ファイルシステム
の階層構造を管理する管理情報に何らかの障害がディス
クの使用中などに生じ、ドライブ装置が、読み出すこと
ができなくなってしまう場合がある。このような場合で
は、動画データやオーディオデータなどの実データにた
とえ障害が生じていない場合でも管理情報を読み出すこ
とができないために、当該実データにアクセスすること
ができないという問題があった。
However, FID and F
There is a case where some trouble occurs in the management information for managing the hierarchical structure of the file system, which is configured by pointer information such as E, when the disk is being used, and the drive device cannot read data. In such a case, even if actual data such as moving image data and audio data does not have a failure, the management information cannot be read out, so that the actual data cannot be accessed.

【0008】そこで、本発明の目的は、管理情報をファ
イル化して記録媒体に別に記録しておくことで、管理情
報に障害が生じた場合には、該ファイルを参照して管理
情報を復旧することができる記録方法および装置、なら
びに、記録媒体を提供することにある。
[0008] Therefore, an object of the present invention is to store management information in a file and record it separately on a recording medium, so that if a failure occurs in the management information, the management information is restored by referring to the file. It is an object of the present invention to provide a recording method and apparatus capable of performing the recording and a recording medium.

【0009】[0009]

【課題を解決するための手段】本発明では、階層的なフ
ァイルシステムに基づきデータを記録媒体に記録する記
録方法において、ファイルシステムの階層構造を管理す
る管理情報を記録媒体の特定領域に記録するようにし、
前記特定領域中の未使用領域を特別なファイルとして扱
うようにし、前記特定領域全体を別の領域にそのまま複
写すると共に前記複写した特定領域全体を1つのバック
アップファイルとして扱うようにし、前記管理情報の一
部が読み込めなくなった場合に、前記バックアップファ
イル中の前記一部に対応するデータを用いて、前記特別
なファイルの大きさを小さくすることで上記特定領域に
空いた部分に前記読み込めなくなった管理情報の一部を
復旧するように構成する。
According to the present invention, in a recording method for recording data on a recording medium based on a hierarchical file system, management information for managing a hierarchical structure of the file system is recorded in a specific area of the recording medium. So that
The unused area in the specific area is handled as a special file, the entire specific area is copied to another area as it is, and the entire copied specific area is handled as one backup file. When a part cannot be read, by using data corresponding to the part in the backup file, by reducing the size of the special file, the management that the part cannot be read in the part vacant in the specific area is performed. Configure to recover part of the information.

【0010】そして、本発明では、階層的なファイルシ
ステムに基づきデータを記録媒体に記録する記録装置に
おいて、ファイルシステムの階層構造を管理する管理情
報を記録媒体の特定領域に記録する手段と、前記特定領
域中の未使用領域を特別なファイルとして扱われるよう
にする手段と、前記特定領域全体を別の領域にそのまま
複写すると共に前記複写した特定領域全体を1つのバッ
クアップファイルとして扱われるようにする手段と、前
記管理情報の一部が読み込めなくなった場合に、前記バ
ックアップファイル中の前記一部に対応するデータを用
いて、前記特別なファイルの大きさを小さくすることで
前記特定領域に空いた部分に前記読み込めなくなった管
理情報の一部を復旧するようにする手段とを備えて構成
される。
According to the present invention, in a recording apparatus for recording data on a recording medium based on a hierarchical file system, means for recording management information for managing a hierarchical structure of the file system in a specific area of the recording medium, Means for treating an unused area in a specific area as a special file, and copying the entire specific area as it is to another area and treating the entire copied specific area as one backup file Means, when a part of the management information cannot be read, using the data corresponding to the part in the backup file, reducing the size of the special file to vacant the specific area. Means for restoring a part of the management information which has become unreadable in the part.

【0011】このような記録方法および記録装置では、
バックアップファイルを用いてオリジナルの管理情報を
復旧することができるので、管理情報の一部に障害が生
じた場合でも、記録媒体に記録されている実データを確
実に再生することができる。そして、復旧すべきデータ
をオリジナルの管理情報が置かれている特定領域内に置
くので、復旧後も管理情報は、特定領域内にまとめて置
くことができる。このため、復旧後においても、ファイ
ルシステムの階層構造を高速に読み出すことができ、再
生開始時間を従来に較べて短縮することができる。
In such a recording method and a recording apparatus,
Since the original management information can be restored using the backup file, the actual data recorded on the recording medium can be reliably reproduced even when a part of the management information fails. Then, since the data to be restored is placed in the specific area where the original management information is placed, the management information can be put together in the specific area even after restoration. Therefore, even after recovery, the hierarchical structure of the file system can be read at a high speed, and the reproduction start time can be shortened as compared with the related art.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施形態について
図面に基づいて説明する。なお、各図において、同一の
構成については、同一の符号を付す。
Embodiments of the present invention will be described below with reference to the drawings. In the drawings, the same components are denoted by the same reference numerals.

【0013】図1は、ディスク状記録媒体の論理フォー
マットをディスクの形状に対応付けて示す略線図であ
る。
FIG. 1 is a schematic diagram showing a logical format of a disk-shaped recording medium in association with a disk shape.

【0014】図2は、フォーマット処理後におけるSM
A−2の構造を説明するための略線図である。なお、図
2Aは、SMA−2領域を示し、図2Bは、SMA−3
領域、特に、BOSの実体を示す。
FIG. 2 shows SM after format processing.
FIG. 3 is a schematic diagram illustrating the structure of A-2. 2A shows an SMA-2 region, and FIG. 2B shows an SMA-3 region.
The area, in particular, the substance of the BOS is shown.

【0015】図1において、ディスク状記録媒体10の
論理フォーマットは、UDF(Universal Disk Format)
に準ずる。ディスク状記録媒体10において、最内周に
リードイン領域11が配される。リードイン領域11の
外側から論理セクタ番号(Logical Sector Number、以
下「LSN」と略記する。)が割り当てられ、順に、ボ
リューム情報領域12、SMA(Space management are
a)−1領域15、SMA−2領域16、SMA−3領域
17およびボリューム情報領域13が配され、最外周に
リードアウト領域14が配される。論理セクタ番号は、
ボリューム領域12の先頭セクタが基準「0」となる。
一方、SMA−1領域15〜SMA−3領域17には、
SMA−1領域の先頭セクタを基準「0」として論理ブ
ロック番号(Logical Broke Number、以下「LBN」と
略記する。)が割り当てられる。
In FIG. 1, the logical format of the disk-shaped recording medium 10 is UDF (Universal Disk Format).
According to. In the disk-shaped recording medium 10, a lead-in area 11 is arranged at the innermost circumference. A logical sector number (hereinafter, abbreviated as “LSN”) is allocated from the outside of the lead-in area 11, and the volume information area 12 and the SMA (Space management are) are sequentially assigned.
a) The -1 area 15, the SMA-2 area 16, the SMA-3 area 17, and the volume information area 13 are arranged, and the lead-out area 14 is arranged at the outermost periphery. The logical sector number is
The first sector of the volume area 12 is the reference “0”.
On the other hand, in the SMA-1 region 15 to the SMA-3 region 17,
A logical block number (Logical Broke Number, hereinafter abbreviated as “LBN”) is assigned with the first sector of the SMA-1 area as a reference “0”.

【0016】ボリューム情報領域12には、UDFの規
定に基づき、VRS、MVDSおよびLVISが書き込
まれる。ボリューム情報領域12内のLSN256に
は、AVDPが置かれる。さらに、AVDPは、最終論
理セクタ番号のセクタおよび(最終論理セクタ番号−2
56)のセクタにも書き込まれる。また、MVDSの内
容は、リードアウト領域14の内側にあるボリューム情
報領域13にRVDS(Reserve Volume Descriptor Seq
uence)として2度書きされる。
In the volume information area 12, VRS, MVDS and LVIS are written based on the UDF regulations. AVDP is placed in LSN 256 in volume information area 12. Further, the AVDP uses the sector of the last logical sector number and (the last logical sector number-2).
The data is also written to the sector 56). The contents of the MVDS are stored in the volume information area 13 inside the lead-out area 14 in the RVDS (Reserve Volume Descriptor Sequence).
uence) twice.

【0017】論理セクタ番号が272から(最終論理セ
クタ番号−272)の間には、パーティション領域が設
けられる。SMA−1領域15〜SMA−3領域17
は、このパーティション領域に配される。パーティショ
ン領域の最内周側に設けられるSMA−1領域15は、
UDFの規定に基づき、FSDS(File Set Descriptor
Sequence)とSBD(Space Bitmap Descriptor)とからな
り、FSDSは、FSD(File Set Descriptor)とTD
(Terminating Descriptor)とからなる。SBDは、デ
ィスク状記録媒体10の全体の空きエリアを示す情報が
格納され、セクタ毎にフラグを立てることでこれを表現
する。FSDは、ファイルシステムの階層構造における
ルート・Dir.に対するFE(File Entry)の論理アド
レスと大きさとが示される。
A partition area is provided between the logical sector number 272 and the last logical sector number -272. SMA-1 area 15 to SMA-3 area 17
Are arranged in this partition area. The SMA-1 area 15 provided on the innermost side of the partition area
Based on UDF regulations, FSDS (File Set Descriptor
Sequence) and SBD (Space Bitmap Descriptor). FSDS is FSDS (File Set Descriptor) and TD
(Terminating Descriptor). The SBD stores information indicating the entire free area of the disk-shaped recording medium 10 and expresses this by setting a flag for each sector. The FSD is the root Dir. In the hierarchical structure of the file system. The logical address and the size of the FE (File Entry) with respect to are shown.

【0018】図1および図2において、SMA−2領域
16は、ルート・Dir.のFE、ルート・Dir.の
実体、BOS(Back-up Of Space management file)の
FE、SMF(Space Management File)のFEおよびS
MFの実体とが置かれる領域である。SMA−2領域1
6には、後述するようにSMFの実体を必要に応じて必
要量を削減することで、サブ・Dir.のFE、ファイ
ルを指すFIDを含むサブ・Dir.の実体が置かれ
る。すなわち、FIDとディレクトリのFEとは、SM
A−2領域16にまとめて記録されることになる。
In FIG. 1 and FIG. 2, the SMA-2 area 16 includes the root Dir. FE, Root Dir. Entity, FE of BOS (Back-up Of Space management file), FE and S of SMF (Space Management File)
This is the area where the entity of the MF is placed. SMA-2 area 1
6, the necessary amount of the SMF entity is reduced as needed, as will be described later, so that the sub-Dir. Of the sub-Dir. Containing the FID pointing to the file. Entity is placed. That is, the FID and the FE of the directory are SM
The information is collectively recorded in the A-2 area 16.

【0019】SMFは、2個の実体から構成され、SM
FのFE中のAD−0およびAD−1によってそれぞれ
指し示される。SMFの第1の実体は、SMFの第2の
実体として初期に確保された領域の場所(論理アドレ
ス)および大きさの情報を記述するために確保される領
域である。図2では、AD−0によって指し示される領
域である。SMFの第2の実体は、後述するように、フ
ォーマット処理後にディスク状記録媒体10にデータを
記録する間に作成されるFIDやディレクトリのFEに
対して使用するために確保される領域である。図2で
は、AD−1によって指し示される領域である。
The SMF is composed of two entities,
Indicated by AD-0 and AD-1 in F FE, respectively. The first entity of the SMF is an area secured for describing information on the location (logical address) and size of the area initially secured as the second entity of the SMF. In FIG. 2, the area is indicated by AD-0. As will be described later, the second entity of the SMF is an area secured for use in FID created during recording of data on the disk-shaped recording medium 10 after format processing and FE in a directory. In FIG. 2, the area is indicated by AD-1.

【0020】このようにSMFを2個の実体に分け、第
2の実体における初期の場所と大きさに関する情報を第
1の実体に記述することで、SMFのFEが記録された
場所やルート・Dir.のFEが記録された場所に因ら
ず、SMA−2領域16を定義することができる。さら
に、サブ・Dir.の削除やルート・Dir.下のファ
イルの削除などに柔軟に対応することができる。
As described above, the SMF is divided into two entities, and information on the initial location and size of the second entity is described in the first entity. Dir. SMA-2 area 16 can be defined regardless of where the FE is recorded. Further, the sub Dir. Deletion and root / Dir. It can respond flexibly to the deletion of the files below.

【0021】このようなSMFは、特定の属性が付され
たファイルとしてSMA−2領域16の未使用領域がフ
ォーマット時に予め所定の容量で確保される。未使用領
域をSMFとしてファイル化して扱うことによって、上
述のSBDにおいて、この未使用領域が空きエリアとし
て認識されないようにすることができる。
In such an SMF, an unused area of the SMA-2 area 16 is secured with a predetermined capacity at the time of formatting as a file with a specific attribute. By handling the unused area as a file as an SMF, it is possible to prevent the unused area from being recognized as a free area in the above-described SBD.

【0022】ここで、ルート・Dir.のFE、ルート
・Dir.の実体およびSMFのFEをそれぞれ格納す
るセクタは、SMA−2領域16の何れの場所でもよい
が、これらへのアクセスを高速に行う観点から、図1に
示すように、連続的に記録されることが望ましい。
Here, the route Dir. FE, Root Dir. The sector storing the FE of the SMF and the sector storing the FE of the SMF may be located at any place in the SMA-2 area 16. However, from the viewpoint of accessing these at high speed, they are continuously recorded as shown in FIG. It is desirable.

【0023】従来例で既に述べたが、FEは、ファイル
やディレクトリの実体の場所および大きさを示す。FE
中のADによって、これらの情報が記される。また、F
IDは、ファイルやディレクトリの名前と、FID中の
ICB(Information ControlBlock)によってFEの場所
および大きさを示す。
As already described in the conventional example, FE indicates the location and size of the entity of a file or directory. FE
This information is described by the AD in FIG. Also, F
The ID indicates the location and size of the FE by the name of the file or directory and the ICB (Information Control Block) in the FID.

【0024】SMA−3領域17には、ファイルのFE
とファイルのデータとが置かれる領域であり、BOSの
実体(BOSのデータ)もここに置かれる。BOSの実
体は、SMA−2領域16にまとめて記録される管理情
報をバックアップするためのファイルであり、図2Bに
示すように、SMFのAD−0の実体を参照することに
よって得られるSMA−2領域の完全なコピーである。
BOSの実体の場所および大きさを示すBOSのFE
は、図2Aに示すようにSMA−2領域16に記録さ
れ、図2Bに示すようにBOSの実体中にバックアップ
される。
The SMA-3 area 17 contains the FE of the file.
And the data of the file, and the BOS entity (BOS data) is also stored here. The BOS entity is a file for backing up the management information recorded collectively in the SMA-2 area 16, and as shown in FIG. 2B, the SMA-A is obtained by referring to the SMF AD-0 entity. A complete copy of two areas.
BOS FE indicating the location and size of the BOS entity
Is recorded in the SMA-2 area 16 as shown in FIG. 2A, and is backed up in the BOS entity as shown in FIG. 2B.

【0025】SMA−3領域17において、ファイルの
FEとそのFEに対応したファイルのデータは、アドレ
ス的に連続して配置されることが好ましい。ファイルを
追加する際には、既存のファイルに対してアドレス的に
連続的に、追加されるファイルのFEが配置され、さら
に、アドレス的に連続してファイルのデータが配置され
ることが好ましい。このように、ファイルのFEおよび
ファイルのデータをアドレス的に連続して配置すること
により、ファイルへのアクセスを高速に行うことができ
る。
In the SMA-3 area 17, the FE of the file and the data of the file corresponding to the FE are preferably arranged consecutively in address. When adding a file, it is preferable that the FE of the file to be added be arranged continuously in address with respect to the existing file, and the data of the file be arranged continuously in address. In this way, by arranging the FE of the file and the data of the file consecutively in address, the file can be accessed at high speed.

【0026】次に、このディスク状記録媒体10のフォ
ーマット方法について、一例を説明する。なお、リード
イン領域11およびリードアウト領域14は、例えば、
ディスク状記録媒体10の製造行程におけるプレス行程
の際に予め作成されるなどして、フォーマット処理以前
から既に存在するものとする。フォーマット処理は、デ
ィスク状記録媒体10の内周側から外周側にかけて進め
られる。
Next, an example of a method of formatting the disk-shaped recording medium 10 will be described. Note that the lead-in area 11 and the lead-out area 14 are, for example,
It is assumed that the disk-shaped recording medium 10 already exists before the format process, for example, by being created in advance during the press process in the manufacturing process of the disk-shaped recording medium 10. The formatting process proceeds from the inner peripheral side to the outer peripheral side of the disk-shaped recording medium 10.

【0027】フォーマット処理が開始されると、最初に
AVDPが複数の所定アドレスにそれぞれ書き込まれ、
上述したVRS、MVDSおよびLVISがリードイン
領域11の外側から書き込まれる。
When the format processing is started, first, the AVDP is written to a plurality of predetermined addresses, respectively.
The above-mentioned VRS, MVDS and LVIS are written from outside the lead-in area 11.

【0028】次に、パーティションが作成される。パー
ティションにおいて、先ず、SMA−1領域15が作成
され、FSDが書き込まれ、ルート・Dir.の位置が
決められる。そして、SBDが作成される。このとき
に、上述したSMFの領域をSBDにおいて使用済み領
域とすることで、SMFの領域が確保される。
Next, a partition is created. In the partition, first, the SMA-1 area 15 is created, the FSD is written, and the root Dir. Is determined. Then, an SBD is created. At this time, the SMF area is secured by setting the above-described SMF area as a used area in the SBD.

【0029】SBDが作成されSMA−1領域15が作
成されると、次に、SMA−1領域15の外側からSM
A−2領域16が作成される。
When the SBD is created and the SMA-1 area 15 is created, next, the SM from outside the SMA-1 area 15 is created.
An A-2 area 16 is created.

【0030】SMA−2領域16の作成において、先
ず、SMA−1領域15で書き込まれたFSDに基づ
き、所定のアドレスにルート・Dir.のFEを記述す
るセクタおよびルート・Dir.の実体を記述するセク
タが連続的に確保され、それぞれにルート・Dir.の
FEおよび実体が書き込まれる。
In the creation of the SMA-2 area 16, first, based on the FSD written in the SMA-1 area 15, the root / Dir. Sector and root that describe the FE of the Dir. Are continuously secured, and each of the sectors describes the root / Dir. Is written.

【0031】ルート・Dir.の実体は、フォーマット
処理において、親Dir.のFID、SMFのFIDお
よびBOSのFIDから構成される。SMFのFID
は、SMFのFEの場所を指定し、BOSのFIDは、
BOSのFEの場所を指定する。
Root Dir. The entity of the parent Dir. FID, SMF FID, and BOS FID. SMF FID
Specifies the location of the FE of the SMF, and the FID of the BOS is
Specify the location of the FE of the BOS.

【0032】このとき、SMFおよびBOSの属性が各
FID中に指定される。指定されるSMFおよびBOS
の属性は、SMFおよびBOSが他の機器やOS(Opera
tingSystem)によって消去、書き換え、移動などが行わ
れないようにするためのものである。例えば、「隠しフ
ァイル属性」が、SMFおよびBOSの属性としてそれ
ぞれ指定される。「隠しファイル属性」は、この属性が
設定されたファイルを通常の方法では閲覧することがで
きなくする属性である。
At this time, the attributes of SMF and BOS are specified in each FID. SMF and BOS specified
The attribute of SMF and BOS is that other devices and OS (Opera
tingSystem) to prevent erasing, rewriting, moving, and the like. For example, “hidden file attribute” is specified as an attribute of SMF and BOS, respectively. The “hidden file attribute” is an attribute that makes it impossible to view a file for which this attribute is set by a normal method.

【0033】次に、BOSのFEが作成され、BOSの
実体の場所と大きさとを指定するADは、ここに置かれ
る。ここで、BOSの実体の大きさは、BOSの実体が
SMA−2領域16の情報を完全にコピーすることがで
きる大きさである。
Next, the FE of the BOS is created, and the AD specifying the location and size of the BOS entity is placed here. Here, the size of the BOS entity is such that the BOS entity can completely copy the information in the SMA-2 area 16.

【0034】次に、SMFのFEが作成される。SMF
のFEは、フォーマット処理の際には、第1の実体のフ
ァイルにおける場所と大きさとを指定するAD−0と第
2の実体のファイルにおける場所と大きさとを指定する
AD−1とを備えて構成される。
Next, the FE of the SMF is created. SMF
In the format processing, the FE includes AD-0 that specifies the location and size of the first entity in the file and AD-1 that specifies the location and size of the second entity in the file. Be composed.

【0035】FEを指定するだけで当該ファイルが存在
することになるから、BOSのFEおよびSMFのFE
を作成することで、SMFの実体を置く領域とBOSの
実体を置く領域とがそれぞれ確保される。
Since the file exists only by specifying the FE, the FE of the BOS and the FE of the SMF
Is created, an area where the entity of the SMF is located and an area where the entity of the BOS is located are secured.

【0036】また、BOSおよびSMFの各FEには、
「読み出し専用ファイル属性」および「システムファイ
ル属性」がそれぞれ指定される。「読み出し専用ファイ
ル属性」は、この属性が設定されたファイルが読み出し
専用であって、変更や消去がシステムによって禁止され
ることを示す属性である。「システムファイル属性」
は、この属性が設定されたファイルがシステムのために
必要なファイルであることを示す属性である。これら3
つの属性を共にBOSおよびSMFにそれぞれ指定する
ことで、意図的な操作以外では、BOSおよびSMFに
対する消去、書き換え、移動などの処理を行うことがで
きなくすることができる。なお、これらの属性は、周知
の所定の方法で解除することができる。
In addition, each FE of BOS and SMF has:
“Read-only file attribute” and “system file attribute” are specified. The “read-only file attribute” is an attribute indicating that the file to which this attribute is set is read-only, and that alteration or deletion is prohibited by the system. "System File Attributes"
Is an attribute indicating that the file in which this attribute is set is a file necessary for the system. These three
By designating both attributes to the BOS and the SMF, it is possible to prevent the BOS and the SMF from being erased, rewritten, moved, etc., except for intentional operations. Note that these attributes can be canceled by a known method.

【0037】次に、ルート・Dir.の実体を記述する
セクタに連続するようにSMFの第1の実体が作成さ
れ、SMFの第2の実体における初期の場所および大き
さがこれに記述される。すなわち、ファーマット処理時
に確保されたSMFの第2の実体における場所および大
きさがSMFの第1の実体に記述される。この記述の形
式は、UDFに倣ってADの形式で記述され、本明細書
ではこの擬似的なADを[AD]で表現する。図2で
は、[AD−SMA2]である。そして、SMFの第2
の実体が拡張され[AD]が複数存在する可能性がある
ことから、この個数を示すために、UDFに倣ってAE
D(Allocation Extent Descriptor)の形式で記述され
る。この擬似的なAEDを本明細書では[AED]と表
現する。
Next, the root Dir. A first entity of the SMF is created to be continuous to the sector describing the entity of the SMF, and the initial location and size of the second entity of the SMF are described in this. That is, the location and size of the SMF in the second entity secured during the format processing are described in the first entity of the SMF. This description format is described in the form of an AD following the UDF, and in this specification, this pseudo AD is represented by [AD]. In FIG. 2, it is [AD-SMA2]. And the second of SMF
Since there is a possibility that the entity of [AD] may be extended and a plurality of [AD] may exist, the AE is used to indicate the number according to the UDF.
It is described in the format of D (Allocation Extent Descriptor). This pseudo AED is expressed as [AED] in this specification.

【0038】このように、SMA−2領域16内にSM
Fを存在させることで、SMA−2領域16の空きエリ
アをSMFによって確保することができる。フォーマッ
ト処理後に、サブ・Dir.のFEおよび実体が書き込
まれる場合には、SMFの第2の実体における領域を削
って、これらサブ・Dir.のFEおよび実体がSMA
−2領域16に作成される。
Thus, the SM in the SMA-2 area 16
By making F exist, an empty area of the SMA-2 area 16 can be secured by SMF. After the format processing, the sub Dir. If the FE and the entity of the sub-Dir. Are written, the area in the second entity of the SMF is deleted. FE and entity are SMA
-2 created in the area 16.

【0039】このようにしてSMA−2領域16が作成
される。SMA−2領域16の外側は、SMA−3領域
17である。SMA−3領域17には、その一部分を用
いてBOSの実体が作成される。BOSの実体は、SM
A−2領域16に記録されたファイルシステムの階層構
造を管理する管理情報がファイル化されたデータであ
る。すなわち、フォーマット処理時においては、BOS
の実体は、ルート・Dir.のFE、ルート・Dir.
の実体、BOSのFE、SMFのFEおよびSMFの実
体で構成され、このルート・Dir.の実体は、親Di
r.のFID、SMFのFIDおよびBOSのFIDで
構成される。
Thus, the SMA-2 area 16 is created. Outside the SMA-2 area 16 is the SMA-3 area 17. In the SMA-3 area 17, a BOS entity is created using a part thereof. The substance of BOS is SM
Management information for managing the hierarchical structure of the file system recorded in the A-2 area 16 is filed data. That is, during the format process, the BOS
Entity is root Dir. FE, Root Dir.
Entity of BOS, FE of SMF, and Entity of SMF. Entity is the parent Di
r. FID, SMF FID, and BOS FID.

【0040】そして、BOSの実体の領域を除くSMA
−3領域17は、未使用の領域であり、フォーマット処
理後にファイルのデータなどが記録される。そして、S
MA−3領域17として指定される領域を飛び越して、
RVDSが作成される。RVDSが作成されて、ディス
ク状記録媒体10のフォーマット処理が完了される。
The SMA excluding the BOS entity area
The −3 area 17 is an unused area in which file data and the like are recorded after the format processing. And S
Jumping over the area designated as MA-3 area 17,
An RVDS is created. The RVDS is created, and the format processing of the disc-shaped recording medium 10 is completed.

【0041】次に、フォーマット処理後にサブ・Di
r.やファイルを追加する方法について説明する。
Next, after the format processing, the sub-Di
r. And how to add files.

【0042】図3は、フォーマット処理後にサブディレ
クトリやファイルを追加する方法を説明するための略線
図である。なお、図3Aは、SMA−2領域を示し、図
3Bは、SMA−3領域、特に、BOSの実体を示す。
図2の状態に対して、サブ・Dir.1、…、サブ・D
ir.X、…の追加を行う場合について説明する。
FIG. 3 is a schematic diagram for explaining a method of adding a subdirectory or a file after the format processing. FIG. 3A shows the SMA-2 region, and FIG. 3B shows the SMA-3 region, particularly, the substance of BOS.
With respect to the state of FIG. 1, ..., sub-D
ir. A case where X,... Are added will be described.

【0043】先ず、ルート・Dir.の実体に対して、
サブ・Dir.1を示すFIDの追加が行われる。この
とき、ルート・Dir.の実体が格納されているセクタ
に空きがある場合には、図3Aに示すように、当該セク
タに追加が行われる。一方、図に示さないが、当該セク
タに空きがない場合には、SMFの第2の実体における
エリアの大きさ(サイズ)を小さくした後に、小さくさ
れたことによって空いたエリアにサブ・Dir.1のF
IDが追加される。
First, the root Dir. For the entity of
Sub Dir. An FID indicating “1” is added. At this time, the route Dir. If there is a vacancy in the sector in which the entity of is stored, as shown in FIG. 3A, an addition is made to the sector. On the other hand, although not shown in the figure, if there is no free space in the sector, after reducing the size (size) of the area in the second entity of the SMF, the sub-Dir. 1 F
An ID is added.

【0044】次に、サブ・Dir.1のFEを追加する
ため、SMFの第2の実体におけるエリアの大きさを小
さくする。
Next, the sub Dir. In order to add one FE, the size of the area in the second entity of the SMF is reduced.

【0045】次に、サブ・Dir.1の実体(図3では
親Dir.のFID、子fileのFID)を追加する
ために、SMFの第2の実体における大きさをさらに小
さくする。
Next, the sub Dir. 3, the size of the second entity of the SMF is further reduced in order to add the entity (the FID of the parent Dir. And the FID of the child file in FIG. 3).

【0046】次に、これまでのSMFの第2の実体にお
ける大きさの変更を反映するために、SMFのFEにお
けるAD−1の情報が更新される。
Next, the information of AD-1 in the SMF FE is updated to reflect the change in the size of the second SMF in the second entity.

【0047】次に、SMA−2領域16の変更を反映す
るために、BOSの実体を書き換える。すなわち、SM
A−2領域16の内容を読み込み、そのまま、BOSの
実体に割り当てられている領域に書き込む。BOSの実
体は、ルート・Dir.のFE、ルート・Dir.の実
体、BOSのFE、SMFのFE、SMFのAD−0が
指し示す実体、サブ・Dir.1のFEおよびサブ・D
ir.1の実体から構成され、ルート・Dir.の実体
は、親Dir.のFID、SMFのFID、BOSのF
IDおよびサブ・Dir.1のFIDから構成され、サ
ブ・Dir.1の実体は、親Dir.のFIDおよび子
fileのFIDから構成される。
Next, the BOS is rewritten to reflect the change in the SMA-2 area 16. That is, SM
A-2 The contents of the area 16 are read and written as is to the area assigned to the BOS entity. The substance of BOS is root Dir. FE, Root Dir. Entity, the entity indicated by the FE of BOS, the FE of SMF, and the AD-0 of SMF, and the sub-Dir. 1 FE and sub-D
ir. 1 entity and the root Dir. Entity is the parent Dir. FID, SMF FID, BOS F
ID and sub-Dir. 1 and the sub-Dir. 1 is the parent Dir. And the FID of a child file.

【0048】このような動作をサブ・Dir.2、サブ
・Dir.3、……について、その都度行った結果、S
MA−2領域16は、図3Aに示すようになる。
Such an operation is called sub-Dir. 2, Sub Dir. 3. As a result of performing each time for
The MA-2 region 16 becomes as shown in FIG. 3A.

【0049】なお、上述の処理では、SMA−2領域の
内容に変更があった都度、SMA−2領域の内容をバッ
クアップするBOSの実体の内容を変更したが、これに
限定されるものではない。BOSの実体の内容を変更す
る時期(タイミング)は、ディスク状記録媒体10をド
ライブ装置に挿抜する際や、所定の一定期間の経過ごと
や、ルート・Dirの実体に追加されるFIDを計数し
て所定の数、例えば、3個に達したごとや、ユーザの指
示などでもよい。
In the above-mentioned processing, the content of the BOS entity that backs up the content of the SMA-2 area is changed every time the content of the SMA-2 area is changed. However, the present invention is not limited to this. . The time (timing) for changing the content of the BOS entity is determined when the disk-shaped recording medium 10 is inserted into or removed from the drive device, every predetermined period elapses, or by counting the FID added to the root / Dir entity. A predetermined number, for example, three, or a user's instruction.

【0050】また、上述では、ディレクトリを追加する
場合について説明したが、ファイルを追加する場合は、
次にようになる。
Although the case where a directory is added has been described above, when a file is added,
Then:

【0051】先ず、ルート・Dir.の実体に対して、
新ファイルを示すFIDの追加が行われる。このとき、
ルート・Dir.の実体が格納されているセクタに空き
がある場合には、当該セクタに追加が行われる。一方、
当該セクタに空きがない場合には、SMFの第2の実体
におけるエリアの大きさを小さくした後に、小さくされ
たことによって空いたエリアに新ファイルのFIDが追
加される。この場合においては、SMFの第2の実体に
おける大きさが変更されたので、SMFのFEにおける
AD−1の情報が更新される。次に、新ファイルのFE
がSMF−3領域17のエリアに追加される。次に、新
ファイルの実体がSMF−3領域17のエリアに追加さ
れる。このようにファイルのFEおよび実体は、SMA
−3領域17に配置される。
First, the root Dir. For the entity of
An FID indicating a new file is added. At this time,
Root Dir. If there is a vacancy in the sector where the entity is stored, an addition is made to the sector. on the other hand,
If there is no empty space in the sector, the size of the area in the second entity of the SMF is reduced, and then the FID of the new file is added to the empty area due to the reduction. In this case, since the size of the second entity of the SMF has been changed, the information of AD-1 in the FE of the SMF is updated. Next, FE of the new file
Is added to the area of the SMF-3 area 17. Next, the substance of the new file is added to the area of the SMF-3 area 17. Thus, the FE and entity of the file are SMA
-3 region 17.

【0052】このような動作の結果、新ファイルがルー
ト・Dir.下に追加され、しかも、追加された新ファ
イルに関する情報が既に記録されているディレクトリに
関する情報と共にSMA−2領域16にまとめて記録さ
れることになる。
As a result of such an operation, the new file is stored in the root Dir. The information about the new file that has been added and added below is collectively recorded in the SMA-2 area 16 together with the information about the already recorded directory.

【0053】ところで、例えば、SMA−2領域16に
置かれたルート・Dir.下に多くのサブ・Dir.や
新ファイルを追加したような場合、ルート・Dir.の
実体中のFIDや、サブ・Dir.のFE、サブ・Di
r.の実体中の新ファイルのFIDが多数、追加される
ことになる。この結果、追加されたFEやFIDによっ
て、SMA−2領域16が一杯になってしまうことが考
えられる。
By the way, for example, the root Dir. Below many sub-Dir. When a new file is added, the root, Dir. Of the entity of the sub Dir. FE, Sub-Di
r. Many FIDs of the new file in the entity of are added. As a result, the SMA-2 area 16 may be full due to the added FE or FID.

【0054】このような場合には、SMA−3領域17
の容量に空きがある場合に当該空きを利用して、SMA
−3領域17をさらに複数のSMA領域に分割すること
によって、SMA−2領域16を拡張した領域であるS
MA−4領域と、データを記録するSMA−3領域に相
当するSMA−5領域とをSMA−3領域17における
ファイルが存在する位置の外側に新たに作成する。
In such a case, the SMA-3 area 17
If there is free space in the SMA,
-3 area 17 is further divided into a plurality of SMA areas, so that the SMA-2 area 16 is expanded.
An MA-4 area and an SMA-5 area corresponding to an SMA-3 area for recording data are newly created outside the position of the file in the SMA-3 area 17.

【0055】図4は、SMFの第2の実体を拡張した場
合のSMA−2領域とSMA−4領域との状態およびバ
ックアップファイルの状態を示す略線図である。図4A
は、SMFの第2の実体を使い切ったSMA−2領域の
状態を示し、図4Bは、SMFの第2の実体を拡張した
場合のSMA−2領域とSMA−4領域との状態を示
し、図4Cは、バックアップファイルの状態を示す。
FIG. 4 is a schematic diagram showing the state of the SMA-2 area and the SMA-4 area and the state of the backup file when the second entity of the SMF is extended. FIG. 4A
FIG. 4B shows a state of the SMA-2 area when the second entity of the SMF is used up, and FIG. 4B shows a state of the SMA-2 area and the SMA-4 area when the second entity of the SMF is extended; FIG. 4C shows the status of the backup file.

【0056】図4Bにおいて、このSMA−4領域の確
保によって、SMFのAD−0が指し示す実体には、S
MA−4領域の初期における場所と大きさに関する情報
がADの形式で[AD−SMA4]として追加され、こ
のテーブルの追加に伴い[AED]が更新される。SM
FのFEには、新たに確保されたSMA−4領域を指し
示す場所と大きさがAD−2として追加される。
In FIG. 4B, by securing the SMA-4 area, the entity pointed to by AD-0 of SMF includes
Information on the initial location and size of the MA-4 area is added as [AD-SMA4] in AD format, and [AED] is updated with the addition of this table. SM
The location and size of the newly secured SMA-4 area are added to the FE of F as AD-2.

【0057】さらに、SMA−4領域の内容をバックア
ップするための領域がSMA−3領域内に確保されない
場合には、図示しないがBOSの実体がSMA−5領域
に拡張され、該拡張されたBOSの実体を指し示す場所
と大きさを記述するADがSMA−2領域16のBOS
のFEに追加される。
Further, if an area for backing up the contents of the SMA-4 area is not secured in the SMA-3 area, the BOS entity is extended to an SMA-5 area (not shown), and the expanded BOS AD that describes the location and size pointing to the entity of
Is added to the FE.

【0058】そして、ルート・Dir.下にサブ・Di
r.やファイルが追加される場合には、図2および図3
を用いて上述で説明した動作と同様な動作がAD−2に
よって指し示されるSMFの第2の実体に対して行われ
る。
Then, the root Dir. Sub-Di below
r. 2 and 3 when files and files are added
Are performed on the second entity of the SMF pointed to by AD-2.

【0059】バックアップファイルを作成する場合に
は、図4Bおよび図4Cに示すように、SMA−2領域
およびSMA−4領域に置かれる管理情報のみをバック
アップする。すなわち、BOSの実体は、SMFのAD
−0の実体における[AD−SMA2]を参照してSM
A−2領域をそのままコピーし、[AD−SMA4]を
参照してSMA−4領域をそのままコピーすることによ
って作成される。
When creating a backup file, as shown in FIGS. 4B and 4C, only the management information stored in the SMA-2 and SMA-4 areas is backed up. That is, the substance of BOS is the AD of SMF.
−0 with reference to [AD-SMA2]
It is created by copying the A-2 area as it is and copying the SMA-4 area as it is with reference to [AD-SMA4].

【0060】次に、SMA−2領域16に置かれた管理
情報中におけるサブ・Dir.のFEが読み込めなくな
った場合について、その復旧方法を説明する。
Next, in the management information placed in the SMA-2 area 16, the sub-Dir. In the case where the FE cannot be read, a method of recovering the FE will be described.

【0061】図5は、障害が発生したサブ・Dir.の
FEを復旧する処理を説明するの略線図である。
FIG. 5 shows a sub-Dir. FIG. 9 is a schematic diagram illustrating a process of restoring the FE.

【0062】図5Aは、サブ・Dir.Xに障害が発生
した状態を示し、図5Bおよび図5Cは、BOSの実体
中に置かれたサブ・Dir.XのFEを用いて、SMA
−2領域16中にサブ・Dir.XのFEを復旧した状
態を示す。
FIG. 5A is a diagram showing a sub Dir. X shows a state in which a failure has occurred, and FIGS. 5B and 5C show sub-Dir. X placed in the BOS entity. Using FE of X, SMA
-2 in the sub-Dir. This shows a state in which the FE of X has been restored.

【0063】図5Aにおいて、ルート・Dir.下にあ
るサブ・Dir.Xについて、そのFIDがルート・D
ir.の実体に置かれ、このサブ・Dir.XのFID
によってLBN bにあるサブ・Dir.XのFEが指し
示され、このサブ・Dir.XのFEによってサブ・D
ir.Xの実体が指し示される。サブ・Dir.Xの実
体は、親Dir.のFID、子fileのFID、…な
どで構成される。
In FIG. 5A, the route Dir. The sub-Dir. For X, the FID is root D
ir. Of this sub-Dir. X FID
By sub-Dir. In LBN b. X is indicated, and this sub-Dir. Sub-D by FE of X
ir. The entity of X is indicated. Sub Dir. X is the parent Dir. FID, child file FID,...

【0064】このような場合に障害によってサブ・Di
r.XのFEが読み込めなくなると、インプリメンテー
ション(Implementation)は、BOSの実体を用いて管
理情報を復旧する。
In such a case, the failure of the sub-Di
r. When the FE of X cannot be read, the implementation (Implementation) restores the management information by using the BOS entity.

【0065】まず、インプリメンテーションは、サブ・
Dir.XのFEを指し示すLBNb、BOSの実体を
指し示すLBN xおよびSMFのAD−0の実体を調べ
る。SMA−2領域16の先頭位置を差し示すLBN a
は、SMFのAD−0の実体を参照することによって認
識される。
First, the implementation
Dir. The LBNb indicating the X FE, the LBN x indicating the BOS entity, and the SMF AD-0 entity are examined. LBN a indicating the head position of the SMA-2 area 16
Is recognized by reference to the SMF AD-0 entity.

【0066】次に、インプリメンテーションは、これら
を用いてBOSの実体中に置かれているサブ・Dir.
XのFEの場所を調べる。
Next, the implementation uses the sub Dir. That is placed in the BOS entity using these.
Find the location of X's FE.

【0067】ここで、SMFのAD−0の実体を調べる
のは、ディスク状記録媒体の使用中にサブ・Dir.F
E、サブ・Dir.の実体およびファイルのFIDによ
って初期のSMA−2領域16が拡張されている可能性
があるからである。
Here, the entity of the AD-0 of the SMF is checked during the use of the sub-Dir. F
E, Sub Dir. This is because there is a possibility that the initial SMA-2 area 16 is extended by the entity of the file and the FID of the file.

【0068】そこで、図4Cに示す場合でBOSの実体
中に置かれているサブ・Dir.XのFEの場所を調べ
る場合には、FIDによって示されるサブ・Dir.X
のFEのLBNをLBN bとすると、まず、LBN bが
初期におけるSMFの第2の実体の何れにあるかを調べ
る。すなわち、LBN bが[AD−SMA2]からSM
A−2領域にあるか、[AD−SMA4]からSMA−
4領域にあるかを調べる。この結果により、LBN a
からのオフセット値を求める。つまり、LBNbがSM
A−2領域にある場合には、オフセット値は(LBN b
−LBN a)であり、LBN bがSMA−4領域にある
場合には、オフセット値は(SMA−2領域の大きさ)
+(LBN b−(SMA−4領域の先頭LBN))であ
る。このオフセット値をf(LBN b、[SMFのAD
−0の実体])とおく。なお、y=f(x)は、yがx
の関数であることを示す。
Therefore, in the case shown in FIG. 4C, the sub-Dir. X to find the location of the FE, the sub-Dir. X
Assuming that the LBN of the FE is LBNb, it is first checked which LBNb is in the second entity of the SMF in the initial stage. That is, LBN b is changed from [AD-SMA2] to SM
In the A-2 region or from [AD-SMA4] to SMA-
It is checked whether it is in four areas. According to this result, LBN a
Find the offset value from. That is, if LBNb is SM
If it is in the A-2 area, the offset value is (LBN b
−LBN a), and when LBN b is in the SMA-4 area, the offset value is (the size of the SMA-2 area)
+ (LBN b− (head LBN of SMA-4 area)). This offset value is defined as f (LBN b, [SMF AD
−0 entity]). Note that y = f (x) means that y is x
Is a function of

【0069】例えば、SMFの拡張がない場合には、サ
ブ・Dir.XのFEの場所は、LBN x+(LBN b
−LBN a)である。このようにLBN xからのオフセ
ット値=f(LBN b、[SMFのAD−0の実体])
を計算することで、インプリメンテーションは、BOS
の実体中に置かれているサブ・Dir.XのFEを認識
することができる。
For example, if there is no SMF extension, the sub-Dir. The FE location of X is LBN x + (LBN b
-LBN a). Thus, the offset value from LBN x = f (LBN b, [substance of SMF AD-0])
By calculating
Of the sub-Dir. The FE of X can be recognized.

【0070】次に、インプリメンテーションは、調べた
BOSの実体中におけるサブ・Dir.XのFEを読み
込む。
Next, the implementation proceeds with the sub-Dir. Read the FE of X.

【0071】次に、インプリメンテーションは、読み込
んだサブ・Dir.XのFEを追加するため、SMFの
第2の実体におけるエリアの大きさを小さくし、空いた
エリアにサブ・Dir.XのFEを所定の変更をディス
クリプタ・タグ(DescriptorTag)に施した上で追加す
る。
Next, the implementation proceeds with the read sub-Dir. In order to add the FE of X, the size of the area in the second entity of SMF is reduced, and the sub-Dir. The FE of X is added after a predetermined change is made to the descriptor tag (DescriptorTag).

【0072】次に、インプリメンテーションは、SMF
の第2の実体における大きさの変更を反映するために、
SMFのFEにおけるAD−1の情報を更新する。
Next, the implementation is SMF
To reflect the size change in the second entity of
The information of AD-1 in the SMF FE is updated.

【0073】次に、インプリメンテーションは、サブ・
Dir.XのFEにおける位置の変更を反映するため
に、サブ・Dir.XのFIDを書き換える。
Next, the implementation
Dir. X to reflect the change in position in the FE. Rewrite the FID of X.

【0074】次に、インプリメンテーションは、障害が
発生した不良セクタへのアクセスを行わないようにする
ために、該不良セクタをSMFの管理外に置く。すなわ
ち、SMFの初期領域を定義するSMFのAD−0の実
体から該不良セクタを除外する。
Next, the implementation places the defective sector out of SMF management so as not to access the defective sector in which the failure has occurred. That is, the bad sector is excluded from the entity of the AD-0 of the SMF that defines the initial area of the SMF.

【0075】次に、インプリメンテーションは、SMA
−2領域16の変更を反映するために、BOSの実体を
書き換える。
Next, the implementation is SMA
-2 The entity of the BOS is rewritten to reflect the change in the area 16.

【0076】このようにして、障害が生じたサブ・Di
r.XのFEは、バックアップであるBODの実体を参
照すると共にSMFの第2の実体を減縮することによっ
て、SMA−2領域16に置かれる管理情報内に復元さ
れる。したがって、障害が生じたサブ・Dir.XのF
Eを復元した場合でも、管理情報は、すべてSMA−2
領域16内に纏めて置かれることになる。
In this way, the failed sub-Di
r. The FE of X is restored in the management information placed in the SMA-2 area 16 by referring to the entity of the BOD that is the backup and reducing the second entity of the SMF. Therefore, the sub-Dir. X's F
Even if E is restored, the management information is all SMA-2
They will be put together in the area 16.

【0077】次に、SMA−2領域16に置かれた管理
情報中におけるサブ・Dir.の実体が読み込めなくな
った場合について、その復旧方法を説明する。
Next, in the management information placed in the SMA-2 area 16, the sub-Dir. In the case where the entity cannot be read, the recovery method will be described.

【0078】図6は、障害が発生したサブ・Dir.の
実体を復旧する処理を説明するの略線図である。
FIG. 6 shows a sub-Dir. FIG. 9 is a schematic diagram illustrating a process of restoring the entity of FIG.

【0079】図6Aは、サブ・Dir.Xの実体に障害
が発生した状態を示し、図6Bおよび図6Cは、BOS
の実体中に置かれたサブ・Dir.Xの実体を用いて、
SMA−2領域16中にサブ・Dir.Xの実体を復旧
した状態を示す。
FIG. 6A is a diagram showing the sub Dir. FIG. 6B and FIG. 6C show a state where a failure has occurred in the entity of X.
Of the sub-Dir. Using the substance of X,
In the SMA-2 area 16, the sub-Dir. This shows a state where the entity of X has been restored.

【0080】図6Aにおいて、ルート・Dir.下にあ
るサブ・Dir.Xについて、そのFIDがルート・D
ir.の実体に置かれ、このサブ・Dir.XのFID
によってサブ・Dir.XのFEが指し示され、このサ
ブ・Dir.XのFEによってLBN cにあるサブ・D
ir.Xの実体が指し示される。サブ・Dir.Xの実
体は、親Dir.のFID、子fileのFID、…な
どで構成される。親Dir.のFIDは、サブ・Di
r.1のFEを指し示し、子fileのFIDは、SM
A−3領域17中に置かれる子fileのFEを指し示
し、このFEによって子fileの実データが指し示さ
れる。
In FIG. 6A, the route Dir. The sub-Dir. For X, the FID is root D
ir. Of this sub-Dir. X FID
By Sub Dir. X is indicated, and this sub-Dir. Sub-D in LBN c by FE of X
ir. The entity of X is indicated. Sub Dir. X is the parent Dir. FID, child file FID,... Parent Dir. FID is sub-Di
r. 1 and the FID of the child file is SM
A-3 indicates the FE of the child file placed in the area 17, and the FE indicates the actual data of the child file.

【0081】このような場合に障害によってサブ・Di
r.Xの実体が読み込めなくなると、ドライブ装置は、
BOSの実体を用いて管理情報を復旧する。
In such a case, a failure occurs due to a failure
r. When the entity of X cannot be read, the drive device
The management information is restored using the BOS entity.

【0082】まず、インプリメンテーションは、サブ・
Dir.Xの実体を指し示すLBNc、BOSの実体を
指し示すLBN xおよびSMFのAD−0の実体を調べ
る。
First, the implementation
Dir. The LBNc indicating the entity of X, the LBNx indicating the entity of BOS, and the entity of AD-0 of SMF are examined.

【0083】次に、インプリメンテーションは、これら
を用いてBOSの実体中に置かれているサブ・Dir.
Xの実体の場所をLBN xからのオフセットを計算する
ことで調べる。
Next, the implementation uses these data to place the sub Dir.
The location of the entity of X is determined by calculating an offset from LBN x.

【0084】次に、インプリメンテーションは、調べた
BOSの実体中におけるサブ・Dir.Xの実体を読み
込む。
Next, the implementation proceeds with the sub-Dir. Read the entity of X.

【0085】次に、インプリメンテーションは、読み込
んだサブ・Dir.Xの実体を追加するため、SMFの
第2の実体におけるエリアの大きさを小さくし、空いた
エリアにサブ・Dir.Xの実体を追加する。
Next, the implementation proceeds with the read sub-Dir. In order to add the entity of X, the size of the area in the second entity of SMF is reduced, and the sub-Dir. Add the substance of X.

【0086】次に、インプリメンテーションは、SMF
の第2の実体における大きさの変更を反映するために、
SMFのFEにおけるAD−1の情報を更新する。
Next, the implementation is SMF
To reflect the size change in the second entity of
The information of AD-1 in the SMF FE is updated.

【0087】次に、インプリメンテーションは、サブ・
Dir.Xの実体における位置の変更を反映するため
に、サブ・Dir.XのFEを書き換える。
Next, the implementation
Dir. X to reflect the change in position in the entity. Rewrite X's FE.

【0088】次に、インプリメンテーションは、障害が
発生した不良セクタへのアクセスを行わないようにする
ために、該不良セクタをSMFの管理外に置く。これに
より、不良セクタへのアクセスが行われなくなりバック
アップを安全に確実に行うことができる。
Next, the implementation places the defective sector out of SMF management so as not to access the defective sector in which the failure has occurred. As a result, access to the bad sector is not performed, and backup can be performed safely and reliably.

【0089】次に、SMA−2領域16の変更を反映す
るために、BOSの実体を書き換える。
Next, the BOS is rewritten to reflect the change in the SMA-2 area 16.

【0090】このようにして、障害が生じたサブ・Di
r.Xの実体は、BODの実体を参照すると共にSMF
の第2の実体を減縮することによって、SMA−2領域
16に置かれる管理情報内に復元される。したがって、
障害が生じたサブ・Dir.Xの実体を復元した場合で
も、管理情報は、すべてSMA−2領域16内にまとめ
て置かれることになる。
In this way, the failed sub-Di
r. The entity of X refers to the entity of BOD and SMF
Is reduced in the management information placed in the SMA-2 area 16 by reducing the second entity of Therefore,
The failed sub-Dir. Even when the entity of X is restored, all the management information is put together in the SMA-2 area 16.

【0091】次に、本発明に適用することができるドラ
イブ装置について説明する。
Next, a drive device applicable to the present invention will be described.

【0092】図7は、ドライブ装置の一例の構成を示す
図である。
FIG. 7 is a diagram showing a configuration of an example of the drive device.

【0093】ここでは、上述したディスク状記録媒体1
0は、記録層に相変化金属材料を用いた記録媒体とし、
ドライブ装置50は、レーザの出力を調節することによ
って記録層に加える温度を制御して結晶/非結晶に状態
を変えさせる相変化技術により、ディスク状記録媒体1
0にデータの記録を行う。
Here, the disk-shaped recording medium 1 described above is used.
0 is a recording medium using a phase change metal material for the recording layer,
The drive device 50 controls the temperature applied to the recording layer by adjusting the output of the laser to change the state of the disk-shaped recording medium 1 between crystalline and amorphous.
Data is recorded at 0.

【0094】図7において、ドライブ装置50は、スピ
ンドルモータ51、光学ピックアップ52、レーザドラ
イバ53、記録イコライザ54、バッファ用のメモリ5
5、エンコーダ/デコーダ回路56(以下、「ENC/
DEC回路」と略記する。)56、スレッド機構57、
RF信号処理回路58、アドレス抽出59、ドライブ制
御マイコン60、インターフェース(以下、「I/F」
と略記する。)61、サーボ回路62およびメモリ63
を備えて構成される。
In FIG. 7, a drive device 50 includes a spindle motor 51, an optical pickup 52, a laser driver 53, a recording equalizer 54, and a buffer memory 5.
5. Encoder / decoder circuit 56 (hereinafter referred to as “ENC /
DEC circuit ". ) 56, thread mechanism 57,
RF signal processing circuit 58, address extraction 59, drive control microcomputer 60, interface (hereinafter, "I / F")
Abbreviated. ) 61, servo circuit 62 and memory 63
It is comprised including.

【0095】スピンドルモータ51は、チャックされた
ディスク状記録媒体10を回転駆動し、回転速度は、サ
ーボ回路62によってサーボ制御される。
The spindle motor 51 drives the chucked disk-shaped recording medium 10 to rotate, and the rotation speed is servo-controlled by a servo circuit 62.

【0096】ディスク状記録媒体10に対するデータの
記録また再生は、光学ピックアップ52によって行われ
る。光学ピックアップ52は、スレッド機構57によっ
てディスク状記録媒体10の径方向にスレッド移送され
る。
Recording and reproduction of data on the disk-shaped recording medium 10 are performed by the optical pickup 52. The optical pickup 52 is thread-transferred in the radial direction of the disk-shaped recording medium 10 by a thread mechanism 57.

【0097】外部のディジタル機器71からのデータ
は、I/F61、例えば、SCSI(Small Computer Sy
stem Interface)を介してドライブ装置50に供給され
る。ここで、ディジタル機器71は、ディジタル信号の
入出力を行いインターフェイスが適合していれば、どの
ようなディジタル機器でも良く、例えば、パーソナルコ
ンピュータやカメラ付き携帯用ディジタルビデオレコー
ダなどであり、さらに、これら機器に内蔵されるものと
しても良い。
The data from the external digital device 71 is transmitted to the I / F 61, for example, SCSI (Small Computer System).
This is supplied to the drive device 50 via a stem interface). Here, the digital device 71 may be any digital device as long as the interface is suitable for inputting and outputting digital signals, such as a personal computer and a portable digital video recorder with a camera. It may be built into the device.

【0098】I/F61には、ENC/DEC回路56
およびドライブ制御マイコンが接続され、ENC/DE
C回路56には、バッファ用のメモリ55、記録イコラ
イザ54、RF信号処理回路58、サーボ回路62およ
びドライブ制御マイコン60が接続される。
The I / F 61 includes an ENC / DEC circuit 56
And drive control microcomputer are connected, ENC / DE
To the C circuit 56, a buffer memory 55, a recording equalizer 54, an RF signal processing circuit 58, a servo circuit 62, and a drive control microcomputer 60 are connected.

【0099】メモリ55は、ライトデータまたはリード
データを保持するバッファ用のメモリである。ライトデ
ータは、I/F61を介してディジタル機器71からE
NC/DEC回路56に供給される。ENC/DEC回
路56は、記録時には上述したフォーマットのデータを
生成し、その後にそのフォーマットに従ってデータをエ
ンコードする。そして、ENC/DEC回路56は、再
生時にはデコード処理を行い、I/F61を介してディ
ジタルデータをディジタル機器71に出力する。
The memory 55 is a buffer memory for holding write data or read data. The write data is transmitted from the digital device 71 via the I / F 61 to the E.
It is supplied to the NC / DEC circuit 56. The ENC / DEC circuit 56 generates data in the above-described format during recording, and then encodes the data according to the format. Then, the ENC / DEC circuit 56 performs a decoding process at the time of reproduction, and outputs digital data to the digital device 71 via the I / F 61.

【0100】アドレスは、例えば、ENC/DEC回路
56において、サブコードとして付加され、また、デー
タ中のヘッダに対しても付加される。
The address is added as a subcode in the ENC / DEC circuit 56, for example, and is also added to a header in the data.

【0101】ENC/DEC56からのデータは、記録
イコライザ54を介してレーザドライバ53に供給され
る。レーザドライバ53は、ディスク状記録媒体10に
対してデータを記録するために必要な所定のレベルを有
するドライブ波形が生成される。レーザドライバ53の
出力が光学ピックアップ52内のレーザに対して供給さ
れ、当該出力に応じた強度のレーザ光がディスク状記録
媒体10に照射され、データが記録される。また、レー
ザドライバ53は、RF信号処理回路58内のAPC(A
utomatic Power Control) によって、上述したように、
レーザ光の強度が適切に制御される。
The data from the ENC / DEC 56 is supplied to the laser driver 53 via the recording equalizer 54. The laser driver 53 generates a drive waveform having a predetermined level required for recording data on the disk-shaped recording medium 10. An output of the laser driver 53 is supplied to a laser in the optical pickup 52, and a laser beam having an intensity corresponding to the output is applied to the disk-shaped recording medium 10 to record data. In addition, the laser driver 53 controls the APC (A
utomatic Power Control), as described above,
The intensity of the laser light is appropriately controlled.

【0102】一方、ディスク状記録媒体10からの戻り
光により光学ピックアップ52で発生した信号は、RF
信号処理回路58に供給される。アドレス抽出回路59
は、RF信号処理回路58から供給された当該信号に基
づき、アドレス情報の抽出を行う。抽出されたアドレス
情報は、ドライブ制御マイコン60に供給される。
On the other hand, the signal generated by the optical pickup 52 due to the return light from the disk-shaped recording medium 10 is RF
The signal is supplied to the signal processing circuit 58. Address extraction circuit 59
Extracts address information based on the signal supplied from the RF signal processing circuit 58. The extracted address information is supplied to the drive control microcomputer 60.

【0103】また、RF信号処理回路58は、マトリッ
クスアンプが光学ピックアップ52内のフォトディテク
タの検出信号を演算することによって、トラッキングエ
ラー信号TE、フォーカスエラー信号FEを生成する。
トラッキングエラー信号TE、フォーカスエラー信号F
Eがサーボ回路62に供給される。
The RF signal processing circuit 58 generates a tracking error signal TE and a focus error signal FE by a matrix amplifier calculating a detection signal of a photodetector in the optical pickup 52.
Tracking error signal TE, focus error signal F
E is supplied to the servo circuit 62.

【0104】ドライブ制御マイコン60がアドレスを使
用してシーク動作を制御し、また、制御信号を使用して
レーザパワーの制御等を行う。ドライブ制御マイコン6
0は、CPU(Central Processing Unit)、RAM(Rand
om Access Memory)およびROM(Read Only Memory)な
どからなり、I/F61、ENC/DEC回路56、R
F信号処理回路58およびサーボ回路62等、ドライブ
全体を制御する。よって、ドライブ制御マイコン60
は、サブ・Dir.の追加・削除およびファイルの追加
・削除の際に上述した各種の処理を行う。また、ドライ
ブ制御マイコン60に対してメモリ63を接続すること
もできる。
The drive control microcomputer 60 controls the seek operation using the address and controls the laser power using the control signal. Drive control microcomputer 6
0 is CPU (Central Processing Unit), RAM (Rand
om Access Memory) and ROM (Read Only Memory), etc., and include an I / F 61, an ENC / DEC circuit 56,
The entire drive such as the F signal processing circuit 58 and the servo circuit 62 is controlled. Therefore, the drive control microcomputer 60
Is the sub-Dir. The various processes described above are performed when adding / deleting a file and adding / deleting a file. Further, the memory 63 can be connected to the drive control microcomputer 60.

【0105】さらに、ディスク状記録媒体10を再生す
ることで得られるRF信号がENC/DEC回路56に
供給され、ENC/DEC回路56では、記録時に施さ
れた変調処理の復調、エラー訂正符号の復号(すなわ
ち、エラー訂正)等の所定のフォーマットに準ずるデコ
ードを行う。ENC/DEC回路56は、再生データを
バッファ用のメモリ55に格納し、ディジタル機器71
からのリードコマンドを受け付けると、リードデータが
I/F61を介してディジタル機器に対して転送され
る。
Further, an RF signal obtained by reproducing the disk-shaped recording medium 10 is supplied to an ENC / DEC circuit 56. The ENC / DEC circuit 56 demodulates a modulation process performed at the time of recording and outputs an error correction code. Decoding according to a predetermined format such as decoding (that is, error correction) is performed. The ENC / DEC circuit 56 stores the reproduction data in the buffer memory 55 and
When the read command is received, the read data is transferred to the digital device via the I / F 61.

【0106】RF信号処理回路58からのフレーム同期
信号、トラッキングエラー信号TEおよびフォーカスエ
ラー信号FE、および、アドレス抽出回路59からのア
ドレス情報がサーボ回路62に供給される。サーボ回路
62は、光学ピックアップ52に対するトラッキングサ
ーボおよびフォーカスサーボと、スピンドルモータ51
に対するスピンドルサーボと、スレッド機構57に対す
るスレッドサーボとを行う。
The frame synchronization signal, the tracking error signal TE and the focus error signal FE from the RF signal processing circuit 58, and the address information from the address extraction circuit 59 are supplied to the servo circuit 62. The servo circuit 62 includes a tracking servo and a focus servo for the optical pickup 52 and the spindle motor 51.
And the thread servo for the thread mechanism 57 are performed.

【0107】なお、上述では、ディスク状記録媒体10
に対するフォーマットデータをENC/DEC回路56
で生成するように説明したが、これはこの例に限定され
ない。フォーマットデータは、ドライブ制御マイコン6
0で生成することができる。また、フォーマットデータ
は、ディジタル機器71から供給するようにしても良
い。
In the above description, the disk-shaped recording medium 10
ENC / DEC circuit 56
However, this is not limited to this example. The format data is stored in the drive control microcomputer 6
0 can be generated. The format data may be supplied from the digital device 71.

【0108】なお、上述では、本発明が光ディスクドラ
イブ装置や光磁気ディスクドライブ装置などの、換装可
能な書き換え可能なディスク状記録媒体のドライブ装置
に適用される場合について説明したが、本発明は、これ
に限定されず適用可能である。本発明は、記録媒体上に
記録されるデータが記録媒体上に在る所定の管理情報に
よって管理されるようにした記録媒体のドライブ装置、
例えば、ハードディスクドライブ装置などの固定ドライ
ブ装置にも適用可能である。
In the above description, the case where the present invention is applied to a drive device for a replaceable rewritable disk-shaped recording medium, such as an optical disk drive device or a magneto-optical disk drive device, has been described. The present invention is not limited to this and can be applied. The present invention is a recording medium drive device in which data recorded on the recording medium is managed by predetermined management information present on the recording medium,
For example, the present invention can be applied to a fixed drive device such as a hard disk drive device.

【0109】[0109]

【発明の効果】以上、説明したように、本発明は、ファ
イルシステムの階層構造を管理する管理情報が特別なフ
ァイルを有する特定領域にまとめて記録され、さらに、
この管理情報をファイルとしてそのままコピーしてバッ
クアップするので、このオリジナルな管理情報の一部に
障害が生じた場合でも、バックアップのファイルを利用
することによって障害が生じた部分を、特別なファイル
を減縮することで空いた特定領域内のエリアに復元する
ことができる。そのため、ドライブ装置は、障害を復旧
した後はバックアップのファイルを読み込むことなく、
オリジナルな管理情報を読み込むことでファイルシステ
ムの階層構造を認識することができる。さらに、ドライ
ブ装置は、障害を復旧した場合でも、管理情報は、特定
領域にまとめて記録されるので、管理情報を高速に読み
出すことができる。
As described above, according to the present invention, management information for managing the hierarchical structure of a file system is collectively recorded in a specific area having a special file.
Since this management information is copied as a file and backed up, even if a part of this original management information fails, the part that failed by using the backup file is reduced to a special file. By doing so, it is possible to restore to an area within the vacant specific area. Therefore, the drive unit does not read the backup file after recovery from the failure,
By reading the original management information, the hierarchical structure of the file system can be recognized. Furthermore, even when the drive recovers from the failure, the management information is collectively recorded in the specific area, so that the management information can be read at high speed.

【0110】そして、本発明では、特別なファイルにお
ける初期の場所と大きさに関する情報およびこの特別な
ファイルにおける現在の場所と大きさに関する情報を特
定領域中に記録するようにしたので、特定領域の場所お
よび大きさを確実に認識することができる。
In the present invention, the information on the initial location and size in the special file and the information on the current location and size in the special file are recorded in the specific area. The location and size can be reliably recognized.

【0111】さらに、本発明によれば、フォーマット処
理の際に確保されたSMA−2領域が一杯になった場合
には、SMA−2領域の空き領域として管理されるファ
イルの情報を書き換えるだけで、SMA−2領域を拡張
することができるという効果がある。
Further, according to the present invention, when the SMA-2 area secured at the time of the format processing becomes full, it is only necessary to rewrite information of a file managed as an empty area of the SMA-2 area. , SMA-2 region can be extended.

【0112】また、本発明によれば、障害が発生した不
良セクタを特別なファイルの管理外に置くので、不良セ
クタへのアクセスを行わないようにすることができる。
このため、バックアップファイルを安全に確実に作成す
ることができる。
Further, according to the present invention, since a defective sector in which a failure has occurred is placed outside the management of a special file, access to the defective sector can be prevented.
For this reason, a backup file can be created safely and reliably.

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

【図1】ディスク状記録媒体の論理フォーマットをディ
スクの形状に対応付けて示す略線図である。
FIG. 1 is a schematic diagram showing a logical format of a disk-shaped recording medium in association with a disk shape.

【図2】フォーマット処理後におけるSMA−2の構造
を説明するための略線図である。
FIG. 2 is a schematic diagram illustrating the structure of SMA-2 after a format process.

【図3】フォーマット処理後にサブディレクトリやファ
イルを追加する方法を説明するための略線図である。
FIG. 3 is a schematic diagram for explaining a method of adding a subdirectory or a file after a format process.

【図4】SMFの第2の実体を拡張した場合のSMA−
2領域とSMA−4領域との状態およびバックアップフ
ァイルの状態を示す略線図である。
FIG. 4 is a diagram showing an SMA-type when the second entity of the SMF is extended.
FIG. 4 is a schematic diagram illustrating a state of an area 2 and an SMA-4 area and a state of a backup file.

【図5】障害が発生したサブ・Dir.のFEを復旧す
る処理を説明するの略線図である。
FIG. 5 shows a sub-Dir. FIG. 9 is a schematic diagram illustrating a process of restoring the FE.

【図6】障害が発生したサブ・Dir.の実体を復旧す
る処理を説明するの略線図である。
FIG. 6 shows a sub-Dir. FIG. 9 is a schematic diagram illustrating a process of restoring the entity of FIG.

【図7】ドライブ装置の一例の構成を示すブロック図で
ある。
FIG. 7 is a block diagram illustrating a configuration of an example of a drive device.

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

10 ディスク状記録媒体 15 スペース・マネジメント・エリア−1 16 スペース・マネジメント・エリア−2 17 スペース・マネジメント・エリア−3 21 ルート・ディレクトリのファイル・エントリ 22 ルート・ディレクトリの実体 23 スペース・マネジメント・ファイルのファイル・
エントリ
Reference Signs List 10 disk-shaped recording medium 15 space management area-1 16 space management area-2 17 space management area-3 21 root directory file entry 22 root directory entity 23 space management file File·
entry

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B018 GA04 HA03 MA12 MA16 5B082 DC02 DE06 EA01  ──────────────────────────────────────────────────続 き The continuation of the front page F term (reference) 5B018 GA04 HA03 MA12 MA16 5B082 DC02 DE06 EA01

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 階層的なファイルシステムに基づきデー
タを記録媒体に記録する記録方法において、 ファイルシステムの階層構造を管理する管理情報を記録
媒体の特定領域に記録するようにし、 前記特定領域中の未使用領域を特別なファイルとして扱
うようにし、 前記特定領域全体を別の領域にそのまま複写すると共に
前記複写した特定領域全体を1つのバックアップファイ
ルとして扱うようにし、 前記管理情報の一部が読み込めなくなった場合に、前記
バックアップファイル中の前記一部に対応するデータを
用いて、前記特別なファイルの大きさを小さくすること
で前記特定領域に空いた部分に前記読み込めなくなった
管理情報の一部を復旧するようにしたことを特徴とする
記録方法。
1. A recording method for recording data on a recording medium based on a hierarchical file system, wherein management information for managing a hierarchical structure of the file system is recorded in a specific area of the recording medium, Unused area is handled as a special file, the entire specified area is copied to another area as it is, and the entire copied specific area is handled as one backup file, and a part of the management information cannot be read. In this case, by using the data corresponding to the part in the backup file, by reducing the size of the special file, a part of the management information that is no longer readable in the part vacant in the specific area is used. A recording method characterized by being restored.
【請求項2】 前記特別なファイルにおける初期の場所
と大きさに関する情報および前記特別なファイルにおけ
る現在の場所と大きさに関する情報を前記特定領域中に
記録するようにしたことを特徴とする請求項1に記載の
記録方法。
2. The information processing apparatus according to claim 2, wherein information on an initial location and size in the special file and information on a current location and size in the special file are recorded in the specific area. 2. The recording method according to 1.
【請求項3】 前記特定領域に前記管理情報を追加する
場合に、追加される管理情報に応じて前記特別なファイ
ルの大きさを小さくし、 小さくされることで上記特定領域に空いた部分に前記追
加される管理情報を記録するようにし、 前記追加される管理情報に応じて前記バックアップファ
イルを更新するようにしたことを特徴とする請求項1に
記載の記録方法。
3. When the management information is added to the specific area, the size of the special file is reduced according to the management information to be added, and the size of the special file is reduced so that a portion vacated in the specific area is reduced. The recording method according to claim 1, wherein the added management information is recorded, and the backup file is updated according to the added management information.
【請求項4】 前記特定領域に新たに前記管理情報を追
加する領域が無くなった場合に、新たな特別なファイル
を前記記録媒体の未使用領域に設定し、前記新たな特別
なファイルにおける初期の場所と大きさに関する情報お
よび前記新たな特別なファイルにおける現在の場所と大
きさに関する情報を前記特定領域中に記録するようにし
て、特別なファイルの領域を拡大するようにしたことを
特徴とする請求項2に記載の記録方法。
4. When there is no more area in the specific area to which the management information is newly added, a new special file is set as an unused area of the recording medium, and an initial file in the new special file is initialized. The information on the location and size and the information on the current location and size in the new special file are recorded in the specific area, and the area of the special file is enlarged. The recording method according to claim 2.
【請求項5】 階層的なファイルシステムに基づきデー
タを記録媒体に記録する記録装置において、 ファイルシステムの階層構造を管理する管理情報を記録
媒体の特定領域に記録する手段と、 前記特定領域中の未使用領域を特別なファイルとして扱
われるようにする手段と、 前記特定領域全体を別の領域にそのまま複写すると共に
前記複写した特定領域全体を1つのバックアップファイ
ルとして扱われるようにする手段と、 前記管理情報の一部が読み込めなくなった場合に、前記
バックアップファイル中の前記一部に対応するデータを
用いて、前記特別なファイルの大きさを小さくすること
で前記特定領域に空いた部分に前記読み込めなくなった
管理情報の一部を復旧するようにする手段とを備えるこ
とを特徴とする記録装置。
5. A recording device for recording data on a recording medium based on a hierarchical file system, means for recording management information for managing a hierarchical structure of the file system in a specific area of the recording medium, Means for treating an unused area as a special file; means for copying the entire specified area as it is to another area as it is; and means for handling the entire copied specific area as one backup file; When a part of the management information cannot be read, the data corresponding to the part in the backup file is used to reduce the size of the special file to read the part vacated in the specific area. Means for restoring a part of the lost management information.
JP2001161225A 2001-05-24 2001-05-29 Recording method and recording apparatus Expired - Fee Related JP3707396B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2001161225A JP3707396B2 (en) 2001-05-29 2001-05-29 Recording method and recording apparatus
PCT/JP2002/004993 WO2002095751A1 (en) 2001-05-24 2002-05-23 Recording method, recording apparatus, and recording medium
KR1020037001004A KR100927282B1 (en) 2001-05-24 2002-05-23 Recording method, recording apparatus and recording medium
US10/333,553 US7363333B2 (en) 2001-05-24 2002-05-23 Recording method, recording apparatus, and recording medium
EP02726461A EP1391892A4 (en) 2001-05-24 2002-05-23 Recording method,recording apparatus, and recording medium
CNB028023080A CN100474431C (en) 2001-05-24 2002-05-23 Recording method, recording apparatus, and recording medium
US12/072,068 US7974954B2 (en) 2001-05-24 2008-02-22 Recording method, recording apparatus, and record medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001161225A JP3707396B2 (en) 2001-05-29 2001-05-29 Recording method and recording apparatus

Publications (2)

Publication Number Publication Date
JP2002351724A true JP2002351724A (en) 2002-12-06
JP3707396B2 JP3707396B2 (en) 2005-10-19

Family

ID=19004538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001161225A Expired - Fee Related JP3707396B2 (en) 2001-05-24 2001-05-29 Recording method and recording apparatus

Country Status (1)

Country Link
JP (1) JP3707396B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002373099A (en) * 2001-06-14 2002-12-26 Sharp Corp Method for managing disk
US7783685B2 (en) 2003-11-13 2010-08-24 Sony Corporation Information recording/reproducing apparatus, information recording/reproducing method, program storage medium, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002373099A (en) * 2001-06-14 2002-12-26 Sharp Corp Method for managing disk
US7783685B2 (en) 2003-11-13 2010-08-24 Sony Corporation Information recording/reproducing apparatus, information recording/reproducing method, program storage medium, and program
US8219559B2 (en) 2003-11-13 2012-07-10 Sony Corporation Information recording/reproducing apparatus, information recording/reproducing method, program storage medium, and program

Also Published As

Publication number Publication date
JP3707396B2 (en) 2005-10-19

Similar Documents

Publication Publication Date Title
US7974954B2 (en) Recording method, recording apparatus, and record medium
US5210734A (en) Information management method for appendage type additional information recording medium
US20060181993A1 (en) Apparatus for an method of recording digital information signals
JP4300669B2 (en) Recording method and apparatus, and recording medium
JPH07182218A (en) Disk recorder and its file managing method
KR100753707B1 (en) Recording method, recording apparatus, and record medium
JP3707396B2 (en) Recording method and recording apparatus
JP3707400B2 (en) Recording method and recording apparatus
JP2001291366A (en) Method and device for recording, and recording medium
US20080140729A1 (en) Method for Changing Operation on a Storage Medium from a Current File System to a New or Updated File System
JP3562486B2 (en) Recording method, recording apparatus, and recording medium
KR100709656B1 (en) Recording apparatus and recording method
JPS6134773A (en) Information recording system
JP2001243723A (en) Recording device and method
JP2652388B2 (en) Optical disk storage management method
US20070130419A1 (en) Device for and method of recording digital information signals
EP1649460A2 (en) Apparatus for and method of recording digital information signals
JPH01112325A (en) Method for managing storage of optical disk
JPH04195865A (en) Cd-rom drive

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050712

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050725

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080812

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100812

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110812

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120812

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130812

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees