Print this page
2988 nfssrv: need ability to go to submounts for v3 and v2 protocols
Portions contributed by: Marcel Telka <marcel.telka@nexenta.com>
Portions contributed by: Jean McCormack <jean.mccormack@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Change-Id: I6fdf110cc17e789353c4442b83a46cb80643456e


  39 #define SHOPT_RO        "ro"
  40 #define SHOPT_RW        "rw"
  41 #define SHOPT_NONE      "none"
  42 #define SHOPT_ROOT_MAPPING      "root_mapping"
  43 
  44 #define SHOPT_SEC       "sec"
  45 #define SHOPT_SECURE    "secure"
  46 #define SHOPT_ROOT      "root"
  47 #define SHOPT_ANON      "anon"
  48 #define SHOPT_WINDOW    "window"
  49 #define SHOPT_NOSUB     "nosub"
  50 #define SHOPT_NOSUID    "nosuid"
  51 #define SHOPT_ACLOK     "aclok"
  52 #define SHOPT_PUBLIC    "public"
  53 #define SHOPT_INDEX     "index"
  54 #define SHOPT_LOG       "log"
  55 #define SHOPT_CKSUM     "cksum"
  56 #define SHOPT_NOACLFAB  "noaclfab"
  57 #define SHOPT_UIDMAP    "uidmap"
  58 #define SHOPT_GIDMAP    "gidmap"

  59 
  60 /*
  61  * defined options types. These should be in a file rather than
  62  * compiled in. Until there is a plugin mechanism to add new types,
  63  * this is sufficient.
  64  */
  65 #define OPT_TYPE_ANY            0
  66 #define OPT_TYPE_STRING         1
  67 #define OPT_TYPE_BOOLEAN        2
  68 #define OPT_TYPE_NUMBER         3
  69 #define OPT_TYPE_RANGE          4
  70 #define OPT_TYPE_USER           5
  71 #define OPT_TYPE_ACCLIST        6
  72 #define OPT_TYPE_DEPRECATED     7
  73 #define OPT_TYPE_SECURITY       8
  74 #define OPT_TYPE_PATH           9
  75 #define OPT_TYPE_FILE           10
  76 #define OPT_TYPE_LOGTAG         11
  77 #define OPT_TYPE_STRINGSET      12
  78 #define OPT_TYPE_DOMAIN         13




  39 #define SHOPT_RO        "ro"
  40 #define SHOPT_RW        "rw"
  41 #define SHOPT_NONE      "none"
  42 #define SHOPT_ROOT_MAPPING      "root_mapping"
  43 
  44 #define SHOPT_SEC       "sec"
  45 #define SHOPT_SECURE    "secure"
  46 #define SHOPT_ROOT      "root"
  47 #define SHOPT_ANON      "anon"
  48 #define SHOPT_WINDOW    "window"
  49 #define SHOPT_NOSUB     "nosub"
  50 #define SHOPT_NOSUID    "nosuid"
  51 #define SHOPT_ACLOK     "aclok"
  52 #define SHOPT_PUBLIC    "public"
  53 #define SHOPT_INDEX     "index"
  54 #define SHOPT_LOG       "log"
  55 #define SHOPT_CKSUM     "cksum"
  56 #define SHOPT_NOACLFAB  "noaclfab"
  57 #define SHOPT_UIDMAP    "uidmap"
  58 #define SHOPT_GIDMAP    "gidmap"
  59 #define SHOPT_NOHIDE    "nohide"
  60 
  61 /*
  62  * defined options types. These should be in a file rather than
  63  * compiled in. Until there is a plugin mechanism to add new types,
  64  * this is sufficient.
  65  */
  66 #define OPT_TYPE_ANY            0
  67 #define OPT_TYPE_STRING         1
  68 #define OPT_TYPE_BOOLEAN        2
  69 #define OPT_TYPE_NUMBER         3
  70 #define OPT_TYPE_RANGE          4
  71 #define OPT_TYPE_USER           5
  72 #define OPT_TYPE_ACCLIST        6
  73 #define OPT_TYPE_DEPRECATED     7
  74 #define OPT_TYPE_SECURITY       8
  75 #define OPT_TYPE_PATH           9
  76 #define OPT_TYPE_FILE           10
  77 #define OPT_TYPE_LOGTAG         11
  78 #define OPT_TYPE_STRINGSET      12
  79 #define OPT_TYPE_DOMAIN         13