annotate
apropos
catcr
catcs
cc.icon
cc.magic
cd
chactivity
chbl
checkin
checkout
checkvob
chevent
chflevel
chfolder
chmaster
chpool
chproject
chstream
chtype
chview
clearaudit
clearbug
cleardescribe
cleardiffbl
cleardiff
clearexport_ccase
clearexport_cvs
clearexport_pvcs
clearexport_rcs
clearexport_sccs
clearexport_ssafe
clearfsimport
cleargetlog
clearhistory
clearimport
clearjoinproj
clearlicense
clearmake
clearmake.options
clearmrgman
clearprojexp
clearprompt
cleartool
clearviewupdate
clearvobadmin
comments
config_ccase
config_spec
cptype
credmap
creds
deliver
describe
diffbl
diffcr
diff
dospace
edcs
endview
env_ccase
events_ccase
export_mvfs
exports_ccase
file
find
findmerge
fmt_ccase
getcache
get
getlog
help
hostinfo
init_ccase
ln
lock
lsactivity
lsbl
lscheckout
lsclients
lscomp
lsdo
lsfolder
lshistory
ls
lslock
lsmaster
lspool
lsprivate
lsproject
lsregion
lsreplica
lssite
lsstgloc
lsstream
lstype
lsview
lsvob
lsvtree
makefile_aix
makefile_ccase
makefile_gnu
makefile_pmake
makefile_smake
makefile_sun
man
merge
mkactivity
mkattr
mkattype
mkbl
mkbranch
mkbrtype
mkcomp
mkdir
mkelem
mkeltype
mkfolder
mkhlink
mkhltype
mklabel
mklbtype
mkpool
mkproject
mkregion
mkstgloc
mkstream
mktag
mktrigger
mktrtype
mkview
mkvob
mount_ccase
mount
msdostext_mode
mvfslog
mvfsstorage
mvfstime
mvfsversion
mv
omake
pathnames_ccase
permissions
profile_ccase
promote_server
protect
protectvob
pwd
pwv
query_language
quit
rebase
recoverview
reformatview
reformatvob
register
relocate
rename
reqmaster
reserve
rgy_backup
rgy_check
rgy_passwd
rgy_switchover
rmactivity
rmattr
rmbl
rmbranch
rmcomp
rmdo
rmelem
rmfolder
rmhlink
rmlabel
rmmerge
rmname
rmpool
rmproject
rmregion
rmstgloc
rmstream
rmtag
rmtrigger
rmtype
rmver
rmview
rmvob
schedule
schemes
scrubber
setactivity
setcache
setcs
setplevel
setsite
setview
shell
snapshot.conf
softbench_ccase
space
startview
type_manager
umount
uncheckout
unlock
unregister
unreserve
update
version_selector
view_scrubber
vob_restore
vob_scrubber
vob_sidwalk
vob_snapshot
vob_snapshot_setup
wildcards_ccase
winkin
xclearcase
xcleardiff
xmldiffmrg
SYNOPSIS
DESCRIPTION
The lsvob command lists one or more VOBs. To be accessible to cleartool subcommands, including lsvob, a VOB must be registered. That is, it must have an entry in the vob_object file on the registry server host (ClearCase), or on the ClearCase LT server host. In addition, each VOB typically has one or more entries in the vob_tag registry file; you cannot mount, or even create, a VOB without assigning a tag to it. See the mkvob reference page. For more information about registry files, see the Administrator's Guide.
OPTIONS AND ARGUMENTS
Listing Format
- Default
- ClearCase: See
the “ClearCase—Default Output” section.
ClearCase LT: One-line summary.
- –l·ong
- Expands the listing to include all information
stored in the VOB registry regarding the listed VOBs.
ClearCase—The network accessibility information includes the global path to the view if a value is set for this property; otherwise, lists the host name and host-local path only.
ClearCase LT—The network accessibility information lists the host name and the host-local path.
- –s·hort
- Restricts the listing to VOB tags only.
Specifying the VOBs
- Default
- ClearCase: Lists
all VOBs registered for the local network region, both mounted and unmounted,
public and private.
ClearCase LT: Lists all VOBs on the ClearCase LT server.
- –hos·t hostname
- Confines the listing to VOBs whose storage
directories reside on host hostname.
- –reg·ion network-region
- Confines the VOB listing to include only the
VOBs registered for one or more network regions. (The mkvob and mktag commands have a –region option,
which can be used to assign VOB tags to specific network regions.) Unless
you use the –graphical option, the network-region argument
can include pattern-matching characters as described in the wildcards_ccase reference
page. Single-quote the network-region argument,
if it includes pattern-matching characters.
- vob-tag ...
- Specifies one or more VOBs to be listed. A
VOB must be registered, but it need not be mounted, to be listed with lsvob.
The vob-tag argument can include pattern-matching
characters as described in wildcards_ccase. Enclose in
single quotes any vob-tag argument that includes
pattern-matching characters.
- –sto·rage vob-storage-dir-pname ...
- One or more VOBs, identified by full pathnames
to their storage directories.
- –uui·d replica-uuid
- Lists the VOB with the specified universal
unique identifier (UUID).
- –fam·ily vob-family-uuid
- Lists the VOB with the specified VOB family
UUID.
EXAMPLES
The UNIX 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 shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
Note: In the UNIX examples that follow, arguments and output that show multicomponent VOB tags are not applicable to ClearCase LT, which recognizes only single-component VOB tags. In this manual, a multicomponent VOB tag is by convention a two-component VOB tag of the form /vobs/vob-tag-leaf—for example, /vobs/src. A single-component VOB tag consists of a leaf only—for example, /src. In all other respects, the examples are valid for ClearCase LT.
- List
the VOBs registered for the local network region.
cmd-context lsvob
* /vobs/demo /net/host5/usr/vobstore/demo_vob public
* /vobs/src /net/host2/usr/vobstore/src_vob public
* /vobs/design /net/host2/usr/vobstore/publicdesign_vob public
/vobs/pvob /net/host7/usr/vobstore/p_vob private (pvob)
/vobs/doc /net/host2/usr/vobstore/doc_vob public
* /vobs/stage /net/host4/usr/vobstore/stage_vob public
* /vobs/ucmvob /net/host6/usr/vobstore/ucm_vob private (ucmvob)
/vobs/bugvob /net/host8/usr/anne/vobstore/bug_vob private
* \demo \\neptune\vbstore\demo_vob public
* \src1 \\sunfield\users\vbstore\src1_vob public
\ucmvob \\pluto\users\vbstore\ucm_vob private (ucmvob)
* \design \\luna\vbstore\design_vob public
\doc \\sunfield\users\vbstore\doc_vob public
* \stage \\pluto\users\vbstore\stage_vob public
* \pvob \\sunfield\users\vbstore\p_vob private (pvob)
\bugvob \\luna\users\anne\vbstore\bug_vob private - List,
using the long display format, the registry information for the VOB with VOB
tag \vob12. The output line Active: YES indicates
that the VOB is currently mounted.
cmd-context lsvob –long \vob12
Tag: \vob12
Global path: \\sol\vbstore\vob12.vbs
Server host: sol
Access: public
Region: us_west
Active: YES
Vob tag replica uuid:cb4caf2f.f48d11cc.abfc.00:01:53:00:e8:c3
Vob on host: sol
Vob server access path: c:\vbstore\vob12.vbs
Vob family uuid: aed00001.9d3e11ca.bc4c.00:01:53:00:e8:c3
Vob replica uuid: cb4caf2f.f48d11cc.abfc.00:01:53:00:e8:c3 - List the VOB with a particular VOB family UUID.
- For a particular host, list the VOBs whose VOB tags match a wildcard pattern.
- Use a VOB browser to list all VOBs in the rd_east region.