OSRM(1) — OBJECTSTORE COMMANDS
NAME
osrm − remove an ObjectStore database
SYNOPSIS
osrm [ -firR] database ...
osrm -u [ -f] Server-host uid0 uid1 uid2
DESCRIPTION
osrm removes ObjectStore databases from the database’s host Server, as well as from the directory database. To remove a database, you must have write permission in its directory, but you don’t need write access to the database itself.
The first form is used for removing databases from the Directory Manager and the Server. This is the form normally used by users.
The second form is used for removing databases from the ObjectStore Server only and is normally used only by the system administrator for cleaning up "dangling references" in the Server directory of uids which were located by osrverf. To use this form, you must have the same uid as the user who started the Server on host Server-host. uid0, uid1, and uid2 are the three parts of the database uid, as obtained by osls -u (see osls(1)).
OPTIONS
The -f option suppresses an error message if the specified database is not found.
-i asks whether you want to delete each specified database.
-r recursively deletes all databases in the directory databse, starting from the slected pathname.
-R removes an entry from the Directory Manager only, without actually deleting the database from the Server. This can be useful if you have dangling references (that is, an entry is in the Directory Manager, but there is no database on the Server), or if you have moved the entry from one Directory Manager to another.
osrm can perform wildcard processing similar to shell wildcards (∗, ?, {}, and []). You must quote the wildcard with quotation marks ("") or a backslash (\) to keep the shell from misinterpreting the asterisk as a shell wildcard.
osrm supports all the arguments of rm. It accepts a combination of Directory Manager pathnames and file pathnames.
FILES
$OS_ROOTDIR/bin/osrm
SEE ALSO
ObjectStore 2.0 — Last change: October 1992