.\" ident "%Z%%M% %I% %E% SMI" %commonents; ]> get_depend_info1 2 November 2000 &man1; &release; generic Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. CDDL HEADER START The contents of this file are subject to the terms of the Common Development and Distribution License, Version 1.0 only (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] CDDL HEADER END get_depend_info — get dependency information about a package or a fileget dependency information about a package or a file — get_depend_infoget_depend_infoget dependency information about a package or a file &synp-tt; get_depend_info dbm_database_pathname  root_pathname SUN_packagefilename &desc-tt; The get_depend_info command prints dependency information about a package, a file, or a set of files on the standard output. &opts-tt; The following options are supported: Turns on conservative mode, that is, refrains from using /usr/bin/strings. Specifies the directory in which the Perl DBM databases generated by make_pkg_db1 are located. Outputs file dependencies only. Displays help. Outputs package dependencies only. Specifies a particular package on which you want to run the dependency analysis. You must specify this option if you specify either a Sun software package or a third-party software package that conforms with the Sun package format (SUN_package). Specifies an alternate root. You must also use the option if you use this option. Outputs symbolic links for files or packages only. &oper-tt; The following operands are supported: dbm_database_pathnameSpecifies the path name of the directory in which the Perl DBM databases generated by make_pkg_db are located. filenameSpecifies the name of a file or files on which you want to run the dependency analysis. root_pathnameSpecifies the path name of an alternate root you want to use. SUN_packageSpecifies the name of a particular Sun software package (or any third-party software package that conforms with the Sun package format) on which you want to run the dependency analysis. You must use the option if you specify this operand. You can specify either a Sun software package or a file name, but not both. &exam-tt; To Get a Dependency Analysis of Two Particular Files % get_depend_info -dbdir MyDir /usr/bin/ls /usr/bin/man To Get a Dependency Analysis of Files Using a Wild Card % get_depend_info -dbdir MyDir /usr/sbin/* To Get a Dependency Analysis of a Package in Sun Format % get_depend_info -dbdir MyDir -pkg NSCPcom % get_depend_info -dbdir MyDir -pkg SUNWnisu To Display Help % get_depend_info -h &attr-tt; See attributes5 for descriptions of the following attributes: ATTRIBUTE TYPEATTRIBUTE VALUEAvailabilitySUNWonbldCSIEnabledInterface StabilityEvolvingMT-LevelUnsafe &also-tt; make_pkg_db1, attributes5