Reference

oridbg(1)

Ori File System Debug command line interface

NAME

oridbg - Ori File System Debug command line interface

SYNOPSIS

ori COMMAND [ARGUMENTS...]

DESCRIPTION

This tool provides the command line interface for debugging the Ori distributed file system. Provides useful tools for accessing, manipulating, and repairing Ori repositories.

DEBUGGING COMMANDS

This list contains commands that will operate on your local instance of the repository. These may callout to remote repositories for data if this was an InstaCloned repository.

log

Display a log of changes made to the repository.

merge COMMIT-HASH

Merges the specified change with the current HEAD.

newfs FS-NAME

Create a file system with the given name.

removefs FS-NAME

Remove the specified file system.

show

Show repository information.

snapshot [-m MESSAGE] [SNAPSHOT-NAME]

Take a snapshot of the repository. You may optionally supply a message to be included and a name.

snapshots

List all snapshots in this repository.

dumpobj OBJECT-HASH

Dump the specified object in a human readable format.

tip

Print the commit hash for the HEAD revision.

filelog

Displays a log of relevant commits made to the specified file.

findheads

Searches for detached heads that are not referenced by a branch.

RECOVERY COMMANDS

This section lists a few commands that are for recovery use only. Do not run these unless it is necessary. The verify command is useful to all users to check that the repository has not been corrupted.

gc

Garbage collect any deleted objects that have not been reclaimed. This will repack the pack files that contain deleted objects.

purgecommit COMMIT-HASH

Deletes a commit. Use this command with caution as it's experimental as certain commands may no longer work after.

rebuildindex

Rebuild the object index.

rebuildrefs

Rebuild reference counts.

verify

Verify that the repository is consistent.

KEY MANAGEMENT COMMANDS

This section provides a list of key management commands that help a maintain a list of trusted keys and set the signing key for commits. Commits are automatically signed if a private key is set. The log command displays whether a signature has been verified in Commit objects.

addkey KEYFILE

Add a signing key to the repository.

listkeys

List the signing keys available in this repository.

removekey

Remove a public key from the repository.

setkey

Set the repository private key used for signing commits.

OTHER COMMANDS

help

Display a list of commands and their purpose.

ori(1),

SEE ALSO

orifs(1), orisync(1), ori_httpd(1)