/illumos-gate/usr/src/cmd/fs.d/proc/ |
H A D | mount.c | 59 static char typename[NAME_MAX], *myname; variable 76 myname = strrchr(argv[0], '/'); in main() 77 if (myname) in main() 78 myname++; in main() 80 myname = argv[0]; in main() 81 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 107 myname, optarg); in main() 145 myname); in rpterr() 149 myname, bs); in rpterr() 154 myname, mp, bs); in rpterr() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/fd/ |
H A D | mount.c | 53 static char typename[NAME_MAX], *myname; variable 73 myname = strrchr(argv[0], '/'); in main() 74 if (myname) in main() 75 myname++; in main() 77 myname = argv[0]; in main() 78 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 107 myname, optarg); in main() 147 gettext("%s: insufficient privileges\n"), myname); in rpterr() 151 gettext("%s: %s no such device\n"), myname, bs); in rpterr() 157 myname, mp, bs); in rpterr() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/mntfs/ |
H A D | mount.c | 59 static char typename[NAME_MAX], *myname; variable 76 myname = strrchr(argv[0], '/'); in main() 77 if (myname) in main() 78 myname++; in main() 80 myname = argv[0]; in main() 81 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 104 myname, optarg); in main() 144 myname); in rpterr() 148 myname, bs); in rpterr() 153 myname, mp, bs); in rpterr() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/udfs/mount/ |
H A D | mount.c | 52 static char typename[NAME_MAX], *myname; variable 72 myname = strrchr(argv[0], '/'); in main() 73 if (myname) { in main() 74 myname++; in main() 76 myname = argv[0]; in main() 78 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 93 myname, optarg); in main() 149 gettext("%s: insufficient privileges\n"), myname); in rpterr() 153 gettext("%s: %s no such device\n"), myname, bs); in rpterr() 159 myname, mp, bs); in rpterr() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/ |
H A D | mount.c | 62 static char typename[NAME_MAX], *myname; variable 98 myname = strrchr(argv[0], '/'); in main() 99 if (myname) in main() 100 myname++; in main() 102 myname = argv[0]; in main() 103 snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 117 myname); in main() 123 myname); in main() 174 myname); in main() 199 gettext("%s: option set too long\n"), myname); in main() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fsck.c | 52 fprintf(stderr, gettext("%s: too many arguments\n"), myname); \ 81 char *myname, *fstype; variable 125 perror(myname); in vfdup() 135 perror(myname); in vfdup() 145 perror(myname); in vfdup() 155 perror(myname); in vfdup() 165 perror(myname); in vfdup() 175 perror(myname); in vfdup() 185 perror(myname); in vfdup() 234 myname = strrchr(argv[0], '/'); in main() [all …]
|
H A D | umount.c | 71 static char *myname; variable 162 myname = strrchr(argv[0], '/'); in main() 163 if (myname) in main() 164 myname++; in main() 166 myname = argv[0]; in main() 252 myname, mnttab); in main() 311 myname, mname); in main() 352 myname, ment->mnt_fstype, FSTYPE_MAX); in doexec() 358 myname); in doexec() 360 myname); in doexec() [all …]
|
H A D | mount.c | 116 static char *myname; /* point to argv[0] */ variable 242 myname = strrchr(argv[0], '/'); in main() 243 if (myname) in main() 244 myname++; in main() 246 myname = argv[0]; in main() 247 if (myname == 0) myname = "path unknown"; in main() 322 myname); in main() 332 ("%s: -a and -O are mutually exclusive\n"), myname); in main() 339 ("%s: More than one FSType specified\n"), myname); in main() 367 gettext("%s: Cannot use -p and -v with arguments\n"), myname); in main() [all …]
|
/illumos-gate/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 92 static char *myname; variable 175 myname = argv[0]; in main() 186 "%s: invalid boot loader\n"), myname); in main() 235 "%s: invalid interleave\n"), myname); in main() 366 myname, real_name); in main() 372 myname, real_name); in main() 384 myname, real_name); in main() 389 myname, real_name); in main() 399 gettext("%s: DKIOCINFO failed, "), myname); in main() 436 gettext("%s: could not eject diskette, "), myname); in main() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ctfs/ |
H A D | mount.c | 65 char *myname; in main() local 81 myname = strrchr(argv[0], '/'); in main() 82 myname = myname ? myname + 1 : argv[0]; in main() 84 len = strlen(fstype) + 1 + strlen(myname); in main() 88 myname); in main() 92 (void) snprintf(typename, len, "%s %s", fstype, myname); in main() 106 myname, optarg); in main() 139 myname); in main()
|
/illumos-gate/usr/src/cmd/fs.d/objfs/ |
H A D | mount.c | 65 char *myname; in main() local 81 myname = strrchr(argv[0], '/'); in main() 82 myname = myname ? myname + 1 : argv[0]; in main() 84 len = strlen(fstype) + 1 + strlen(myname); in main() 88 myname); in main() 92 (void) snprintf(typename, len, "%s %s", fstype, myname); in main() 106 myname, optarg); in main() 139 myname); in main()
|
/illumos-gate/usr/src/cmd/fs.d/sharefs/ |
H A D | mount.c | 65 char *myname; in main() local 81 myname = strrchr(argv[0], '/'); in main() 82 myname = myname ? myname + 1 : argv[0]; in main() 84 len = strlen(fstype) + 1 + strlen(myname); in main() 88 myname); in main() 92 (void) snprintf(typename, len, "%s %s", fstype, myname); in main() 106 myname, optarg); in main() 139 myname); in main()
|
/illumos-gate/usr/src/cmd/fs.d/bootfs/ |
H A D | mount.c | 68 char *myname; in main() local 74 myname = strrchr(argv[0], '/'); in main() 75 myname = myname ? myname+1 : argv[0]; in main() 77 myname); in main() 91 myname, optarg); in main() 123 myname); in main()
|
/illumos-gate/usr/src/cmd/fs.d/lofs/mount/ |
H A D | mount.c | 72 char *myname; in main() local 78 myname = strrchr(argv[0], '/'); in main() 79 myname = myname ? myname+1 : argv[0]; in main() 80 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 94 myname, optarg); in main() 126 myname); in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/ |
H A D | sppptun.c | 48 static char *myname; /* Copied from argv[0] */ variable 79 "\t%s query\n"), myname, myname, myname); in usage() 98 myname, linkname, dlpi_strerror(retv)); in sppp_dlpi() 109 myname, linkname, dlpi_strerror(retv)); in sppp_dlpi() 118 " address on %s: %s\n"), myname, linkname, in sppp_dlpi() 128 myname, linkname); in sppp_dlpi() 167 "%d > %d\n"), myname, iocname, str.ic_len, olen); in strioctl() 170 "bytes, got %d\n"), myname, iocname, olen, in strioctl() 223 myname, cp); in plumb_it() 259 myname, adata.appstr, prot->name); in plumb_it() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mount/ |
H A D | mount.c | 78 char *myname; in main() local 93 myname = strrchr(argv[0], '/'); in main() 94 myname = myname ? myname + 1 : argv[0]; in main() 96 MNTTYPE_PCFS, myname); in main() 118 gettext("%s: out of memory\n"), myname); in main() 220 myname); in main() 254 gettext("%s: Invalid mount options: %s\n"), myname, savedoptarg); in main()
|
/illumos-gate/usr/src/cmd/touch/ |
H A D | touch.c | 51 static char *myname; variable 90 myname = basename(argv[0]); in main() 91 if (strcmp(myname, "settime") == 0) { in main() 100 (void) fprintf(stderr, "%s: ", myname); in main() 128 (void) fprintf(stderr, "%s: ", myname); in main() 199 myname, argv[c], strerror(errno)); in main() 207 myname, argv[c], strerror(errno)); in main() 245 myname, argv[c], strerror(errno)); in main() 505 (void) fprintf(stderr, "%s: %s\n", myname, gettext(message)); in touchabort() 514 "usage: %s [-f file] [mmddhhmm[yy]] file...\n"), myname); in usage() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/ |
H A D | routeadm.c | 375 static const char *myname; variable 463 " routing-svcs\n"), myname); in usage() 481 myname = argv[0]; in main() 599 "%1$s: invalid option: %2$s\n"), myname, in main() 626 "property change\n"), myname); in main() 649 "pair %s\n"), myname, key); in main() 665 " pair %s\n"), myname, nk); in main() 695 myname, optarg, strerror(errno)); in main() 718 myname, optarg); in main() 745 myname, argv[optind - 1]); in main() [all …]
|
/illumos-gate/usr/src/cmd/growfs/ |
H A D | growfs.sh | 31 myname=`basename $0` 32 USAGE="usage: $myname [ -M mount-point ] [ newfs-options ] raw-special-device" 93 echo "$myname: cannot get partition size" 114 echo "$myname: cannot probe the possible file system size" 118 echo "$myname: the file system is full and cannot be grown, please delete some files" 128 echo "$myname: cannot grow file system to $newsize sectors"
|
/illumos-gate/usr/src/cmd/fs.d/tmpfs/ |
H A D | mount.c | 76 char *myname; in main() local 97 myname = strrchr(argv[0], '/'); in main() 98 myname = myname ? myname + 1 : argv[0]; in main() 100 MNTTYPE_TMPFS, myname); in main() 190 myname, mountp, special); in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoec.c | 68 char *myname; /* copy of argv[0] for error messages */ variable 357 "unexpected status %d\n", myname, retv); in pppoec_getmsg() 360 "truncated %s%smessage\n", myname, in pppoec_getmsg() 393 logerr("%s: PPPTUN_SCTL %s: %s\n", myname, in set_control() 415 "the use of a tunneling device\n", myname); in check_stdin() 428 myname, pti.pti_style); in check_stdin() 433 "already connected\n", myname); in check_stdin() 604 myname, msgname, ehost(destaddr), data.len); in send_pppoe() 684 " control message from driver.\n", myname, in find_all_servers() 779 "name only, not MAC address\n", myname, len, in parse_filter() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 105 static char typename[NAME_MAX], *myname; variable 177 myname = strrchr(argv[0], '/'); in main() 178 if (myname) in main() 179 myname++; in main() 181 myname = argv[0]; in main() 182 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 840 myname); in rpterr() 844 myname, bs); in rpterr() 850 myname, mp, bs); in rpterr() 855 myname, bs, mp); in rpterr() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/util/ |
H A D | mailcompat.c | 40 char *myname; /* person who is to have their mail filtered */ variable 87 myname = p; 89 pw = getpwnam(myname); 92 usrerr("user: %s look up failed, name services outage ?", myname); 133 myname); 274 myname = cuserid(user_name); in AutoInstall() 312 fprintf(f, "\"|/usr/bin/mailcompat %s\"\n", myname); in AutoInstall()
|
/illumos-gate/usr/src/cmd/fs.d/dev/ |
H A D | mount.c | 49 static char typename[64], *myname; variable 79 " special mount_point\n"), fstype, myname, fstype, myname, fstype); in usage() 275 if (myname = strrchr(argv[0], '/')) in main() 276 myname++; in main() 278 myname = argv[0]; in main() 279 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main()
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | tester | 126 $myname = $0; 127 $myname =~ s/.*\///; # just show last component in error mesages 143 mkdir $dir, 0777 or die "$myname: mkdir $dir: $!\n"; 147 chdir $dir or die "$myname: $dir: $!\n"; 167 die "$myname: ERROR: $@" if $@; 168 print "$myname: $testname setup complete, to run, cd to:\n"; 185 print STDERR "$myname: ERROR: $@"; 191 print STDERR "$myname: ERROR: $@"; 193 print STDERR " or use: $myname -s $testname $bindir\n"; 200 print STDERR "$myname: ERROR: $@"; [all …]
|