The reformatview command changes the format of a view database from that used in a previous release of ClearCase to the current format. A view database is a set of binary files in the db subdirectory of the view storage directory. A new release may use a different database format to support new product features, to enhance storage efficiency, or to improve performance.
Converting the view database involves two major steps:
The old, invalid view database is not overwritten; it remains in the view storage directory, as db.dumped, until you explicitly delete it with a standard operating system command.
A view's view_server process detects the need for reformatting, logs a message, and automatically reformats the view. reformatview itself writes status messages to view_log, not to stdout or stderr.
You can also use reformatview to move a view storage area between hosts of different architectures—that is, hosts on which there are differences in the binary files that implement the view database.
In the case of a dynamic view, if the view database requires recovery, some information may be lost in the dump/load process. In addition, some view-private files may be moved into the view's lost+found directory. See the recoverview reference page for details.
On UNIX or Linux, if a view-private file is owned by someone other than the owner of the view storage area, reformatview always strips its setuid bit (if the bit is set)
In the case of a snapshot view, the lost information may include loaded files as well as view-private files.
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.