Commit c91d1d13 authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

The RmcDaemonTests now run.

parent 3892db06
......@@ -136,8 +136,8 @@ static int rmc_acs_mnt(const char *const vid, const char *const drive) {
}
static int rmc_manual_mnt(const char *const vid, const char *const drive) {
return 0;
/* Return 1 indicating the mount is manual */
return 1;
}
static int rmc_smc_mnt(const char *const vid, const char *const drive) {
......
......@@ -31,15 +31,24 @@ manual
.TP
smc@rmc_host,drive_ordinal
.RE
.LP
This function requires TP_SYSTEM privilege in the Cupv database.
.SH RETURN VALUE
This routine returns 0 if a mount operation was successful, 1 if the mount is
manual and therefore the system is now waiting for an operator to perform the
mount, or -1 if the operation failed. In the latter case,
.TP
.B 0
The mount operation was successful.
.TP
.B 1
The mount operations is manual and the rmc_mnt() function has therefore not
taken any further action.
.TP
.B -1
The mount operation has failed and both
.B errno
and
.B serrno
is set appropriately.
have been set appropriately.
.SH ERRORS
.TP 1.8i
.B EINVAL
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment