JPH0619763A - File name/directory name extension system - Google Patents
File name/directory name extension systemInfo
- Publication number
- JPH0619763A JPH0619763A JP4199270A JP19927092A JPH0619763A JP H0619763 A JPH0619763 A JP H0619763A JP 4199270 A JP4199270 A JP 4199270A JP 19927092 A JP19927092 A JP 19927092A JP H0619763 A JPH0619763 A JP H0619763A
- Authority
- JP
- Japan
- Prior art keywords
- name
- directory
- file
- path
- real
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 15
- 238000007781 pre-processing Methods 0.000 abstract description 16
- 238000012805 post-processing Methods 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 10
- 238000007796 conventional method Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は計算機のファイルシステ
ムに関し、特にファイル名およびディレクトリ名の長さ
を短く制限しているファイルシステムにおいても長いフ
ァイル名およびディレクトリ名を使用することを可能に
するファイル名/ディレクトリ名拡張方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file system for a computer, and more particularly to a file that enables the use of long file names and directory names even in a file system in which the length of file names and directory names is limited to a short length. Name / directory name extension method.
【0002】[0002]
【従来の技術】従来、ファイルシステムで制限している
長さ以上のファイル名およびディレクトリ名が指定され
た場合、指定されたファイル名およびディレクトリ名の
後ろの部分を無視して制限している長さのファイル名お
よびディレクトリ名に短縮する方式があった。2. Description of the Related Art Conventionally, when a file name or directory name longer than the length restricted by a file system is specified, the length after the specified file name and directory name is ignored and the length is restricted. There was a method to shorten the file name and directory name.
【0003】[0003]
【発明が解決しようとする課題】上述した従来のファイ
ル名およびディレクトリ名を短縮する方式では、ファイ
ルシステムで制限している長さ以上のファイル名および
ディレクトリ名が指定された場合に指定されたファイル
名およびディレクトリ名の後ろの部分を無視して制限し
ている長さのファイル名およびディレクトリ名に短縮し
ていたので、よく似たファイル名およびディレクトリ名
を同じファイル名およびディレクトリ名に短縮すること
があるという欠点がある。In the above-mentioned conventional method for shortening the file name and the directory name, the file specified when the file name and the directory name that are longer than the length restricted by the file system are specified. Since the trailing part of the first name and directory name was ignored and shortened to the limited file name and directory name, the similar file name and directory name should be shortened to the same file name and directory name. There is a drawback that there is.
【0004】また、短縮したファイル名およびディレク
トリ名を元のファイル名およびディレクトリ名に復元す
ることは困難であるという欠点がある。Further, it is difficult to restore the shortened file name and directory name to the original file name and directory name.
【0005】本発明の目的は、上述の点に鑑み、従来の
ファイルシステムを変更することなく、ファイルシステ
ムによって制限している長さ以上のファイル名およびデ
ィレクトリ名を使用することができるようにしたファイ
ル名/ディレクトリ名拡張方式を提供することにある。In view of the above points, an object of the present invention is to make it possible to use a file name and a directory name which are longer than the length restricted by the file system without changing the conventional file system. It is to provide a file name / directory name extension method.
【0006】[0006]
【課題を解決するための手段】本発明のファイル名/デ
ィレクトリ名拡張方式は、ディレクトリが階層的な木構
造をとり、木構造内のファイルの位置をディレクトリの
階層構造を表現するパス名で指定するファイルシステム
において、長さがファイルシステムでの制限を越える仮
想的なファイル名およびディレクトリ名を先頭から分割
し、分割した最後の文字列を実際のファイル名およびデ
ィレクトリ名とし、残りの文字列を仮のディレクトリ名
とし、分割して得た実際のファイル名およびディレクト
リ名と仮のディレクトリ名とを分割した順にディレクト
リの階層が深くなる階層構造を表現するパス名に変換す
る手段と、仮想的なファイル名およびディレクトリ名を
分割して得たパス名中の仮のディレクトリ名であること
を示す情報を仮想的なファイル名およびディレクトリ名
を分割して得たパス名中に仮のディレクトリ名中に含む
手段と、仮想的なファイル名およびディレクトリ名を分
割して得たパス名中の仮のディレクトリ名であることを
示す情報を用いて仮想的なファイル名およびディレクト
リ名を分割して得たパス名中の仮のディレクトリ名と仮
のディレクトリ名下の実際のファイル名およびディレク
トリ名とを連結し仮想的なファイル名およびディレクト
リ名を復元する手段と、仮想的なファイル名およびディ
レクトリ名の参照に際し仮想的なファイル名およびディ
レクトリ名を分割して得たパス名に対応するパス名中の
仮のディレクトリと仮のディレクトリ下の実際のファイ
ルおよびディレクトリとを必要に応じて作成および削除
する手段とを有する。According to the file name / directory name expansion method of the present invention, a directory has a hierarchical tree structure, and the position of a file in the tree structure is designated by a path name expressing the hierarchical structure of the directory. In the file system to be used, the virtual file name and directory name whose length exceeds the limit of the file system is divided from the beginning, the divided last character string is the actual file name and directory name, and the remaining character strings are As a temporary directory name, a means for converting the actual file name and directory name obtained by division and the temporary directory name into a path name that expresses a hierarchical structure in which the hierarchy of the directory becomes deeper, and a virtual name. Virtual information that indicates a temporary directory name in the path name obtained by dividing the file name and directory name A method of including a temporary directory name in a path name obtained by dividing a file name and a directory name, and a temporary directory name in a path name obtained by dividing a virtual file name and directory name. Information that indicates that the virtual file name and directory name are divided into a virtual directory name in the path name and the actual file name and directory name under the virtual directory name are concatenated. A means for restoring the file name and directory name, and a temporary directory in the path name corresponding to the path name obtained by dividing the virtual file name and directory name when referring to the virtual file name and directory name. And the means for creating and deleting the actual files and directories under the directory.
【0007】[0007]
【作用】本発明のファイル名/ディレクトリ名拡張方式
では、長さがファイルシステムでの制限を越える仮想的
なファイル名(以下、仮想ファイル名という)およびデ
ィレクトリ名(以下、仮想ディレクトリ名という)を分
割して、ディレクトリの階層構造を表現するパス名(以
下、実ファイルパス名および実ディレクトリパス名とい
う)に置き換える。よって、“仮想ディレクトリ名/…
/仮想ディレクトリ名/仮想ファイル名”からなるパス
名(以下、仮想パス名という)は、仮想パス名中の仮想
ファイル名および仮想ディレクトリ名をそれぞれ分割し
て、“実ディレクトリパス名/…/実ディレクトリパス
名/実ファイルパス名”からなるパス名(以下、実パス
名という)に置き換える。指定された仮想パス名中の仮
想ファイル名および仮想ディレクトリ名から実ファイル
パス名および実ディレクトリパス名への置換えは、仮想
ファイル名および仮想ディレクトリ名の先頭からファイ
ルシステムでの制限以内の長さに分割し、分割した最後
の文字列を実際のファイル名(以下、実ファイル名とい
う)およびディレクトリ名(以下、実ディレクトリ名と
いう)とし、残りの文字列を実ファイルパス名および実
ディレクトリパス名中のディレクトリ名(以下、実パス
ディレクトリ名という)とすることで、分割して得た文
字列の順に、“実パスディレクトリ名/…/実パスディ
レクトリ名/実ファイル名および実ディレクトリ名”か
らなる実ファイルパス名および実ディレクトリパス名に
置き換える。本発明によれば、仮想ファイル名と仮想デ
ィレクトリ名との両方で同様の効果が得られるため、以
後、特に指定しない限り“仮想ディレクトリ名/…/仮
想ディレクトリ名/仮想ファイル名”からなる仮想パス
名について述べる。実パス名から仮想パス名に復元でき
るようにするため、実パスディレクトリ名の最後に、実
パスディレクトリ名であることを示す文字(以下、実パ
スディレクトリ名識別文字という)を付け加える。仮想
パス名により実際のファイル(以下、実ファイルとい
う)およびディレクトリ(以下、実ディレクトリとい
う)に対する参照の際に、前処理として、仮想パス名か
ら実パス名に変換し、後処理として、実パス名から仮想
パス名に変換する。ファイルおよびディレクトリの作成
の操作の際は、前処理として、さらに、実パス名に対応
する必要な実パスディレクトリを作成する。同様に、フ
ァイルおよびディレクトリの削除の操作の際は、後処理
として、さらに、実パス名に対応する不要となった実パ
スディレクトリの削除を行う。また、ファイルおよびデ
ィレクトリへの書込みの操作の際は、前処理として、さ
らに実パス名に対応する実パスディレクトリと実ファイ
ルおよび実ディレクトリとが存在するかどうかを確認
し、存在しない場合は、実パス名に対応する必要な実パ
スディレクトリと実ファイルおよび実ディレクトリとを
作成する。In the file name / directory name expansion method of the present invention, a virtual file name (hereinafter referred to as virtual file name) and a directory name (hereinafter referred to as virtual directory name) whose length exceeds the limit of the file system are used. Divide and replace with the path name that represents the hierarchical structure of the directory (hereinafter referred to as the actual file path name and the actual directory path name). Therefore, "virtual directory name / ...
A path name consisting of "/ virtual directory name / virtual file name" (hereinafter referred to as virtual path name) is obtained by dividing the virtual file name and virtual directory name in the virtual path name into "real directory path name /.../ real". Replace with a path name consisting of "directory path name / real file path name" (hereinafter referred to as real path name). From virtual file name and virtual directory name in the specified virtual path name to real file path name and real directory path name Is replaced by dividing the virtual file name and virtual directory name from the beginning to a length within the file system limit, and dividing the last character string into the actual file name (hereinafter referred to as the actual file name) and directory name ( (Hereinafter referred to as the real directory name) and the remaining character strings are the real file path name and real directory By using the internal directory name (hereinafter referred to as the actual path directory name), from the "real path directory name /.../ real path directory name / real file name and actual directory name" in the order of the character strings obtained by division. According to the present invention, the same effect can be obtained with both the virtual file name and the virtual directory name, so that, unless otherwise specified, “virtual directory name / ... / Virtual directory name / Virtual file name ”is described. Characters that indicate the real path directory name at the end of the real path directory name so that the real path name can be restored to the virtual path name. (Hereinafter referred to as the real path directory name identification character) Add the actual file (below When referring to a real file) and a directory (hereinafter referred to as a real directory), a virtual path name is converted into a real path name as preprocessing, and a real path name is converted into a virtual path name as postprocessing. In addition, in the operation of creating a directory and a directory, a necessary real path directory corresponding to the real path name is created as a pre-process. , Delete the unnecessary real path directory corresponding to the real path name.When writing to a file or directory, the real path directory and real file corresponding to the real path name are also preprocessed. And the real directory, and if they do not exist, the required real path directory corresponding to the real path name. Create a directory and real files and directories.
【0008】[0008]
【実施例】次に、本発明について図面を参照して詳細に
説明する。The present invention will be described in detail with reference to the drawings.
【0009】図1(a)は、既存のコマンド20の実行
前後で、指定された仮想パス名に対する前処理および後
処理を行う前処理部11および後処理部12を組み込ん
だフロントエンドプログラム10を用いた場合、図1
(b)は、コマンド20自身に指定された仮想パス名に
対する前処理および後処理を行う前処理部21および後
処理部22を組み込んだ場合による本発明の一実施例を
それぞれ示す図である。FIG. 1A shows a front-end program 10 incorporating a pre-processing section 11 and a post-processing section 12 for performing pre-processing and post-processing for a specified virtual path name before and after execution of an existing command 20. Figure 1 when used
(B) is a figure which respectively shows one Example of this invention by incorporating the pre-processing part 21 and the post-processing part 22 which perform the pre-processing and post-processing with respect to the virtual path name designated by the command 20 itself.
【0010】ここでは、図1(a)に従い、既存のコマ
ンド20を変更することなく、本発明を実施する場合に
ついて説明する。Here, a case of implementing the present invention without changing the existing command 20 will be described with reference to FIG.
【0011】前処理部11は、仮想パス名を実パス名に
変換し、コマンド20に引き渡す。ファイルおよびディ
レクトリの作成の操作の際は、さらに、実パス名に対応
する必要な実パスディレクトリを作成する。また、ファ
イルおよびディレクトリへの書込みの操作の際は、さら
に実パス名に対応する実パスディレクトリと実ファイル
および実ディレクトリとが存在するかどうかを確認し、
存在しない場合は、実パス名に対応する必要な実パスデ
ィレクトリと実ファイルおよび実ディレクトリとを作成
する。The preprocessing section 11 converts the virtual path name into a real path name and delivers it to the command 20. In the operation of creating files and directories, a necessary real path directory corresponding to the real path name is also created. Also, when writing to a file or directory, check whether the actual path directory corresponding to the actual path name and the actual file or directory also exist,
If it does not exist, the necessary real path directory, real file, and real directory corresponding to the real path name are created.
【0012】後処理部12は、コマンド20から出力さ
れる実パス名を仮想パス名に変換する。ファイルおよび
ディレクトリの削除の操作の際は、さらに、実パス名に
対応する不要となった実パスディレクトリの削除を行
う。The post-processing unit 12 converts the real path name output from the command 20 into a virtual path name. When deleting files and directories, the unnecessary real path directory corresponding to the real path name is also deleted.
【0013】なお、以下の説明では、ファイル名および
ディレクトリ名の最大長が4文字のファイルシステム
で、ディレクトリ名の区切り文字に“/”、実パスディ
レクトリ名識別文字に“#”を使用するものとして説明
する。In the following description, a file system in which the maximum length of the file name and the directory name is 4 characters, and "/" is used as the delimiter of the directory name and "#" is used as the real path directory name identification character. As described below.
【0014】図2は、仮想パス名とそれに対応する実パ
ス名によるディレクトリの階層的な木構造を比較した本
発明の概要を示す図である。各仮想パス名を分割して実
パス名に変換している。仮想ディレクトリ名“abcd
ef”は、実パスディレクトリ名“abc#”と実ディ
レクトリ名“def”とからなる実ディレクトリパス名
“abc#/def”に変換する。仮想ファイル名“g
hijklmn”は、2つの実パスディレクトリ名“g
hi#”および“jkl#”と実ファイル名“mn”と
からなる実ファイルパス名“ghi#/jkl#/m
n”とに変換する。FIG. 2 is a diagram showing an outline of the present invention in which a hierarchical tree structure of directories based on a virtual path name and a corresponding real path name is compared. Each virtual path name is divided and converted into a real path name. Virtual directory name "abcd
ef "is converted into a real directory path name" abc # / def "consisting of a real path directory name" abc # "and a real directory name" def ".Virtual file name" g "
hijkklmn ”is the two real path directory names“ g
Real file path name "ghi # / jkl # / m" consisting of hi # "and" jkl # "and real file name" mn "
n ".
【0015】同様に、仮想ファイル名“abcdefg
hijklmn”は、実ファイルパス名“abc#/d
ef#/ghi#/jkl#/mn”に変換する。よっ
て、仮想ディレクトリ名と仮想ファイル名との組合せに
よる仮想パス名“abcdef/ghijklmn”
は、実ディレクトリパス名と実ファイルパス名との組合
せによる実パス名“abc#/def/ghi#/jk
l#/mn”に変換する。Similarly, the virtual file name "abcdefg
hijkklmn ”is the actual file path name“ abc # / d
ef # / ghi # / jkl # / mn ”. Therefore, the virtual path name“ abcdef / ghijkklmn ”that is a combination of the virtual directory name and the virtual file name.
Is a real path name "abc # / def / ghi # / jk" that is a combination of a real directory path name and a real file path name.
l # / mn ″.
【0016】また、実パス名中の実パスディレクトリ名
識別文字とディレクトリ名の区切り文字が続く“#/”
とを削除すれば、仮想パス名に復元できることがわか
る。In addition, "# /", which is a real path directory name identification character in the real path name and a directory name delimiter
You can see that you can restore to the virtual path name by deleting and.
【0017】図3は、ファイル名を表示するコマンド2
0の実行の一例を示す図である。フロントエンドプログ
ラム10は、入力されたコマンド文字列を受け取り、仮
想パス名“a*”を前処理部11で実パス名“abc#
/def”と“abc#/def#/ghi#/jkl
#/mn”とに変換する。フロントエンドプログラム1
0による前処理の後、コマンド20を実パス名とともに
実行する。コマンド20の実行に際して、フロントエン
ドプログラム10は、コマンド20からの出力メッセー
ジを受け取り、出力メッセージ中の実パス名“abc#
/def/”と“abc#/def#/ghi#/jk
l#/mn”とを後処理部12で仮想パス名“abcd
ef/”と“abcdefghijklmn”とに変換
し出力する。FIG. 3 shows a command 2 for displaying a file name.
It is a figure which shows an example of execution of 0. The front-end program 10 receives the input command character string and assigns the virtual path name “a *” to the real path name “abc #” in the preprocessing unit 11.
/ Def ”and“ abc # / def # / ghi # / jkl
# / Mn ". Front-end program 1
After preprocessing with 0, command 20 is executed with the actual pathname. When executing the command 20, the front-end program 10 receives the output message from the command 20, and outputs the real path name “abc #” in the output message.
/ Def / "and" abc # / def # / ghi # / jk
l # / mn ”and the virtual path name“ abcd ”in the post-processing unit 12.
ef / "and" abcdefghijkklmn "are converted and output.
【0018】特に、図3は、仮想パス名の指定にワイル
ドカードを用いた一例を示す図である。図中では、“a
*”は“a”で始まるすべての仮想パス名の表示という
指定と解釈し、ワイルドカードの展開をフロントエンド
プログラム10の前処理部11で行っている。ワイルド
カードの展開は、一致する実パス名を再帰的にすべて展
開することにより実現できる。よって、図3の場合は、
“a”で始まるすべての実パス名である“abc#/d
ef”と“abc#/def#/ghi#/jkl#/
mn”とを展開する。In particular, FIG. 3 is a diagram showing an example in which a wild card is used to specify a virtual path name. In the figure, "a
Interpret "*" as the display of all virtual path names starting with "a", and the wildcard expansion is performed by the preprocessing unit 11 of the front-end program 10. The expansion of the wildcard is performed by the matching real path. This can be achieved by recursively expanding all the names, so in the case of Fig. 3,
"Abc # / d" which is all real path names starting with "a"
ef ”and“ abc # / def # / ghi # / jkl # /
mn "and expand.
【0019】図4は、ファイルのコピーを行うコマンド
20の実行の一例を示す図である。フロントエンドプロ
グラム10は、入力されたコマンド文字列を受け取り、
仮想パス名“abcdef/ghijklmn”と“a
bcdef/ghiJKLMN”とを前処理部11で実
パス名“abc#/def/ghi#/jkl#/m
n”と“abc#/def/ghi#/JKL#/M
N”とに変換する。FIG. 4 is a diagram showing an example of execution of the command 20 for copying a file. The front end program 10 receives the input command character string,
The virtual path names "abcdef / ghijkklmn" and "a
bcdef / ghiJKLMN ”and the real path name“ abc # / def / ghi # / jkl # / m ”in the preprocessing unit 11.
n ”and“ abc # / def / ghi # / JKL # / M
N ".
【0020】書込みを行う仮想ファイル(仮想ファイル
名“ghiJKLMN”)に対しては、前処理としてさ
らに実ファイルパス名“ghi#/JKL#/MN”に
対応する実ファイルパスを構成する2つの実パスディレ
クトリ“ghi#”および“JKL#”と実ファイル
“MN”とが存在するかどうかを確認し、存在していな
い実パスディレクトリ“JKL#”と実ファイル“M
N”とを作成する。For the virtual file to be written (virtual file name "ghiJKLMN"), two real files that compose a real file path corresponding to the real file path name "ghi # / JKL # / MN" are further preprocessed. It is confirmed whether the path directories “ghi #” and “JKL #” and the real file “MN” exist, and the real path directory “JKL #” and the real file “M” that do not exist are confirmed.
N "and.
【0021】フロントエンドプログラム10による前処
理の後、指定されたコマンドを実パス名とともに実行す
る。コマンド20の実行に際して、フロントエンドプロ
グラム10は、コマンド20からの出力メッセージを受
け取り、出力メッセージ中の実パス名“abc#/de
f/ghi#/jkl#/mn”と“abc#/def
/ghi#/JKL#/MN”とを後処理部12で仮想
パス名“abcdef/ghijklmn”と“abc
def/ghiJKLMN”とに変換し、出力する。After the pre-processing by the front end program 10, the specified command is executed together with the actual path name. When executing the command 20, the front-end program 10 receives the output message from the command 20, and the real path name “abc # / de” in the output message is received.
f / ghi # / jkl # / mn ”and“ abc # / def ”
/ Ghi # / JKL # / MN "in the post-processing unit 12 and virtual path names" abcdef / ghijkklmn "and" abc ".
def / ghiJKLMN "and output.
【0022】図5は、ファイルの削除を行うコマンドの
実行の一例を示す図である。フロントエンドプログラム
10は、入力されたコマンド文字列を受け取り、仮想パ
ス名“abcdef/ghiJKLMN”を前処理部1
1で実パス名“abc#/def/ghi#/JKL#
/MN”に変換する。フロントエンドプログラム10に
よる前処理の後、指定されたコマンド20を実パス名と
ともに実行する。コマンド20の実行に際してフロント
エンドプログラム10は、コマンド20からの出力メッ
セージを受け取り、出力メッセージ中の実パス名“ab
c#/def/ghi#/JKL#/MN”を後処理部
12で仮想パス名“abcdef/ghiJKLMN”
に変換し、出力する。削除を行う仮想ファイル(仮想フ
ァイル名“ghiJKLMN”)に対しては、後処理と
してさらに、実ファイル(実ファイル名“MN”)の削
除によって不要となった実パスディレクトリ“JKL
#”を削除する。FIG. 5 is a diagram showing an example of execution of a command for deleting a file. The front-end program 10 receives the input command character string and assigns the virtual path name “abcdef / ghiJKLMN” to the preprocessing unit 1.
1 is the real path name “abc # / def / ghi # / JKL #
/ MN ”. After the pre-processing by the front-end program 10, the specified command 20 is executed with the actual path name. When executing the command 20, the front-end program 10 receives the output message from the command 20, The real path name "ab" in the output message
c # / def / ghi # / JKL # / MN "is used as the virtual path name" abcdef / ghiJKLMN "by the post-processing unit 12.
And output. For the virtual file (virtual file name “ghiJKLMN”) to be deleted, the actual path directory “JKL” that is no longer necessary due to the deletion of the actual file (real file name “MN”) as post-processing.
# ”Is deleted.
【0023】[0023]
【発明の効果】以上説明したように本発明は、既存のコ
マンドを使用する場合はフロントエンドプログラムに埋
め込むことにより、またフロントエンドプログラムを使
用しなくてもコマンド自身に埋め込むことにより、従来
のファイルシステムを変更することなく、ファイルシス
テムによって制限されている長さ以上のファイル名およ
びディレクトリ名をそのまま使用することができ、よく
似たファイル名およびディレクトリ名でも明確に区別し
て使用することができるとともに、元のファイル名およ
びディレクトリ名を確実に復元できるという効果があ
る。As described above, according to the present invention, when an existing command is used, it is embedded in the front-end program, and by embedding it in the command itself without using the front-end program, the conventional file File and directory names longer than the file system limit can be used as is without changing the system, and similar file and directory names can be clearly distinguished and used. , There is an effect that the original file name and directory name can be reliably restored.
【図1】本発明の一実施例に係るファイル名/ディレク
トリ名拡張方式の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a file name / directory name extension method according to an exemplary embodiment of the present invention.
【図2】本実施例のファイル名/ディレクトリ名拡張方
式の概要図を示す図である。FIG. 2 is a diagram showing a schematic diagram of a file name / directory name expansion method of the present embodiment.
【図3】本実施例のファイル名/ディレクトリ名拡張方
式におけるファイル名を表示するコマンドの実行の一例
を示す図である。FIG. 3 is a diagram showing an example of execution of a command for displaying a file name in the file name / directory name expansion method of the present embodiment.
【図4】本実施例のファイル名/ディレクトリ名拡張方
式におけるファイルのコピーを行うコマンドの実行の一
例を示す図である。FIG. 4 is a diagram showing an example of execution of a command for copying a file in the file name / directory name expansion method of the present embodiment.
【図5】本実施例のファイル名/ディレクトリ名拡張方
式におけるファイルの削除を行うコマンドの実行の一例
を示す図である。FIG. 5 is a diagram showing an example of execution of a command for deleting a file in the file name / directory name extension method of the present embodiment.
10 フロントエンドプログラム 11 前処理部 12 後処理部 20 コマンド 21 前処理部 22 後処理部 10 front-end program 11 pre-processing unit 12 post-processing unit 20 command 21 pre-processing unit 22 post-processing unit
Claims (1)
木構造内のファイルの位置をディレクトリの階層構造を
表現するパス名で指定するファイルシステムにおいて、 長さがファイルシステムでの制限を越える仮想的なファ
イル名およびディレクトリ名を先頭から分割し、分割し
た最後の文字列を実際のファイル名およびディレクトリ
名とし、残りの文字列を仮のディレクトリ名とし、分割
して得た実際のファイル名およびディレクトリ名と仮の
ディレクトリ名とを分割した順にディレクトリの階層が
深くなる階層構造を表現するパス名に変換する手段と、 仮想的なファイル名およびディレクトリ名を分割して得
たパス名中の仮のディレクトリ名であることを示す情報
を仮想的なファイル名およびディレクトリ名を分割して
得たパス名中に仮のディレクトリ名中に含む手段と、 仮想的なファイル名およびディレクトリ名を分割して得
たパス名中の仮のディレクトリ名であることを示す情報
を用いて仮想的なファイル名およびディレクトリ名を分
割して得たパス名中の仮のディレクトリ名と仮のディレ
クトリ名下の実際のファイル名およびディレクトリ名と
を連結し仮想的なファイル名およびディレクトリ名を復
元する手段と、 仮想的なファイル名およびディレクトリ名の参照に際し
仮想的なファイル名およびディレクトリ名を分割して得
たパス名に対応するパス名中の仮のディレクトリと仮の
ディレクトリ下の実際のファイルおよびディレクトリと
を必要に応じて作成および削除する手段とを有すること
を特徴とするファイル名/ディレクトリ名拡張方式。1. A directory has a hierarchical tree structure,
In the file system that specifies the position of the file in the tree structure by the path name that expresses the hierarchical structure of the directory, the virtual file name and directory name whose length exceeds the limit of the file system are divided from the beginning and divided. The final character string is the actual file name and directory name, the remaining character string is the temporary directory name, and the actual file name and directory name obtained by division and the temporary directory name are divided in the directory hierarchy. The method of converting into a path name that expresses a hierarchical structure in which the virtual file name and the directory name are virtual file names And a means to include the temporary directory name in the path name obtained by dividing the directory name, and a virtual file And the temporary directory name in the path name obtained by dividing the virtual file name and directory name by using the information indicating the temporary directory name in the path name obtained by dividing the directory name. The method of concatenating the actual file name and directory name under the directory name of to restore the virtual file name and directory name, and the virtual file name and directory name when referring to the virtual file name and directory name. A file name characterized by having means for creating and deleting a temporary directory in the path name corresponding to the path name obtained by division and actual files and directories under the temporary directory as necessary. Directory name expansion method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4199270A JPH0619763A (en) | 1992-07-02 | 1992-07-02 | File name/directory name extension system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4199270A JPH0619763A (en) | 1992-07-02 | 1992-07-02 | File name/directory name extension system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0619763A true JPH0619763A (en) | 1994-01-28 |
Family
ID=16404998
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4199270A Pending JPH0619763A (en) | 1992-07-02 | 1992-07-02 | File name/directory name extension system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0619763A (en) |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0618540A3 (en) * | 1993-04-01 | 1995-01-11 | Microsoft Corp | Common name space for long and short filenames. |
| US6286013B1 (en) | 1993-04-01 | 2001-09-04 | Microsoft Corporation | Method and system for providing a common name space for long and short file names in an operating system |
| JP2006505872A (en) * | 2002-11-06 | 2006-02-16 | オラクル・インターナショナル・コーポレイション | Techniques for managing multiple hierarchies of data from a single interface |
| JP2006127127A (en) * | 2004-10-28 | 2006-05-18 | Nec Corp | Method and program for switching access folder in accordance with confidential mode, and computer system |
| JP2007293459A (en) * | 2006-04-21 | 2007-11-08 | Sony Corp | File management device, file management method, program |
| US7873596B2 (en) | 2006-05-23 | 2011-01-18 | Microsoft Corporation | Extending cluster allocations in an extensible file system |
| JP2011090522A (en) * | 2009-10-22 | 2011-05-06 | Nippon Telegr & Teleph Corp <Ntt> | Method for changing over processing of notice folder, user terminal, network folder server, program and computer-readable recording medium |
| JP2012084180A (en) * | 2012-01-30 | 2012-04-26 | Sony Corp | File management device, file management method and program |
| US8321439B2 (en) | 2004-12-17 | 2012-11-27 | Microsoft Corporation | Quick filename lookup using name hash |
| JP5132676B2 (en) * | 2007-04-25 | 2013-01-30 | パナソニック株式会社 | Information reproducing method and information reproducing apparatus |
| JP2013054364A (en) * | 2012-10-15 | 2013-03-21 | Nikon Corp | Display processing device, display system, display method and program |
| US9575988B2 (en) | 2004-12-17 | 2017-02-21 | Microsoft Technology Licensing, Llc | Extensible file system |
| JP2017130010A (en) * | 2016-01-20 | 2017-07-27 | 富士通株式会社 | Storage control device, storage control program, and storage system |
| US10303650B2 (en) | 2004-12-17 | 2019-05-28 | Microsoft Technology Licensing, Llc | Contiguous file allocation in an extensible file system |
-
1992
- 1992-07-02 JP JP4199270A patent/JPH0619763A/en active Pending
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0618540A3 (en) * | 1993-04-01 | 1995-01-11 | Microsoft Corp | Common name space for long and short filenames. |
| US5758352A (en) * | 1993-04-01 | 1998-05-26 | Microsoft Corporation | Common name space for long and short filenames |
| US6286013B1 (en) | 1993-04-01 | 2001-09-04 | Microsoft Corporation | Method and system for providing a common name space for long and short file names in an operating system |
| JP2006505872A (en) * | 2002-11-06 | 2006-02-16 | オラクル・インターナショナル・コーポレイション | Techniques for managing multiple hierarchies of data from a single interface |
| JP2006127127A (en) * | 2004-10-28 | 2006-05-18 | Nec Corp | Method and program for switching access folder in accordance with confidential mode, and computer system |
| US9575988B2 (en) | 2004-12-17 | 2017-02-21 | Microsoft Technology Licensing, Llc | Extensible file system |
| US8321439B2 (en) | 2004-12-17 | 2012-11-27 | Microsoft Corporation | Quick filename lookup using name hash |
| US10303650B2 (en) | 2004-12-17 | 2019-05-28 | Microsoft Technology Licensing, Llc | Contiguous file allocation in an extensible file system |
| US10474641B2 (en) | 2004-12-17 | 2019-11-12 | Microsoft Technology Licensing, Llc | Extensible file system |
| JP2007293459A (en) * | 2006-04-21 | 2007-11-08 | Sony Corp | File management device, file management method, program |
| US7873596B2 (en) | 2006-05-23 | 2011-01-18 | Microsoft Corporation | Extending cluster allocations in an extensible file system |
| US10585868B2 (en) | 2006-05-23 | 2020-03-10 | Microsoft Technology Licensing, Llc | Extending cluster allocations in an extensible file system |
| JP5132676B2 (en) * | 2007-04-25 | 2013-01-30 | パナソニック株式会社 | Information reproducing method and information reproducing apparatus |
| JP2011090522A (en) * | 2009-10-22 | 2011-05-06 | Nippon Telegr & Teleph Corp <Ntt> | Method for changing over processing of notice folder, user terminal, network folder server, program and computer-readable recording medium |
| JP2012084180A (en) * | 2012-01-30 | 2012-04-26 | Sony Corp | File management device, file management method and program |
| JP2013054364A (en) * | 2012-10-15 | 2013-03-21 | Nikon Corp | Display processing device, display system, display method and program |
| JP2017130010A (en) * | 2016-01-20 | 2017-07-27 | 富士通株式会社 | Storage control device, storage control program, and storage system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0619763A (en) | File name/directory name extension system | |
| JP3298894B2 (en) | Data compression and decompression system with immediate dictionary update interleaved with string search | |
| JP2005044360A (en) | System and method for intra-package delta compression (intra-packetdeltacompression) of data | |
| JP2004310762A (en) | Idiom recognition document splitter | |
| JP2606222B2 (en) | File name length extension method | |
| JP3919303B2 (en) | Database system, control method thereof, and information processing apparatus | |
| JP3130828B2 (en) | Assembly processing method | |
| JP2011065268A (en) | Method and device for determining start-end offset of variable-length data fragment | |
| US7325191B2 (en) | Preservation of source code formatting | |
| CN101111029A (en) | Method and device for obtaining operating data | |
| KR100938277B1 (en) | File compression and restoration device and method of compression format | |
| JP2005010841A (en) | Document data editing system, document data conversion device, and program | |
| JP4071462B2 (en) | HTML document generation program and computer-readable medium | |
| JP3391103B2 (en) | Text synthesis device | |
| JP2001282520A (en) | Program creation method, program creation device, and recording medium for program creation | |
| JP3375979B2 (en) | Character processing apparatus and method | |
| JP3138571B2 (en) | String replacement device | |
| JPH06314194A (en) | Patch system | |
| CN115983205A (en) | Document processing system, method, electronic device and storage medium | |
| JPH03110628A (en) | Source program generating device | |
| Anderson | GNU/Linux Command− Line Tools Summary | |
| JPH10116279A (en) | Document processor | |
| JP2643330B2 (en) | Conversion method of internal representation format of character string | |
| JPH07110765A (en) | Document editing method | |
| JP2000207188A (en) | Device and method for automatically generating program and recording medium thereof |