REGENERATE-DIRECTORY: Difference between revisions
Jump to navigation
Jump to search
(created REGENERATE-DIRECTORY page) |
m (Mb->MB (as per the manual)) |
||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
#If a page is included in both an indexed file and a contiguous files, it is deleted (0 in index block) from the indexed file. | #If a page is included in both an indexed file and a contiguous files, it is deleted (0 in index block) from the indexed file. | ||
#The bit file is regenerated by this command. | #The bit file is regenerated by this command. | ||
#This command may take several hours to complete on a large disk (up to 12 hours on a | #This command may take several hours to complete on a large disk (up to 12 hours on a 10MB disk and up to 3 days on a 288MB disk). Stopping communication and RT-programs reduce the time required for regeneration. | ||
#It is advisable to use the FILE-SYSTEM INVESTIGATOR and back up the directory before using this command. | #It is advisable to use the FILE-SYSTEM INVESTIGATOR and back up the directory before using this command. | ||
Line 24: | Line 24: | ||
{{ND-doc|30.003.7}} pages 161, 318 | {{ND-doc|30.003.7}} pages 161, 318 | ||
{{ND-doc|60.128.03}} (printed | {{ND-doc|60.128.03}} (printed February 1983), page 1-152 | ||
{{ND-doc|60.174.Q01}} | {{ND-doc|60.174.Q01}} | ||
[[Category:System Commands]] | [[Category:System Commands]] |
Latest revision as of 09:35, 26 February 2019
@REGENERATE-DIRECTORY <directory name>
Delete conflicting references to pages and reconstruct the bit file. This command must be used with care (see below).
- <directory name>
- an entered directory.
Rules:
- Permitted only for user SYSTEM.
- All files in the directory must be closed before this command is used. This includes scratch files, which are automatically closed when logging out and can also be closed by @CLOSE 100. User SYSTEM should log out all users and close his own scratch file before this command is used.
- The command should be used with care. It may create "holes" in indexed files. This occurs when a reference in an index block is set to zero because it conflicts with another index block or a contiguous file. When trying to read form this page the error message "No such page" is given. The user should take backup of all valuable files before this command is given.
- If a page is included in both an indexed file and a contiguous files, it is deleted (0 in index block) from the indexed file.
- The bit file is regenerated by this command.
- This command may take several hours to complete on a large disk (up to 12 hours on a 10MB disk and up to 3 days on a 288MB disk). Stopping communication and RT-programs reduce the time required for regeneration.
- It is advisable to use the FILE-SYSTEM INVESTIGATOR and back up the directory before using this command.
Example:
@REGENERATE-DIRECTORY PACK-ONE
The directory PACK-ONE is regenerated.
Related commands
References
Norsk Data Document ND–30.003.7 SINTRAN III System Supervisor pages 161, 318
Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-152
Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD