Searched refs:mntopts (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/cddl/compat/opensolaris/misc/
H A Dmnttab.c86 optadd(char *mntopts, size_t size, const char *opt) argument
89 if (mntopts[0] != '\0')
90 strlcat(mntopts, ",", size);
91 strlcat(mntopts, opt, size);
97 static char mntopts[MNTMAXSTR]; local
100 mntopts[0] = '\0';
103 #define OPTADD(opt) optadd(mntopts, sizeof(mntopts), (opt))
127 mp->mnt_mntopts = mntopts;
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Dvfs.h104 typedef struct mntopts { struct
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_mount.c271 char mntopts[MNT_LINE_MAX]; local
275 mntopts[0] = '\0';
277 (void) strlcpy(mntopts, options, sizeof (mntopts));
307 strstr(mntopts, MNTOPT_REMOUNT) == NULL &&
318 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) {
352 mntopts);
1118 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) argument
1151 if (zfs_mount(cb.cb_handles[i], mntopts, flag
[all...]
H A Dlibzfs_dataset.c823 const char *mountp, const char *mntopts)
833 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, mntopts);
822 libzfs_mnttab_add(libzfs_handle_t *hdl, const char *special, const char *mountp, const char *mntopts) argument
/freebsd-9.3-release/sbin/mount/
H A Dmount.c62 #include "mntopts.h"
497 hasopt(const char *mntopts, const char *option) argument
507 optbuf = strdup(mntopts);
534 const char *options, const char *mntopts)
545 if (mntopts == NULL)
546 mntopts = "";
547 optbuf = catopt(strdup(mntopts), options);
533 mountfs(const char *vfstype, const char *spec, const char *name, int flags, const char *options, const char *mntopts) argument
/freebsd-9.3-release/sbin/mksnap_ffs/
H A Dmksnap_ffs.c47 #include <mntopts.h>
/freebsd-9.3-release/contrib/amd/hlfsd/
H A Dhlfsd.c113 fprintf(stderr, "\t[-i interval] [-l logfile] [-o mntopts] [-P passwdfile]\n");
138 char *mntopts = (char *) NULL; local
231 mntopts = optarg;
481 if (mntopts) {
482 mnt.mnt_opts = mntopts;
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c225 "\timport [-o mntopts] [-o property=value] ... \n"
228 "\timport [-o mntopts] [-o property=value] ... \n"
265 return (gettext("\tsplit [-n] [-R altroot] [-o mntopts]\n"
1815 do_import(nvlist_t *config, const char *newname, const char *mntopts, argument
1880 zpool_enable_datasets(zhp, mntopts, 0) != 0) {
1891 * import [-o mntopts] [-o prop=value] ... [-R root] [-D]
1893 * import [-o mntopts] [-o prop=value] ... [-R root] [-D]
1943 char *mntopts = NULL; local
2011 mntopts = optarg;
2209 err |= do_import(config, NULL, mntopts,
3334 char *mntopts = NULL; local
[all...]
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dmain.c60 #include <mntopts.h>
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c5855 append_options(char *mntopts, char *newopts) argument
5857 int len = strlen(mntopts);
5867 if (*mntopts)
5868 mntopts[len++] = ',';
5870 (void) strcpy(&mntopts[len], newopts);
6532 char mntopts[MNT_LINE_MAX] = { '\0' }; local
6542 (void) strlcpy(mntopts, optarg, sizeof (mntopts));
6595 NULL, 0, mntopts, sizeof (mntopts)) !
[all...]
/freebsd-9.3-release/sbin/growfs/
H A Dgrowfs.c71 #include <mntopts.h>

Completed in 280 milliseconds