Home
last modified time | relevance | path

Searched refs:logfile (Results 1 – 25 of 49) sorted by relevance

12

/dragonfly/share/examples/rconfig/
H A Dhammer_lvm_stripe.sh16 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 Dhammer_ccd_mirror.sh13 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 Dpw_log.c33 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 Dpw_conf.c292 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 Dpw.h82 char *logfile; /* Where to log changes */ member
/dragonfly/contrib/cvs-1.12/contrib/
H A Dsccs2rcs.in99 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 Dmfpipe.in95 $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 Dlog.in100 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 Dexecute.c189 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 Dsvc.h83 char *logfile; member
/dragonfly/etc/rc.d/
H A Dvkernel20 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 Dch.c138 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 Dedit.c44 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 Doptfunc.c73 extern int logfile;
123 if (logfile >= 0) in opt_o()
138 if (logfile < 0) in opt_o()
/dragonfly/test/stress/fsx/
H A Dfsx.c975 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 Dscores.c611 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 Dconfig.c21 char logfile[] = _PATH_LOG; variable
/dragonfly/contrib/gdb-7/gdb/
H A Dinterps.h49 struct ui_file *logfile);
94 struct ui_file *logfile);
H A Dinterps.c255 struct ui_file *logfile) in current_interp_set_logging() argument
263 logfile); in current_interp_set_logging()
/dragonfly/crypto/openssh/
H A Dlog.c307 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 Dsnake.c100 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 Dprogress.js129 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 Dmutex_d.c166 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 Dhammer-backup.sh110 local logfile=$1
117 }' ${logfile}
/dragonfly/contrib/gdb-7/gdb/mi/
H A Dmi-interp.c949 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()

12