US5603020A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Method for detecting file names by informing the task of the identification of the directory antecedent to the file
Assignee: Fujitsu Ltd
•
Filing: 1994-08-24
•
Granted: 1997-02-11
•
Expires: 2014-08-24
Abstract
Abstract An operating system for managing a file system having a hierarchical structure stores a directory immediately before a file, when it is opened, to correspond with a file descriptor. When a task specifies the file descriptor, the directory stored to correspond with that file descriptor is presented to the task. The task reads stored information from the directory to detect the file name.
Inventors
- 👤 Tsuyoshi Hashimoto
- 👤 Takeshi Suzuki
- 👤 David Campbell
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-11-02 23:49
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/10
Claims Analysis
Total Claims: 14
Claim 1
Independent Claim
127 words
A file name detecting method for use with an operating system for managing a file system having a hierarchical structure of files leading from a root node through intermediate nodes to each file serving as final nodes, said method comprising the steps of: storing first information about an intermediate node antecedent to a file with related file identification information when opening said file; detecting the intermediate node antecedent to said file having been opened based on the stored first information as requested by a task; and informing said task of said detected intermediate node antecedent to said file, such that said task detects a file name based on second information about said file, said second information being stored in said detected intermediate node antecedent to said file.
Claim 2
Dependent Claim
127 words
A file name detecting method for use with an operating system for managing a file system having a hierarchical structure of files leading from a root node through intermediate nodes to each file serving as final nodes, said method comprising the steps of: storing first information about an intermediate node antecedent to a file with related file identification information when opening said file; detecting the intermediate node antecedent to said file having been opened based on the stored first information as requested by a task; and informing said task of said detected intermediate node antecedent to said file, such that said task detects a file name based on second information about said file, said second information being stored in said detected intermediate node antecedent to said file.
Claim 3
Dependent Claim
43 words
The file detecting method according to claim 1, wherein: each intermediate node of said intermediate nodes comprises a directory; directories have pointers pointing to each other; and said files, serving as final nodes, have pointers set only from an immediately preceding directory side.
Claim 4
Dependent Claim
30 words
The file name detecting method according to claim 1, wherein a file descriptor for a directory, which is the intermediate node antecedent to the file, is presented to said task.
Claim 5
Dependent Claim
164 words
A file name detecting method for use in a file system having a hierarchical structure, comprising the steps of: storing a device number an i node number of a file, and a device number and a i node number of a directory to which the file belongs when the file is opened, each device number corresponding to a file descriptor of the file; notifying a task of an i node number of a file having the file descriptor when a request to obtain the i node number is issued with the file descriptor of the file specified by the task; and obtaining a name of the file by getting information of a correspondence between the i node number and the name of the file belonging to the directory with the file descriptor of the directory specified, and by retrieving information of the directory according to the i node number of the file obtained in response to the request to obtain the i node number.
Claim 6
Dependent Claim
164 words
A file name detecting method for use in a file system having a hierarchical structure, comprising the steps of: storing a device number an i node number of a file, and a device number and a i node number of a directory to which the file belongs when the file is opened, each device number corresponding to a file descriptor of the file; notifying a task of an i node number of a file having the file descriptor when a request to obtain the i node number is issued with the file descriptor of the file specified by the task; and obtaining a name of the file by getting information of a correspondence between the i node number and the name of the file belonging to the directory with the file descriptor of the directory specified, and by retrieving information of the directory according to the i node number of the file obtained in response to the request to obtain the i node number.
Claim 7
Dependent Claim
191 words
A file name detecting method for use with an operating system for managing a file system having a hierarchical file system leading from a root node through intermediate nodes to each file of files as a final node, said intermediate nodes comprising directories, and said files and said directories being specified by corresponding respective i node numbers, said method comprising the steps of: creating a file management table, at file open processing time, for storing an i node number of one of said file, when specified and a directory-oriented file management table for storing an i node number of a directory antecedent to said specified file; creating a first task-to-file correspondence table for storing pointers to said file management table and said directory-oriented file management table; creating a file descriptor management table for storing a pointer to said first task-to-file correspondence management table, an entry number of said file descriptor management table being allocated to said file as a file descriptor; and providing for a task that requested to open said file of said entry number of said file descriptor management table as a file descriptor of said file being opened.
Claim 8
Dependent Claim
191 words
A file name detecting method for use with an operating system for managing a file system having a hierarchical file system leading from a root node through intermediate nodes to each file of files as a final node, said intermediate nodes comprising directories, and said files and said directories being specified by corresponding respective i node numbers, said method comprising the steps of: creating a file management table, at file open processing time, for storing an i node number of one of said file, when specified and a directory-oriented file management table for storing an i node number of a directory antecedent to said specified file; creating a first task-to-file correspondence table for storing pointers to said file management table and said directory-oriented file management table; creating a file descriptor management table for storing a pointer to said first task-to-file correspondence management table, an entry number of said file descriptor management table being allocated to said file as a file descriptor; and providing for a task that requested to open said file of said entry number of said file descriptor management table as a file descriptor of said file being opened.
Claim 9
Dependent Claim
136 words
The file name detecting method according to claim 5, further comprising the steps of: obtaining, at the time said task specifies said file descriptor to make a request for directory acquisition, said first task-to-file correspondence management table based on said pointer corresponding to said file descriptor specified in said file descriptor management table; obtaining said directory-oriented file management table based on said first task-to-file correspondence management table; creating a second task-to-file correspondence management table that directly points to said directory-oriented file management table; storing a pointer to said second task-to-file correspondence management table in said file descriptor management table by adding an entry to said second task-to-file; and informing said task of the entry number of said entry added to said file descriptor management table as a file descriptor for a directory antecedent to said file.
Claim 10
Dependent Claim
51 words
The file detecting method according to claim 5, further comprising the step of copying, when a second task makes a request to detect the name of said file opened by said task, information containing said file descriptor of said file opened by said task as management information of said second task.
Claim 11
Dependent Claim
150 words
The file name detecting method according to claim 5, further comprising the steps of: obtaining, at the time when a second task makes a request to detect the name of said file opened by said task, said first file descriptor management table for said task based on a name of said task; copying contents of said first file descriptor management table into a second file descriptor management table created for said second task; creating a third task-to-file correspondence management table for storing pointers to said file management table and said directory-oriented file management table; entering a pointer to said third task-to-file correspondence management table into said second file descriptor management table; and informing said second task of an entry number of said pointer to said third task-to-file correspondence management table in said first file descriptor management table as a file descriptor of said file being used by said first task.
Claim 12
Dependent Claim
161 words
A computer system comprising an operating system for managing a file system having a hierarchical structure leading to a root node through intermediate nodes to files serving as final nodes and a task operating on said operating system, said operating system comprising: intermediate node storage means for storing a directory antecedent to a file specified by said task to correspond with a file descriptor of said file; and intermediate node detecting means for, when the file descriptor is specified, detecting an intermediate node corresponding to said file descriptor in said intermediate node storage means to inform said task of the detected intermediate node, and said task comprising: request means for requesting that said operating system detect an intermediate node antecedent to a file by specifying its file descriptor; and means for obtaining a name of said file from stored information of said intermediate node detected by said intermediate node detecting means of said operating system as requested by said requesting means.
Claim 13
Dependent Claim
161 words
A computer system comprising an operating system for managing a file system having a hierarchical structure leading to a root node through intermediate nodes to files serving as final nodes and a task operating on said operating system, said operating system comprising: intermediate node storage means for storing a directory antecedent to a file specified by said task to correspond with a file descriptor of said file; and intermediate node detecting means for, when the file descriptor is specified, detecting an intermediate node corresponding to said file descriptor in said intermediate node storage means to inform said task of the detected intermediate node, and said task comprising: request means for requesting that said operating system detect an intermediate node antecedent to a file by specifying its file descriptor; and means for obtaining a name of said file from stored information of said intermediate node detected by said intermediate node detecting means of said operating system as requested by said requesting means.
Claim 14
Dependent Claim
261 words
The computer system according to claim 9, wherein said intermediate node storage means of said operating system creates, at the time when a file specified is opened, a file management table for storing an i node number of said file specified, a directory-oriented file management table for storing an i node number of a directory antecedent to said file, a first task-to-file correspondence management table for storing pointers to said file management table and said directory-oriented file management table, and a file descriptor management table for storing a pointer to said first task-to-file correspondence table; said intermediate node detecting means informs said task of a corresponding entry number in said file descriptor management table as a file descriptor of said file; said intermediate node storage means obtains, at the time when a request is made by said requesting means of said task to acquire a directory antecedent to said file by specifying said file descriptor, said first task-to-file correspondence management table based on a pointer corresponding to said file descriptor specified in said file descriptor management table, obtains said directory-oriented file management table based on said first task-to-file correspondence management table, and creates a second task-to-file correspondence management table that directly points to said directory-oriented file management table, adding an entry to said file descriptor management table as a pointer to said second task-to-file correspondence management table; and said intermediate node detecting means informs said task of an entry number of said entry added to said file descriptor management table as a file descriptor of a directory antecedent to said file.
References Cited (Backward Citations)
US5012405A
Cited
US5093779A
Cited
US5371885A
Cited
US5367671A
Cited
US5325526A
Cited
US5355497A
Cited
US5465365A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2000-02-11 | 2000-08-12 | 2001-02-11 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2004-02-11 | 2004-08-12 | 2005-02-11 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2008-02-11 | 2008-08-12 | 2009-02-11 | $7700.00 | Window Closed / Lapsed |