Print this page
9842 man page typos and spelling
*** 7,27 ****
.SH NAME
media_getid \- return the id of a piece of media
.SH SYNOPSIS
.LP
.nf
! \fBcc \fR[flag \&.\|.\|.] \fIfile \fR\&.\|.\|.\fB\(mil\fRvolgmt [library \&.\|.\|.]
#include <volmgt.h>
\fBulonglong_t\fR \fBmedia_getid\fR(\fBchar *\fR\fIvol_path\fR);
.fi
.SH DESCRIPTION
- .sp
.LP
This function is obsolete. The management of removable media by the Volume
Management feature, including \fBvold\fR, has been replaced by software that
supports the Hardware Abstraction Layer (HAL). Programmatic support for HAL is
through the HAL APIs, which are documented on the HAL web site. See
--- 7,26 ----
.SH NAME
media_getid \- return the id of a piece of media
.SH SYNOPSIS
.LP
.nf
! \fBcc \fR[flag \&.\|.\|.] \fIfile \fR\&.\|.\|.\fB\(mil\fRvolmgt [library \&.\|.\|.]
#include <volmgt.h>
\fBulonglong_t\fR \fBmedia_getid\fR(\fBchar *\fR\fIvol_path\fR);
.fi
.SH DESCRIPTION
.LP
This function is obsolete. The management of removable media by the Volume
Management feature, including \fBvold\fR, has been replaced by software that
supports the Hardware Abstraction Layer (HAL). Programmatic support for HAL is
through the HAL APIs, which are documented on the HAL web site. See
*** 29,49 ****
.sp
.LP
\fBmedia_getid()\fR returns the \fIid\fR of a piece of media. Volume management
must be running. See \fBvolmgt_running\fR(3VOLMGT).
.SH PARAMETERS
- .sp
.ne 2
.na
\fB\fIvol_path\fR\fR
.ad
.RS 12n
Path to the block or character special device.
.RE
.SH RETURN VALUES
- .sp
.LP
The return from this function is undefined.
.SH EXAMPLES
.LP
\fBExample 1 \fRUsing \fBmedia_getid()\fR
--- 28,46 ----
*** 75,85 ****
management is running, then any \fBNULL\fR return value will be ambiguous, as
it could mean that either volume management does not have \fIpath\fR in its
name space, or volume management is not running.
.SH ATTRIBUTES
- .sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
--- 72,81 ----
*** 93,101 ****
_
Interface Stability Obsolete
.TE
.SH SEE ALSO
- .sp
.LP
\fBvolmgt_ownspath\fR(3VOLMGT), \fBvolmgt_running\fR(3VOLMGT),
\fBattributes\fR(5), \fBhal\fR(5)
--- 89,96 ----