diff options
author | sjelinek <none@none> | 2005-12-13 10:24:52 -0800 |
---|---|---|
committer | sjelinek <none@none> | 2005-12-13 10:24:52 -0800 |
commit | 82d71480b3c112fa91f04032225eda15dfe22e17 (patch) | |
tree | 4290edb7eb9dba70e31031466e202b8545c3fc50 /usr/src/lib/libdiskmgt/common/libdiskmgt.h | |
parent | 4ab75253616c6d68e967c10221bb663c0bfa99df (diff) | |
download | illumos-joyent-82d71480b3c112fa91f04032225eda15dfe22e17.tar.gz |
6349487 libdiskmgt should bypass all calls in dm_inuse when NOINUSE_CHECK is set
6359855 gcc still doesn't like cmd/fs.d/switchout.c
6354408 libdiskmgt needs to handle sysevent failures in miniroot or failsafe environments better
4896568 *mount* message for remounting read-only is bogus
Contributed by Shawn Walker.
4995011 mountfs error timeout is 60ms instead of 60s
Contributed by Jeremy Teo.
Diffstat (limited to 'usr/src/lib/libdiskmgt/common/libdiskmgt.h')
-rw-r--r-- | usr/src/lib/libdiskmgt/common/libdiskmgt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/lib/libdiskmgt/common/libdiskmgt.h b/usr/src/lib/libdiskmgt/common/libdiskmgt.h index ee8d1776b7..93998899c1 100644 --- a/usr/src/lib/libdiskmgt/common/libdiskmgt.h +++ b/usr/src/lib/libdiskmgt/common/libdiskmgt.h @@ -35,6 +35,8 @@ extern "C" { #include <libnvpair.h> + + /* * Holds all the data regarding the device. * Private to libdiskmgt. Must use dm_xxx functions to set/get data. @@ -225,6 +227,8 @@ typedef enum { #define DM_LUN "lun" #define DM_TARGET "target" +#define NOINUSE_SET getenv("NOINUSE_CHECK") != NULL + void dm_free_descriptors(dm_descriptor_t *desc_list); void dm_free_descriptor(dm_descriptor_t desc); void dm_free_name(char *name); |