Searched defs:canmount (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c280 char canmount[ZFS_MAXPROPLEN]; local
307 /* canmount must be set */
308 canmount[0] = '\0';
309 if (zfs_prop_get(zlist[i], ZFS_PROP_CANMOUNT, canmount,
310 sizeof (canmount), NULL, NULL, 0, B_FALSE) != 0 ||
311 strcmp(canmount, "off") == 0)
556 * "canmount=off and sharenfs=on".
1394 char canmount[ZFS_MAXPROPLEN]; local
1433 /* canmount must be set */
1434 canmount[
[all...]
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c5786 uint64_t zoned, canmount; local
5869 * canmount explicit outcome
5877 canmount = zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT);
5878 if (canmount == ZFS_CANMOUNT_OFF) {
5883 "'canmount' property is set to 'off'\n"), cmdname,
5886 } else if (canmount == ZFS_CANMOUNT_NOAUTO && !explicit) {
6446 /* Ignore canmount=noauto mounts */

Completed in 95 milliseconds