Lines Matching defs:s

124  * individual device(s) and SENA enclosure(s).
143 " adding Fibre Channel Enclosure(s)/Device(s): "));
158 " No new enclosure(s) were added!!\n\n"));
173 " No new enclosure(s) were added!!\n\n"));
185 * gets the devices state - check for disk's reservations.
203 "Inquiry failed for %s\n"),
273 " %s", argStr[ix]);
377 * s = Skip
400 " %d: Box Name: \"%s\" slot %d\n"),
404 " %d: Box Name: \"%s\" front slot %d\n"),
410 " %d: Box Name: \"%s\" slot %d\n"),
414 " %d: Box Name: \"%s\" rear slot %d\n"),
422 " %d: Device %s\n"),
426 " %d: Box: %s\n"),
434 "\n\nPlease enter 's' or <CR> to Skip the \"busy/reserved\""
435 " device(s) or\n'q' to Quit and run the"
436 " subcommand with\n-F (force) option. [Default: s]: "));
440 choice[0] == 's' || choice[0] == 'S' ||
445 " Enter an appropriate option [s,<CR>,q]: "));
470 " filesystems are mounted on these device(s).\n"
518 "DEBUG: luxadm: hotplug() entering for \"%s\" ...\n",
544 (*(ptr +1) == 's')) &&
561 " %s to physical path.\n"
589 " %s to physical path.\n"
795 "Error: %s already exists!!\n"),
831 MSGSTR(5513, "\nNotice: %s may "
965 "removing the device(s)."));
969 "inserting the device(s)."));
994 * Internal routine to clean up ../'s in paths.
1048 return (1); /* We may have more "../"s */
1084 * If it's already an absolute path, we have no need
1091 O_DPRINTF("getcwd() failed - %s\n",
1109 * Clean up any "../"s that are in the path
1124 O_DPRINTF("lstat() failed for - %s\n",
1134 * Note: All of our temp's are on the stack,
1142 O_DPRINTF("readlink() failed - %s\n",
1160 if (tmp == NULL) { /* Whoa! Something's hosed! */
1169 * Note: At this point, source should have "../"s
1174 /* It's an absolute link so no worries */
1201 char s[MAXPATHLEN];
1211 (void) strcpy(s, path);
1213 status = lstat(s, &stbuf);
1220 if (strstr(s, "/devices")) {
1221 result = g_alloc_string(s);
1231 if (s[0] == '.') {
1232 (void) strcat(savedir, &s[1]);
1235 (void) strcat(savedir, s);
1237 if ((status != -1) || strstr(s, "/devices")) {
1282 MSGSTR(112, "Error: Invalid pathname (%s)"),
1291 "phys path = \"%s\"\n"),
1300 "Error: can't acquire \"%s\": %s\n"),
1341 MSGSTR(112, "Error: Invalid pathname (%s)"),
1347 printf(MSGSTR(5519, "phys path = \"%s\"\n"), path_phys);
1357 MSGSTR(112, "Error: Invalid pathname (%s)"),
1407 MSGSTR(112, "Error: Invalid pathname (%s)"),
1419 " the path \"%s\": %s\n"),
1484 "stopping: %s...."), device_name);
1492 MSGSTR(158, "offlining: %s...."), device_name);
1497 "\nonlining: %s\n"), device_name);
1501 MSGSTR(159, "starting: %s...."),
1598 " %s: could not turn "
1615 " %s\n"),
1630 "Device %s has "
1642 " Notice: %s may already"
1652 " Notice: %s may already"
1667 "stopping: %s...."), device_name);
1674 MSGSTR(158, "offlining: %s...."),
1680 "\nonlining: %s\n"), device_name);
1684 MSGSTR(159, "starting: %s...."),
1703 " %s: could not blink"
1752 " tid=0x%x, ses_path %s\n",
1785 "Photon \"%s\" not removed."
1848 " Drive in Box Name \"%s\" slot %d"),
1854 " Drive in Box Name \"%s\" rear slot %d"),
1858 " Drive in Box Name \"%s\" front slot %d"),
1862 (void) fprintf(stdout, "%s\n", device_name);
1940 " map for %s.\n"),
2147 (void) sprintf(lname, SES_DIR"/%s", dirent->d_name);
2169 (void) fprintf(stdout, "\t%s\n",
2175 " No new enclosure(s) were added!!\n\n"));
2207 "\n Device: %s"),
2210 (void) fprintf(stdout, "%s\n", device_name);
2410 " No new device(s) were added!!\n\n"));
2419 * Performs the pre hotplug operations on SENA enclosure(s),
2420 * SENA disk(s) and individual fcal disk(s).
2477 * Performs the post removal of a list of SENA enclosure(s),
2478 * SENA disk(s) and individual fcal disk(s).
2522 * removes the device's logical paths.
2556 (void) sprintf(lname, DEV_DSK_DIR"/%s", dirent->d_name);
2561 " Error: Could not read %s\n"),
2572 (void) sprintf(lname, "/dev/rdsk/%s",
2576 "\tRemoving %s\n"),
2589 * removes the SENA's ses paths.
2621 (void) sprintf(lname, SES_DIR"/%s", dirent->d_name);
2626 " Error: Could not read %s\n"),
2634 "\tRemoving %s\n"),
2647 * prints the device's logical
2670 if ((ptr = strrchr(buf, 's')) == NULL)
2680 (void) sprintf(dev, "%s%d", buf, i);
2681 (void) fprintf(stdout, "\t%s\n", dev);
2702 (void) sprintf(dev, "%s%s", buf_ptr, ptr);
2703 (void) fprintf(stdout, "\t%s\n", dev);
2739 (void) sprintf(lname, DEV_DSK_DIR"/%s", dirent->d_name);
2752 "\t%s\n",
2768 * the user's confirmation.
2801 " %d: Box Name: \"%s\" slot %d\n"),
2805 " %d: Box Name: \"%s\" front slot %d\n"),
2811 " %d: Box Name: \"%s\" slot %d\n"),
2816 " %d: Box Name: \"%s\" rear slot %d\n"),
2824 " %d: Device name: %s\n"),
2828 " %d: Box name: %s\n"),
2846 " Location: \tSlot %d %s \n",
2856 (void) fprintf(stdout, " %s\n",
2863 " SENA (%s)\n"),
2866 (void) fprintf(stdout, "%s\n",
2876 " %s\n"), dl_ses->dev_path);
2885 " %s\n"),
2941 (void) sprintf(lname, "%s/%s", device_dir, dirent->d_name);
2978 (void) fprintf(stdout, "\t%s\n", dirent->d_name);
2995 (void) printf("\t%s: ", devname);
3028 (void) printf("\t%s: ", devname);