How to debug a daemon during its initialization :: gdb

2006-08-08 Thread Shriek
I need to use gdb to check some initialization functions which are called during the time when the daemon is stopped and restarted ... I usually do gdb unstripped object file pid of the daemon but this will not help when I am stopping the daemon and then restarting ... how do I use gdb to this

Re: NFS Problems

2006-08-08 Thread Eric Anderson
On 08/07/06 20:10, Joseph Maxwell wrote: Hope I have the right site here Hello, Indigo2 machine in network w/ FreeBSD, both configured for nfs server/client functions, and nfsd daemon running on both. IRIX idaho 6.5 04101930 IP22 FreeBSD presto 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov

Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
What do people think about adding an equivalent to gtars --remove-files? Its an option I find myself longing for on a regular basis and hence end up installing gtar and using that which kind of defeats the point of having bsd tar. So what do people think about adding this option? Steve

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Eric Anderson
On 08/08/06 12:09, Steven Hartland wrote: What do people think about adding an equivalent to gtars --remove-files? Its an option I find myself longing for on a regular basis and hence end up installing gtar and using that which kind of defeats the point of having bsd tar. So what do people

Re: jkh weird problem (reading pci device memory)

2006-08-08 Thread John Baldwin
On Monday 07 August 2006 18:05, John-Mark Gurney wrote: John Baldwin wrote this message on Mon, Aug 07, 2006 at 15:27 -0400: sc-cfg_table.signature = letoh32(bus_read_4(sc-bar.res, 0)); sc-cfg_table.version = letoh16(bus_read_2(sc-bar.res, 4)); sc-cfg_table.dummy =

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
- Original Message - From: Eric Anderson [EMAIL PROTECTED] Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done but its a PITA and majorly slow so a none option

provide ttys from device driver

2006-08-08 Thread Niki Denev
Hi, The cardbus hsdpa/umts adapter which driver i'm trying to port from linux to\ freebsd should look as four port serial device. The part of the driver that speaks with the hardware is more or less ready and working, i have setup a interrupt handler and can talk to the card and catch and

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Eric Anderson
On 08/08/06 13:49, Steven Hartland wrote: - Original Message - From: Eric Anderson [EMAIL PROTECTED] Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done but

Re: provide ttys from device driver

2006-08-08 Thread Roman Kurakin
Niki Denev: Hi, The cardbus hsdpa/umts adapter which driver i'm trying to port from linux to\ freebsd should look as four port serial device. The part of the driver that speaks with the hardware is more or less ready and working, i have setup a interrupt handler and can talk to the card and

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Roman Kurakin
Steven Hartland: - Original Message - From: Eric Anderson [EMAIL PROTECTED] Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done but its a PITA and majorly

Re: jkh weird problem (reading pci device memory)

2006-08-08 Thread John-Mark Gurney
John Baldwin wrote this message on Tue, Aug 08, 2006 at 13:42 -0400: On Monday 07 August 2006 18:05, John-Mark Gurney wrote: John Baldwin wrote this message on Mon, Aug 07, 2006 at 15:27 -0400: sc-cfg_table.signature = letoh32(bus_read_4(sc-bar.res, 0)); sc-cfg_table.version =

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
- Original Message - From: Roman Kurakin [EMAIL PROTECTED] In case one concerned by the space problem there is now other way to do it failsafe. In case it is gziped it need to be extracted first in any case. Sorry dont follow you there? Are you talking about issues of deleting the

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Tim Kientzle
Steven Hartland wrote: What do people think about adding an equivalent to gtars --remove-files? Shouldn't be too tricky. If you think you know how to implement it, send me the diffs. Doing this safely is nearly impossible, of course. In the compressed case, the compression pipeline buffers

Re: [PATCH] Jail Memory Limits

2006-08-08 Thread Chris Jones
On 6-Aug-06, at 9:08 AM, Alex Lyashkov wrote: I read you patch and see you start N kernel threads for control memory/CPU usage, when each thread in loop count total memory usage. What are reason why not create memory limit similar limit(1)? for this need add pointer to prison structure at each