Searched refs:devattr (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/libpkg/common/
H A Ddevtype.c39 extern char *devattr(char *device, char *attribute); /* libadm.a */
61 if ((devp->mount = devattr(alias, "mountpt")) != NULL &&
63 devp->bdevice = devattr(alias, "bdevice");
77 devp->cdevice = devattr(alias, "cdevice");
80 if (name = devattr(alias, "capacity")) {
86 devp->norewind = devattr(alias, "norewind");
102 name = devattr(alias, "pathname");
H A Ddstream.c51 extern char *devattr(char *device, char *attribute);
799 if ((pbufsize = devattr(device, "bufsize")) != NULL) {
H A Dpkgtrans.c68 extern char *devattr(char *device, char *attribute);
167 } else if ((pt = devattr(device, "pathname")) != NULL && !isdir(pt)) {
/illumos-gate/usr/src/head/
H A Ddevmgmt.h141 * devattr() Returns a device's attribute
152 char *devattr(char *, char *);
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetvol.c73 * 2 - unknown device (devattr failed)
106 cdevice = devattr(device, "cdevice");
108 cdevice = devattr(device, "pathname");
113 pname = devattr(device, "desc");
115 pname = devattr(device, "alias");
120 volume = devattr(device, "volume");
153 if (advice = devattr(device, "advice"))
300 fmtcmd = devattr(device, "fmtcmd");
301 mkfscmd = devattr(device, "mkfscmd");
302 removecmd = devattr(devic
[all...]
H A Ddevattr.c36 * devattr.c
39 * devattr() Get the value of a attribute for a specific device
70 * char *devattr(device, attr)
99 devattr( function
H A Dgetdgrp.c359 mbralias = devattr(pmbr->name, DTAB_ALIAS);
372 * (if it was allocated above by devattr())
H A Ddevreserv.c742 if (alias = devattr(device, DTAB_ALIAS)) {
763 } /* devattr() failed, no such device? */
802 char *alias; /* Device's alias (from devattr()) */
822 if (alias = devattr(device, DTAB_ALIAS)) srchalias = alias;
H A Dgetdev.c696 if (alias = devattr(*pp, DTAB_ALIAS)) *qq++ = alias;
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A DMakefile33 PROG = devattr devreserv getvol putdgrp devfree getdev listdgrp getdgrp \
52 $(LINT.c) devattr.c $(LDLIBS)
H A Ddevattr.c34 * devattr.c
37 * devattr Command that returns [specific] attributes for
42 * devattr [-v] device [attr [...]]
100 #define M_USAGE "usage: devattr [-v] device [attribute [...]]"
148 * Implements the command "devattr". This function parses the command
149 * line, then calls the devattr() function looking for the specified
275 if (!(value = devattr(device, attr))) {
/illumos-gate/usr/src/lib/libadm/
H A DMakefile.com31 devattr.o devreserv.o devtab.o dgrpent.o getdev.o getdgrp.o \
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dlibadm.h159 * devattr.c
161 extern char *devattr __P((char *device, char *attribute));
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dmain.c403 if ((spooldir = devattr(device, "pathname")) == NULL)
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c326 device = devattr(SPOOLDEV, "pathname");
/illumos-gate/usr/src/man/man1m/
H A DMakefile86 devattr.1m \
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dmain.c1069 device = devattr("spool", "pathname");

Completed in 101 milliseconds