Searched refs:mountpoint (Results 1 - 25 of 183) sorted by path

12345678

/illumos-gate/usr/src/cmd/allocate/
H A Ddisk_clean.sh245 mountpoint = $2;
246 print mountpoint;
251 mountpoint = $2;
252 print mountpoint;
/illumos-gate/usr/src/cmd/beadm/
H A Dbeadm.c136 "\tbeadm mount [-s ro|rw] [-v] beName [mountpoint]\n"
137 "\tbeadm unmount [-fv] beName | mountpoint\n"
138 "\tbeadm umount [-fv] beName | mountpoint\n"
1222 char *mountpoint; local
1262 mountpoint = argv[1];
1263 if (mountpoint[0] != '/') {
1265 "Mount point must start with a /.\n"), mountpoint);
1283 mountpoint = mkdtemp(tmp_mp);
1292 if (be_nvl_add_string(be_attrs, BE_ATTR_MOUNTPOINT, mountpoint) != 0)
1303 (void) printf(_("Mounted successfully on: '%s'\n"), mountpoint);
[all...]
/illumos-gate/usr/src/cmd/fs.d/
H A Dfssnapsup.c53 "mountpoint",
78 * displays snapshot information. If mountpoint is set, information is
80 * If mountpoint is NULL, information is displayed for all snapshots.
104 fssnap_show_status(char *mountpoint, char *opts, int labels, int brief) argument
122 if (mountpoint) {
123 if (strncmp(BLOCK_PATH, mountpoint, strlen(BLOCK_PATH)) == 0 ||
124 strncmp(CHAR_PATH, mountpoint, strlen(CHAR_PATH)) == 0) {
125 n = strrchr(mountpoint, '/');
194 if (mountpoint != NULL) {
196 (!usenum && strcmp(mountpoint, mn
[all...]
H A Dswitchout.c238 if (diff > 0) /* gave more than one mountpoint or device */
407 stat_snap(char *cmd, char *mountpoint, char *opts) argument
413 if (mountpoint) {
414 if ((fd = open(mountpoint, O_RDONLY)) < 0) {
422 cmd, mountpoint, en, errstr);
428 fssnap_show_status(mountpoint, opts, 1, (opts ? 0 : 1));
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c415 char mountpoint[256]; local
435 (void) strlcpy(mountpoint, mntp.mnt_mountp,
436 sizeof (mountpoint));
437 strcat(mountpoint, "/quotas");
438 if ((fd = open64(mountpoint, O_RDWR)) >= 0)
451 (void) strlcpy(mountpoint, mountp, sizeof (mountpoint));
452 strcat(mountpoint, "/quotas");
454 if ((fd = open64(mountpoint, O_RDONLY)) < 0) {
456 syslog(LOG_ERR, "can not open %s: %m ", mountpoint);
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dfsck.h189 char mountpoint[100]; /* string set to contain mount point */ variable
H A Dmain.c234 mountpoint);
H A Dutilities.c534 (void) strncpy(mnt.mnt_mountp, mountpoint,
535 sizeof (mountpoint));
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/
H A Dfssnap.c98 extern void fssnap_show_status(char *mountpoint, char *opts, int labels,
109 char *mountpoint = NULL; local
208 /* Otherwise, the last option is the mountpoint. */
209 mountpoint = argv[optind];
210 if ((mountfd = open(mountpoint, O_RDONLY)) < 0)
211 die_perror(mountpoint);
215 stats_snap(mountpoint, suboptions);
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c151 char *special, *name, *mountpoint = NULL; local
174 searchmnttab(&special, &mountpoint);
176 * If mounted device, search mnttab for mountpoint
181 searchmnttab(&special, &mountpoint);
187 if (mountpoint == NULL)
207 * If a mountpoint has been found then we will ioctl() the file
212 if (mountpoint == NULL) {
217 mountpoint = NULL;
318 if (mountpoint) {
319 mountfd = open(mountpoint, O_RDONL
[all...]
/illumos-gate/usr/src/cmd/hal/tools/
H A DMakefile44 hal-storage-cleanup-mountpoint \
116 hal-storage-cleanup-mountpoint: hal-storage-cleanup-mountpoint.c \
118 $(LINK.c) hal-storage-cleanup-mountpoint.c \
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c603 validate_disk(char *arg, char *mountpoint) argument
616 bcopy(FASTBOOT_MOUNTPOINT, mountpoint, sizeof (FASTBOOT_MOUNTPOINT));
618 if (strstr(arg, mountpoint) == NULL) {
623 (void) umount2(mountpoint, MS_FORCE);
627 if (lstat64(mountpoint, &statbuf) != 0) {
628 if (mkdirp(mountpoint, 0755) != 0) {
630 gettext("Failed to create mountpoint %s\n"),
631 mountpoint);
638 rc = validate_ufs_disk(arg, mountpoint);
641 rc = validate_zfs_pool(arg, mountpoint);
662 validate_ufs_disk(char *arg, char *mountpoint) argument
682 validate_zfs_pool(char *arg, char *mountpoint) argument
957 fastboot_bename(const char *bename, char *mountpoint, size_t mpsz) argument
987 char mountpoint[MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c728 char mountpoint[PATH_MAX]; local
740 if (zfs_prop_get(zhp, ZFS_PROP_MOUNTPOINT, mountpoint, PATH_MAX, NULL,
750 rest = name + strlen(mountpoint);
751 (void) snprintf(sname, TLM_MAX_PATH_NAME, "%s/%s/%s%s", mountpoint,
/illumos-gate/usr/src/cmd/rmmount/
H A Drmmount.c81 char *mountpoint = NULL; local
185 mountpoint = argv[optind + 1];
192 0, opts, num_opts, mountpoint) ? 0 : 1;
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c496 char **opts, int num_opts, char *mountpoint, DBusError *error)
512 if (mountpoint == NULL) {
513 mountpoint = "";
516 if (!dbus_message_append_args(dmesg, DBUS_TYPE_STRING, &mountpoint,
803 char **opts, int num_opts, char *mountpoint)
828 opts, num_opts, mountpoint, &error);
881 struct action_arg *aap, char **opts, int num_opts, char *mountpoint)
953 opts, num_opts, mountpoint);
1073 char *mountpoint; local
1157 if (!(mountpoint
495 rmm_hal_mount(LibHalContext *hal_ctx, const char *udi, char **opts, int num_opts, char *mountpoint, DBusError *error) argument
801 rmm_action_one(LibHalContext *hal_ctx, const char *name, action_t action, const char *dev, const char *udi, LibHalVolume *v, char **opts, int num_opts, char *mountpoint) argument
880 rmm_action(LibHalContext *hal_ctx, const char *name, action_t action, struct action_arg *aap, char **opts, int num_opts, char *mountpoint) argument
[all...]
H A Dvold.c177 char mountpoint[MAXPATHLEN]; local
300 if (snprintf(mountpoint, MAXPATHLEN,
306 (void) makepath(mountpoint, 0700);
307 (void) chown(mountpoint, mnt_uid, mnt_gid);
312 if (snprintf(mountpoint, MAXPATHLEN,
315 (void) chmod(mountpoint, 0755);
318 if (snprintf(mountpoint, MAXPATHLEN,
327 /* make our mountpoint */
328 (void) makepath(mountpoint, 0755);
330 arg_mountpoint = mountpoint;
[all...]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dfs-minimal57 mountpt=`zfs get -H -o value mountpoint $be$fs 2>/dev/null`
76 /sbin/zfs list -rH -o mountpoint -s mountpoint -t filesystem $be | \
H A Dfs-root125 mountp=`/sbin/zfs get -H -o value mountpoint $special/usr 2>/dev/null`
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c281 "<-a | filesystem|mountpoint>\n"));
284 "<-a | filesystem|mountpoint>\n"));
678 /* create the mountpoint if necessary */
3050 "name,used,available,referenced,mountpoint";
5781 char mountpoint[ZFS_MAXPROPLEN]; local
5820 * includes those with a legacy mountpoint, or those with
5823 verify(zfs_prop_get(zhp, ZFS_PROP_MOUNTPOINT, mountpoint,
5824 sizeof (mountpoint), NULL, NULL, 0, B_FALSE) == 0);
5845 * shareopts is non-legacy but the mountpoint is legacy, we
5848 if (strcmp(mountpoint, "legac
6621 char mountpoint[ZFS_MAXPROPLEN]; local
[all...]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c108 /* If legacy, must look in mnttab for mountpoint. */
147 mount2zhandle(char *mountpoint) argument
151 cb.match_name = mountpoint;
399 /* create the mountpoint if necessary */
425 * file system name (not mountpoint) should be for that path. We do not
441 * directly under the mountpoint for the parent fs using the last component
442 * of the name as the mountpoint directory.
1090 * If the zone has ever been moved then the mountpoint dir will not be
1155 * mountpoint. Since it is file system already, we don't have the
1227 "dataset %s: mountpoint canno
1361 get_zfs_non_legacy_mountpoint(const char *dataset_name, char **mountpoint) argument
[all...]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c213 "\t [-m mountpoint] [-R root] <pool> <vdev> ...\n"));
772 * [-R root] [-m mountpoint] <pool> <dev> ...
778 * -m Set default mountpoint for the root dataset. By default it's
801 char *mountpoint = NULL; local
832 /* Equivalent to -O mountpoint=optarg */
833 mountpoint = optarg;
880 mountpoint = propval;
945 * Check the validity of the mountpoint and direct the user to use the
946 * '-m' mountpoint option if it looks like its in use.
948 if (mountpoint
[all...]
/illumos-gate/usr/src/lib/brand/shared/zone/
H A Dcommon.ksh317 ZONEPATH_DS=`/usr/sbin/zfs list -H -t filesystem -o name,mountpoint | \
H A Duninstall.ksh251 ZONEPATH_DS=`/sbin/zfs list -t filesystem -o name,mountpoint | \
/illumos-gate/usr/src/lib/brand/solaris10/zone/
H A Dattach.ksh183 zfs set mountpoint=legacy $ZONEPATH_DS/ROOT >/dev/null 2>&1
191 zfs inherit mountpoint $ACTIVE_DS >/dev/null 2>&1
H A Dclone.ksh82 /usr/sbin/zfs create -o mountpoint=legacy -o zoned=on $zpds/$zpname/ROOT

Completed in 566 milliseconds

12345678