To remove an element in the lost+found directory
About this task
Tip: You do
not need to load the lost+found directory to
complete this procedure from a snapshot view.
Note: It is safer
to move an element from lost+found than it is
to delete it because deleted elements cannot be recovered. However,
if you are certain that you want to destroy an element, you should
first back up the VOB. Never run the rmelem command
recursively in a directory without first verifying its contents, including
symbolic links and their targets (deleting symbolic links can cause
unexpected results).
Procedure
- To obtain the UUID of the element, enter
the following command:
- On the UNIX system and
Linux:
%
ls VOB-path/lost+found - On Windows systems:
>
dir VOB-path\lost+found
Each file in the lost+found directory is named as element-name.UUID.
- On the UNIX system and
Linux:
- To permanently remove the element, use the
following command:
- On the UNIX system and
Linux:
For example, from a dynamic view:cleartool rmelem VOB-path/lost+found/orphaned-element-name
For example, from a snapshot view:cleartool rmelem /guivob/lost+found/prog.c.5f6815a0a2ce11cca54708006906af65
cd ~/pat_v1.4_cropcircle_sv cleartool rmelem guivob/lost+found/prog.c.5f6815a0a2ce11cca54708006906af65
- On Windows systems:
For example, from a dynamic view:cleartool rmelem VOB-path\lost+found\orphaned-element-name
For example, from a snapshot view:cleartool rmelem \guivob\lost+found\prog.c.5f6815a0a2ce11cca54708006906af65
cd c:\pat_v1.4_cropcircle_sv cleartool rmelem guivob\lost+found\prog.c.5f6815a0a2ce11cca54708006906af65
- On the UNIX system and
Linux:
- When a directory element is removed from lost+found, its subdirectory and file elements become orphaned and so are moved to lost+found. You may need to remove such elements in a separate step.