Lines Matching refs:mountpoint

603 validate_disk(char *arg, char *mountpoint)
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);
648 mountpoint);
662 validate_ufs_disk(char *arg, char *mountpoint)
669 if (mount(arg, mountpoint, MS_DATA|MS_OPTIONSTR,
682 validate_zfs_pool(char *arg, char *mountpoint)
700 if (mount(zfs_get_name(zhp), mountpoint, MS_DATA|MS_OPTIONSTR|MS_RDONLY,
954 * Upon success returns zero and copies bename string to mountpoint[]
957 fastboot_bename(const char *bename, char *mountpoint, size_t mpsz)
973 (void) strlcpy(mountpoint, FASTBOOT_MOUNTPOINT, mpsz);
987 char mountpoint[MAXPATHLEN];
1001 bzero(mountpoint, sizeof (mountpoint));
1096 if (bename && (rc = fastboot_bename(bename, mountpoint,
1097 sizeof (mountpoint))) != 0)
1103 * mountpoint; if BE has been specified, mountpoint has already been
1109 if ((tmprc = validate_disk(newarg, mountpoint)) == 0) {
1116 (void) strlcpy(fastboot_mounted, mountpoint,
1123 bcopy("/", mountpoint, 1);
1124 bzero(&mountpoint[1], sizeof (mountpoint) - 1);
1135 * Make mountpoint the first part of unixfile.
1137 * mountpoint could be empty.
1139 mplen = strlen(mountpoint);
1140 bcopy(mountpoint, unixfile, mplen);
1151 * No unix argument, but mountpoint is not empty, use
1173 * is an ELF file. Split the argument up into mountpoint and unix
1174 * portions again. This is necessary to handle cases where mountpoint