search for: vn_unconfig

Displaying 1 result from an estimated 1 matches for "vn_unconfig".

2003 May 14
0
vnconfig(8), bin/45754
...size = getpagesize(); - rv = 0; + status = rv = 0; /* * Prepend "/dev/" to the specified device name, if necessary. @@ -333,6 +333,7 @@ if (flags & (VN_MOUNTRO|VN_MOUNTRW)) { rv = unmount(oarg, 0); if (rv) { + status--; if (errno == EBUSY) flags &= ~VN_UNCONFIG; if ((flags & VN_UNCONFIG) == 0) @@ -351,8 +352,10 @@ if (verbose) printf("%s: not configured\n", dev); rv = 0; - } else + } else { + status--; warn("VNIOCDETACH"); + } } else if (verbose) printf("%s: cleared\n", dev); }...