/dragonfly/share/examples/rconfig/ |
H A D | hammer_lvm_stripe.sh | 16 logfile="/tmp/hammer_lvm_stripe.log" 97 kldload $1 >> ${logfile} 2>&1 264 pvscan >> ${logfile} 2>&1 276 vgscan >> ${logfile} 2>&1 285 lvscan >> ${logfile} 2>&1 308 rm "${logfile}" >> ${logfile} 2>&1 309 echo "* Output to ${logfile}" 319 /sbin/udevd >> ${logfile} 2>&1 339 pvscan >> ${logfile} 2>&1 377 mkdir /mnt/usr >> ${logfile} 2>&1 [all …]
|
H A D | hammer_ccd_mirror.sh | 13 logfile="/tmp/hammer_ccd_mirror.log" 37 mktemp "/tmp/XXX" >> ${logfile} 2>&1 100 kldload $1 >> ${logfile} 2>&1 242 rm "${logfile}" >> ${logfile} 2>&1 243 echo "* Output to ${logfile}" 247 ckloadmod ccd >> ${logfile} 2>&1 309 mkdir /mnt/usr >> ${logfile} 2>&1 310 mkdir /mnt/var >> ${logfile} 2>&1 321 mkdir /mnt/tmp >> ${logfile} 2>&1 322 mkdir /mnt/home >> ${logfile} 2>&1 [all …]
|
/dragonfly/usr.sbin/pw/ |
H A D | pw_log.c | 33 static FILE *logfile = NULL; variable 38 if (cnf->logfile && *cnf->logfile) { in pw_log() 39 if (logfile == NULL) { /* With umask==0 we need to control file access modes on create */ in pw_log() 40 int fd = open(cnf->logfile, O_WRONLY | O_CREAT | O_APPEND, 0600); in pw_log() 43 logfile = fdopen(fd, "a"); in pw_log() 45 if (logfile != NULL) { in pw_log() 58 vfprintf(logfile, nfmt, argp); in pw_log() 60 fflush(logfile); in pw_log()
|
H A D | pw_conf.c | 292 config.logfile = (q == NULL || !boolean_val(q, 1)) in read_userconfig() 419 val = config.logfile ? config.logfile : boolean_str(0); in write_userconfig()
|
H A D | pw.h | 82 char *logfile; /* Where to log changes */ member
|
/dragonfly/contrib/cvs-1.12/contrib/ |
H A D | sccs2rcs.in | 99 set logfile = /tmp/sccs2rcs_$$_log 100 rm -f $logfile 226 sccs edit -r$rev $file >>& $logfile 251 ci -f -r$rev -d"$date" -w$author -t$emptyfile $file < $initialfile >>& $logfile 258 ci -f -r$rev -d"$date" -w$author -t$tmpfile $file < $initialfile >>& $logfile 267 rcs -l$lckrev $file >>& $logfile 270 rcs -l $file >>& $logfile 277 ed $tmpfile >>& $logfile <<EOF 283 ci -f -r$rev -d"$date" -w$author $file < $tmpfile >>& $logfile 287 sccs unedit $file >>& $logfile [all …]
|
H A D | mfpipe.in | 95 $logfile = "$cvsroot/LOG/$file"; 96 open(FILE, ">> $logfile") || die "Opening $logfile: $!\n"; 99 print FILE "$whoami $date--------BEGIN LOG ENTRY-------------\n" if ($logfile); 102 print FILE $log if ($log && $logfile); 104 print FILE $_ if ($logfile);
|
H A D | log.in | 100 my $logfile; 113 ($logfile) && die "Too many '-f' args"; 114 $logfile = shift @ARGV; 149 my $logfh = new IO::File ">>" . $logfile 150 or die "Could not open(" . $logfile . "): $!\n"; 228 or die "Write to $logfile failed: $!";
|
/dragonfly/sbin/svc/ |
H A D | execute.c | 189 if (cmd->logfile && strcmp(cmd->logfile, "/dev/null") == 0) in execute_init() 191 else if (cmd->logfile) in execute_init() 702 char *logfile; in execute_logfile() local 708 logfile = cmd->logfile; in execute_logfile() 711 if (logfile == NULL) in execute_logfile() 712 logfile = InitCmd->logfile; in execute_logfile() 715 if (logfile) { in execute_logfile() 716 if (InitCmd->logfile && in execute_logfile() 717 strcmp(InitCmd->logfile, logfile) == 0) { in execute_logfile() 729 sreplace(&InitCmd->logfile, logfile); in execute_logfile() [all …]
|
H A D | svc.h | 83 char *logfile; member
|
/dragonfly/etc/rc.d/ |
H A D | vkernel | 20 unset pidfile bin memsize rootimgs ifaces logfile flags 120 [ -z "${logfile}" ] && logfile="/dev/null" 127 ">>${logfile} 2>&1 </dev/null"
|
/dragonfly/contrib/less/ |
H A D | ch.c | 138 extern int logfile; 298 if (!secure && logfile >= 0 && n > 0) in ch_get() 299 write(logfile, (char *) &bp->data[bp->datasize], n); in ch_get() 380 if (logfile < 0) in end_logfile() 390 close(logfile); in end_logfile() 391 logfile = -1; in end_logfile() 409 if (logfile < 0) in sync_logfile() 420 write(logfile, (char *) bp->data, bp->datasize); in sync_logfile()
|
H A D | edit.c | 44 extern int logfile; 978 logfile = creat(filename, CREAT_RW); in use_logfile() 984 logfile = open(filename, OPEN_APPEND); in use_logfile() 985 if (lseek(logfile, (off_t)0, SEEK_END) == BAD_LSEEK) in use_logfile() 987 close(logfile); in use_logfile() 988 logfile = -1; in use_logfile() 1005 if (logfile < 0) in use_logfile() 1014 SET_BINARY(logfile); in use_logfile()
|
H A D | optfunc.c | 73 extern int logfile; 123 if (logfile >= 0) in opt_o() 138 if (logfile < 0) in opt_o()
|
/dragonfly/test/stress/fsx/ |
H A D | fsx.c | 975 char logfile[1024]; in main() local 978 logfile[0] = 0; in main() 1081 strncpy(logfile, optarg, sizeof(logfile)); in main() 1082 strcat(logfile, "/"); in main() 1138 strncat(logfile, fname, 256); in main() 1139 strcat (logfile, ".fsxlog"); in main() 1140 fsxlogf = fopen(logfile, "w"); in main() 1142 prterr(logfile); in main()
|
/dragonfly/games/larn/ |
H A D | scores.c | 611 if (lappend(logfile) < 0) { /* append to file */ in died() 612 if (lcreat(logfile) < 0) { /* and can't create new log file */ in died() 620 chmod(logfile, 0660); in died() 706 if (lopen(logfile) < 0) { in diedlog() 707 lprintf("Can't locate log file <%s>\n", logfile); in diedlog() 711 lprintf("Can't stat log file <%s>\n", logfile); in diedlog()
|
H A D | config.c | 21 char logfile[] = _PATH_LOG; variable
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | interps.h | 49 struct ui_file *logfile); 94 struct ui_file *logfile);
|
H A D | interps.c | 255 struct ui_file *logfile) in current_interp_set_logging() argument 263 logfile); in current_interp_set_logging()
|
/dragonfly/crypto/openssh/ |
H A D | log.c | 307 log_redirect_stderr_to(const char *logfile) in log_redirect_stderr_to() argument 311 if (logfile == NULL) { in log_redirect_stderr_to() 319 if ((fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0600)) == -1) { in log_redirect_stderr_to() 320 fprintf(stderr, "Couldn't open logfile %s: %s\n", logfile, in log_redirect_stderr_to()
|
/dragonfly/games/snake/snake/ |
H A D | snake.c | 100 FILE *logfile; variable 141 logfile = fopen(_PATH_LOGFILE, "a"); in main() 142 if (logfile == NULL) { in main() 945 if (logfile != NULL) { in logit() 947 fprintf(logfile, "%s $%d %dx%d %s %s", in logit() 949 fflush(logfile); in logit()
|
/dragonfly/usr.bin/dsynth/ |
H A D | progress.js | 129 function logfile (origin) { function 148 return '<a href="' + logfile (origin) + '">logfile</a>'; 151 return 'Failed ' + parts[0] + ' phase (<a href="' + logfile (origin) +
|
/dragonfly/test/libpthread/ |
H A D | mutex_d.c | 166 static FILE *logfile; variable 203 fprintf (logfile, "FAIL: "); in log_error() 204 vfprintf (logfile, fmt, ap); in log_error() 213 fprintf (logfile, "PASS\n"); in log_pass() 226 vfprintf (logfile, fmt, ap); in log_trace() 237 vfprintf (logfile, fmt, ap); in log_info() 1444 logfile = stdout; in main()
|
/dragonfly/tools/tools/hammer-backup/ |
H A D | hammer-backup.sh | 110 local logfile=$1 117 }' ${logfile}
|
/dragonfly/contrib/gdb-7/gdb/mi/ |
H A D | mi-interp.c | 949 struct ui_file *out, struct ui_file *logfile) in mi_set_logging() argument 963 if (logfile) in mi_set_logging() 966 out = tee_file_new (raw_stdout, 0, logfile, 0); in mi_set_logging()
|