we run Digital UNIX V4.0D
We plan to purge some archive directories, deleting thousand of older files.
Depending on how directories are implemented by Unix,
I imagine that after removal of the files, the directory could still be quite large and may consist of many "empty" slots. Although files had been removed, most commands could still be slow while processing the directory in order to access remaining files, so performance would be poor.
If that was the case, is there a "compacting" command we need to run over the directories after removing files?
The alternative is that a directory list is rebuilt as files get removed, so that the directory consists only of occupied slots at any one time - is that the case?
We plan to purge some archive directories, deleting thousand of older files.
Depending on how directories are implemented by Unix,
I imagine that after removal of the files, the directory could still be quite large and may consist of many "empty" slots. Although files had been removed, most commands could still be slow while processing the directory in order to access remaining files, so performance would be poor.
If that was the case, is there a "compacting" command we need to run over the directories after removing files?
The alternative is that a directory list is rebuilt as files get removed, so that the directory consists only of occupied slots at any one time - is that the case?