Re: Using regex(3)

2005-06-22 Thread Titus von Boxberg
Olivier Nicole schrieb: Hi, I must missunderstand how to use regex(3). no, you're misunderstanding regoff_t or printf. it's a 64 bit type. thus your printf should read: ret=regexec(preg, string, nmatch, pmatch, 0); printf(return from regexec=%d\nnmatch=%d\np0.so=%lld p0.eo=%lld\np1.so=%lld

Re: Booting with multiple RAID1 configs

2005-06-17 Thread Titus von Boxberg
Here is what I did, and the subsequent effect: (Remember, ad4 and ad6 (promise drives) make up the bootable ar0): # after 2 brand new drives installed: - atacontrol create RAID1 ad0 ad2 ...at which point it said it was successful, and designated the new RAID config as ad1. After reboot, the

AW: Logging via Serial Port

2005-06-16 Thread Titus von Boxberg
I have a phone system that I need to log information from to a FreeBSD box via a serial cable. What would be the best way to listen to the serial port and write those messages to a log file? Why not simply use cat /dev/cuaax logfile You might use stty to set communication parameters after

inconstistent snapshot contents

2005-06-16 Thread Titus von Boxberg
? Thanks in advance Titus von Boxberg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: disabling ata devices

2005-06-15 Thread Titus von Boxberg
JM schrieb: i'm not exactly sure how to accomplish this... i'm having problems with my cd-rom, which isn't surprising since it's a slim-line without UDMA and probably isn't supported... but... it's eating up time when i'm just remove the device node altogether. every time i remove /dev/acd0