Re: Device cloning

2002-06-11 Thread Terry Lambert
Harti Brandt wrote: > You just don't know what you are talking about. This is exactly the > difference between the current Linux sound (1 device) and FreeBSD (1 > device/channel). In FreeBSD I can use N channels with different audio > formats and speeds, in Linux I'm stuck to using all the channel

Re: Device cloning

2002-06-11 Thread Harti Brandt
On Tue, 11 Jun 2002, Terry Lambert wrote: TL>Harti Brandt wrote: TL>> TL>For a sound device, it would be nice if multiple instances to the TL>> TL>devices were mux'ed. I've had cases where the program I was using TL>> TL>was using a smaller number that the total available channels, and TL>> TL>i

Perl Location pseudo-hardcoded for ports

2002-06-11 Thread Andrew Kenneth Milton
The perl location for OSVERSION >= 500036 is 'hardcoded' to be ${LOCALBASE}/bin/perl in bsd.port.mk. Effectively /usr/local/bin/perl Shouldn't it use the perl wrapper in /usr/bin/perl ? I thought I'd check here first before harassing the -ports people. -- Totally Holistic Enterprises Internet

Cannot boot with ACPI enabled..

2002-06-11 Thread Alex Zepeda
Attached are the dmesg from a kernel that worked (I was away from my 'puter for a few months so I wasn't able to try -current between mid Feb and now) and my kernel config. However, now it'll hang after detecting: acpi_tz0: on acpi0 unless I disable the acpi thermal stuff with the debug.acpi.d

C++ problems

2002-06-11 Thread Wesley Morgan
I cleaned up my /usr/lib and /usr/include file of stale headers/libs left after the libstdc++ upgrade (maybe this should be in src/UPDATING??), and now any port that uses C++ & autoconf fails to configure... checking if STL implementation is SGI like... no checking if STL implementation is HP lik

Re: Crash after world/kernel upgrade

2002-06-11 Thread Jeffrey Hsu
> typo in unlocking (causing recursive lock instead) Fixed. Thanks. > lack of inet6 support for inpcb locking, e.g. no > handling of locks in in6_pcbdetach. > attempts to destroy held lock in in_pcbdetach Gurg, IPv6 isn't locked up yet! These must be the result of inadvertent interac

Re: pax fix (was Re: WARNING! New GNU Tar in 5-CURRENT could erroneously create world writeable dirs)

2002-06-11 Thread Bjoern Fischer
On Wed, Jun 12, 2002 at 04:27:19AM +0200, Cyrille Lefevre wrote: [...] > already done using the NetBSD way. the problem is that they use > LC_TIME (hugh!) to pass the format string to strftime while > LC_TIME isn't suppose to contain any format strings but a locale > name. Ew! That won't work for

Re: pax fix (was Re: WARNING! New GNU Tar in 5-CURRENT could erroneously create world writeable dirs)

2002-06-11 Thread Cyrille Lefevre
On Wed, Jun 12, 2002 at 03:07:45AM +0200, Bjoern Fischer wrote: > > PS : I've finished to merge diffs from OpenBSD last week, but diffs > > w/ NetBSD are really big... so, be patient :P > > What about bin/35886? already done using the NetBSD way. the problem is that they use LC_TIME (hugh!) to p

Re: pax fix (was Re: WARNING! New GNU Tar in 5-CURRENT could erroneously create world writeable dirs)

2002-06-11 Thread Bjoern Fischer
> PS : I've finished to merge diffs from OpenBSD last week, but diffs > w/ NetBSD are really big... so, be patient :P What about bin/35886? Björn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: The great perl rewrite - progress report

2002-06-11 Thread David Syphers
On Tuesday 11 June 2002 06:10 pm, Doug Barton wrote: > On Tue, 11 Jun 2002, Andrew Boothman wrote: > > > Will Andrews wrote: > > > On Thu, Jun 06, 2002 at 05:31:12PM +0100, Mark Murray wrote: > > > > > >>/usr/sbin/sysinstall * - fix - * > > > > > > > > > What part of this uses perl?? > > > >

pax fix (was Re: WARNING! New GNU Tar in 5-CURRENT could erroneouslycreate world writeable dirs)

2002-06-11 Thread Cyrille Lefevre
On Jun 7, 2002 01:27:31 pm +0200, Cyrille Lefevre wrote: > On Fri, Jun 07, 2002 at 02:15:09AM -0400, Trevor Johnson wrote: > > Dan Nelson wrote: > [snip] > > According to Mr. Schilling's testing, GNU tar 1.13.25 has a bug: > > ftp://ftp.fokus.gmd.de/pub/unix/star/testscripts/README.gtarfail . I gu

Re: The great perl rewrite - progress report

2002-06-11 Thread Doug Barton
On Tue, 11 Jun 2002, Andrew Boothman wrote: > Will Andrews wrote: > > On Thu, Jun 06, 2002 at 05:31:12PM +0100, Mark Murray wrote: > > > >>/usr/sbin/sysinstall* - fix - * > > > > > > What part of this uses perl?? > > Perhaps it was just a general comment ;-) Please don't send guesses to

Re: Looking for comments on a new utility...

2002-06-11 Thread Cyrille Lefevre
On Tue, Jun 11, 2002 at 05:15:17AM -0700, Juli Mallett wrote: > Hej, > > As some of you may have noticed, I've done some poking of ps(1) lately, and > this has brought attention of people who have ideas for things that they > would like to see done to ps(1) :) The most notable request was for a

Çѹ¹Õé¤Ø³´ÙáÅÊØ¢ÀÒ¾áÅéÇËÃ×ÍÂѧ

2002-06-11 Thread foodforhealth
á¹Ð¹Óâ»Ãá¡ÃÁ¤Çº¤ØÁ¹éÓ˹ѡ à¾ÔèÁ¹éÓ˹ѡ ÃÑ¡ÉÒÊØ¢ÀÒ¾ ¤Ø³ËÃ×ͤ¹·Õè¤Ø³ÃÑ¡¡ÓÅѧÁͧËÒÇÔ¸Õ´ÙáÅÊØ¢ÀÒ¾·Õèà»ç¹¸ÃÃÁªÒµÔÍÂÙèãªèäËÁ? ËÒ¡¤Ø³àº×èÍ˹èÒ¡Ѻ¤ÇÒÁ¾ÂÒÂÒÁ·ÕèäÁè»ÃÐʺ¤ÇÒÁÊÓàÃ稤ÃÑé§áÅéǤÃÑé§àÅèÒ ã¹¡ÒôÙáÅÊØ¢ÀÒ¾à¾×èÍÃÙ»ÃèÒ§·Õè´Õ àÃÒÁÕâ»Ãá¡ÃÁâÀª¹Ò¡ÒÃà¾×èÍÊØ¢ÀÒ¾ ·ÕèªèǤسä´é ÊÓËÃѺ¼Ùé·ÕèÁջѭËÒ ¹éÓ˹ѡà

Re: Fixing "could sleeep..." was (Re: ../../../vm/uma_core.c:132

2002-06-11 Thread Mike Makonnen
On Tue, 11 Jun 2002 13:07:03 -0400 (EDT) John Baldwin <[EMAIL PROTECTED]> wrote: > > Yes... if you don't go through the setuid/gid family of functions. Currently, > > the only place uifind() is called, besides change_[re]uid() is in proc0_init. My > > assumption was that you need to change the u

Re: looking for warn quota tools

2002-06-11 Thread Terry Lambert
"Paul S. Puth" wrote: > I am looking for a tool that will email to the user if his/her account > (more specifically email box) is approaching quota limit. I've searched > everywhere for such a tool but to no avail. > > On Linux, there is a tool called "warnquota" that fits my need but I am > runn

Re: looking for warn quota tools

2002-06-11 Thread Paul S. Puth
Thank for the quick response, Robert. I fail to mention that this machine is strictly a mail server with over 10K+ accounts. Users cannot log into their shell account and they check email via POP/IMAP only. At 05:31 PM 6/11/2002 -0400, Robert Watson wrote: >I always just used the following scr

Çѹ¹Õé¤Ø³´ÙáÅÊØ¢ÀÒ¾áÅéÇËÃ×ÍÂѧ

2002-06-11 Thread foodforhealth
á¹Ð¹Óâ»Ãá¡ÃÁ¤Çº¤ØÁ¹éÓ˹ѡ à¾ÔèÁ¹éÓ˹ѡ ÃÑ¡ÉÒÊØ¢ÀÒ¾ ¤Ø³ËÃ×ͤ¹·Õè¤Ø³ÃÑ¡¡ÓÅѧÁͧËÒÇÔ¸Õ´ÙáÅÊØ¢ÀÒ¾·Õèà»ç¹¸ÃÃÁªÒµÔÍÂÙèãªèäËÁ? ËÒ¡¤Ø³àº×èÍ˹èÒ¡Ѻ¤ÇÒÁ¾ÂÒÂÒÁ·ÕèäÁè»ÃÐʺ¤ÇÒÁÊÓàÃ稤ÃÑé§áÅéǤÃÑé§àÅèÒ ã¹¡ÒôÙáÅÊØ¢ÀÒ¾à¾×èÍÃÙ»ÃèÒ§·Õè´Õ àÃÒÁÕâ»Ãá¡ÃÁâÀª¹Ò¡ÒÃà¾×èÍÊØ¢ÀÒ¾ ·ÕèªèǤسä´é ÊÓËÃѺ¼Ùé·ÕèÁջѭËÒ ¹éÓ˹ѡà

Re: looking for warn quota tools

2002-06-11 Thread Robert Watson
I always just used the following script in the /etc/csh.login: #if ("`quota | grep '\*'`" != "") then # echo Warning: Quota Exceeded: # quota #endif Given that the output of the quota command is fairly parseable, a little bit of scripting or perl should do the trick. Robert N M Watson

looking for warn quota tools

2002-06-11 Thread Paul S. Puth
Hi, I am looking for a tool that will email to the user if his/her account (more specifically email box) is approaching quota limit. I've searched everywhere for such a tool but to no avail. On Linux, there is a tool called "warnquota" that fits my need but I am running FreeBSD 4.5 -RELEASE s

Re: Looking for comments on a new utility...

2002-06-11 Thread Julian Elischer
we need to extend this to handle a full thread table per process.. anyone have any ideas on how to do this? Anyone rewriting ps should think about this twist... On 11 Jun 2002, Dag-Erling Smorgrav wrote: > Juli Mallett <[EMAIL PROTECTED]> writes: > > I believe I can get pid, ppid, username (or

Re: Device cloning

2002-06-11 Thread Terry Lambert
Maksim Yevmenkin wrote: > Well, HCI _IS_NOT_ a network protocol like TCP or even UDP. It is a > predefined set of control messages and events that user might send > to the device. L2CAP which is runs over HCI _IS_ a network protocol > and it is implemented in AF_BLUETOOTH protocol family. So appli

Re: Device cloning

2002-06-11 Thread Terry Lambert
Maksim Yevmenkin wrote: > I'm sorry people :) I should have been more specific. Here is > what i meant. I'm working on Bluetooth stack for FreeBSD. Everything > is implemented in Netgraph. The real device driver nodes are connected > to HCI layer. You can talk to any Bluetooth device via HCI layer

Re: Looking for comments on a new utility...

2002-06-11 Thread Terry Lambert
Juli Mallett wrote: > > Piping commands through other commands seems icky? > > Relying on reasonable output from ps(1) seems icky when you can extract the > data yourself and not have to worry about formatting getting in the way of > processing data properly. This is just wrong on so many levels

Re: Looking for comments on a new utility...

2002-06-11 Thread Terry Lambert
Juli Mallett wrote: > > |-omniNames---omniNames---3*[omniNames] > > That seems frighteningly useless to me though. Seems a bit like a number of > utilities I've seen from the Linux camp which take useful functionality and > mask it behind something that looks good. What exactly can you get

Re: Device cloning

2002-06-11 Thread Terry Lambert
Harti Brandt wrote: > TL>For a sound device, it would be nice if multiple instances to the > TL>devices were mux'ed. I've had cases where the program I was using > TL>was using a smaller number that the total available channels, and > TL>it would have been nice if the next open instance got the r

Re: Crash after world/kernel upgrade

2002-06-11 Thread Munish Chopra
On Tue, Jun 11, 2002 at 12:28:48PM -0500, Steve Ames wrote: > > You got way more info than I did. With this mornings -CURRENT (around 9AM EDT): > > Jun 11 09:22:10 : Doing initial network setup: > Jun 11 09:22:10 : host.conf > Jun 11 09:22:10 : hostname > Jun 11 09:22:10 : . > Jun 11 09:22:10 :

Re: Kernel Panic and Automagic Reboots

2002-06-11 Thread Munish Chopra
On Tue, Jun 11, 2002 at 09:13:44AM -0700, Edwin Culp wrote: > > My laptop is rebooting with todays current/kernel in ifconfig. I just > got it up with an old kernel and am checking now. It will run with the > new kernel if I don't try to configure the network. I may have something > wrong thou

Re: no /dev/apmctl ?

2002-06-11 Thread Taavi Talvik
On Wed, 12 Jun 2002, Takanori Watanabe wrote: > In message <[EMAIL PROTECTED]>, Taavi Talvik wrote: Yes, acpi the case. Acpi tries to emulate apm, but seams that this emulation is incomplete. At least it does not provide support for apmd. Actually, i should have looked at acpi sources before as

Re: Crash after world/kernel upgrade

2002-06-11 Thread Edwin Culp
Quoting Steve Ames <[EMAIL PROTECTED]>: | On Tue, Jun 11, 2002 at 10:51:25PM +0530, Sid Carter wrote: | > An Tue, Jun 11, 2002 at 04:58:39PM +0200, Thomas Ugland schreib : | > > System crashed after updating today. | > > During the start of system services, in specific | > > at the start of sendm

Re: no /dev/apmctl ?

2002-06-11 Thread Takanori Watanabe
In message <[EMAIL PROTECTED]>, Taavi Talvik wrote: > >I have included apm in kernel (cvsupped yesterday) config file. However, >it does not create /dev/apmctl > >>l /dev/apm* >crw-rw-r-- 1 root operator 39, 0 Jun 11 19:31 /dev/apm This can be fake apm device node made by ACPI driver. >How

Re: libncurses cannot show the first column on the screen

2002-06-11 Thread Shizuka Kudo
--- "Andrey A. Chernov" <[EMAIL PROTECTED]> wrote: > --- > > That was a blunder which was fixed (in the 20020525 > patch): > > 20020523 > + correct and simplify logic for lib_pad.c change > in 20020518 (reported > by M

Re: Device cloning

2002-06-11 Thread Maksim Yevmenkin
> >I'm sorry people :) I should have been more specific. Here is > >what i meant. I'm working on Bluetooth stack for FreeBSD. Everything > >is implemented in Netgraph. The real device driver nodes are connected > >to HCI layer. You can talk to any Bluetooth device via HCI layer. It > >does not re

Re: Crash after world/kernel upgrade

2002-06-11 Thread Steve Ames
On Tue, Jun 11, 2002 at 10:51:25PM +0530, Sid Carter wrote: > An Tue, Jun 11, 2002 at 04:58:39PM +0200, Thomas Ugland schreib : > > System crashed after updating today. > > During the start of system services, in specific > > at the start of sendmail the system crashes with > > the new kernel. :/

Re: Crash after world/kernel upgrade

2002-06-11 Thread Sid Carter
An Tue, Jun 11, 2002 at 04:58:39PM +0200, Thomas Ugland schreib : > System crashed after updating today. > During the start of system services, in specific > at the start of sendmail the system crashes with > the new kernel. :/ > uname -a: > - > FreeBSD vampire.lothlorien.no 5.0-CURRENT Fr

Re: Device cloning

2002-06-11 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Maksim Yevmenk in writes: >I'm sorry people :) I should have been more specific. Here is >what i meant. I'm working on Bluetooth stack for FreeBSD. Everything >is implemented in Netgraph. The real device driver nodes are connected >to HCI layer. You can talk to any

Re: Device cloning

2002-06-11 Thread Maksim Yevmenkin
Hackers, [...] > TL>I don't think the original poster wanted cloning for support on > TL>physical devices for which there was a 1:1 relationship anyway > TL>(8^)), but there *are* cases where it could be useful. > TL> > TL>Actually, I think the original poster never really disclosed *what* > TL>

no /dev/apmctl ?

2002-06-11 Thread Taavi Talvik
I have included apm in kernel (cvsupped yesterday) config file. However, it does not create /dev/apmctl >l /dev/apm* crw-rw-r-- 1 root operator 39, 0 Jun 11 19:31 /dev/apm How is this possible? Driver code /usr/src/sys/i386/apm/apm.c calls creation of both device nodes around line 1106 wi

Re: new zero copy sockets snapshot, WITNESS problems

2002-06-11 Thread Kenneth D. Merry
On Tue, Jun 11, 2002 at 04:37:04 -0400, John Baldwin wrote: > On 10-Jun-2002 Kenneth D. Merry wrote: > > 3. ti_attach() calls bus_alloc_resource(), which through a ton of calls > > ends up calling vm_map_entry_create(), same problem as above. > > > > 4. ti_attach() calls bus_setup_intr(), w

Re: Crash after world/kernel upgrade

2002-06-11 Thread Tor . Egge
> System crashed after updating today. > During the start of system services, in specific > at the start of sendmail the system crashes with > the new kernel. :/ There are some problems with the inpcb locking: - attempts to destroy held lock in in_pcbdetach. - typo in unlocking (cau

Re: Kernel Panic and Automagic Reboots

2002-06-11 Thread Edwin Culp
Quoting Sid Carter <[EMAIL PROTECTED]>: | Hi, | | Today my system rebooted twice automagically. This is what the message | log shows. | | -- | Jun 11 19:00:00 calvin kernel: /usr/src/sys/vm/uma_core.c:1327: could sleep | with | "process lock" loc

Crash after world/kernel upgrade

2002-06-11 Thread Thomas Ugland
System crashed after updating today. During the start of system services, in specific at the start of sendmail the system crashes with the new kernel. :/ uname -a: - FreeBSD vampire.lothlorien.no 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Jun 11 15:41:09 CEST 2002 root@:/usr/src/sys/i38

Re: The great perl rewrite - progress report

2002-06-11 Thread Andrew Boothman
Will Andrews wrote: > On Thu, Jun 06, 2002 at 05:31:12PM +0100, Mark Murray wrote: > >>/usr/sbin/sysinstall * - fix - * > > > What part of this uses perl?? Perhaps it was just a general comment ;-) Andrew. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" i

Re: Looking for comments on a new utility...

2002-06-11 Thread Sheldon Hearn
On Tue, 11 Jun 2002 07:29:56 MST, Juli Mallett wrote: > > I don't think you should worry too much about _not_ getting > > reasonable output from POSIX-conformant utilities. :-) > > I'd read SUS's ps(1) escription a little closer. Very few guarantees > with it. My POSIX.2 (1993) suggests that

Re: Looking for comments on a new utility...

2002-06-11 Thread Juli Mallett
* Sheldon Hearn <[EMAIL PROTECTED]> escriurères > > > On Tue, 11 Jun 2002 06:46:13 MST, Juli Mallett wrote: > > > > Piping commands through other commands seems icky? > > > > Relying on reasonable output from ps(1) seems icky when you can extract the > > data yourself and not have to worry abo

Re: Looking for comments on a new utility...

2002-06-11 Thread Dag-Erling Smorgrav
Juli Mallett <[EMAIL PROTECTED]> writes: > I believe I can get pid, ppid, username (or at least uid [yay > user_from_uid]), etc., from sysctl(3) at least as easily as with > kvm(3). You can get the full process table from sysctl (kern.proc.all) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To

Re: Looking for comments on a new utility...

2002-06-11 Thread Sheldon Hearn
On Tue, 11 Jun 2002 06:46:13 MST, Juli Mallett wrote: > > Piping commands through other commands seems icky? > > Relying on reasonable output from ps(1) seems icky when you can extract the > data yourself and not have to worry about formatting getting in the way of > processing data properly.

[Fwd: (no subject)]

2002-06-11 Thread Jan Gustafson
unsubscribe freebsd-current To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Kernel Panic and Automagic Reboots

2002-06-11 Thread Sid Carter
Hi, Today my system rebooted twice automagically. This is what the message log shows. -- Jun 11 19:00:00 calvin kernel: /usr/src/sys/vm/uma_core.c:1327: could sleep with "process lock" locked from /usr/src/sys/kern/kern_prot.c:511 Jun 11 19:00:00

Re: Looking for comments on a new utility...

2002-06-11 Thread Juli Mallett
* Andrew Kenneth Milton <[EMAIL PROTECTED]> escriurères > +---[ Juli Mallett ]-- > | > | Wasn't really aware of that existing, but my understanding from another message > | in this thread is it just works with the output from ps(1)? That seems a bit > | icky to me. > > Pi

Re: Looking for comments on a new utility...

2002-06-11 Thread Thomas Quinot
Le 2002-06-11, Juli Mallett écrivait : > mask it behind something that looks good. What exactly can you get from > that kind of output? The overall organization of the tree. Useless if the information you are looking for is 'what is the PID of the father of X', but may be useful when you have s

(no subject)

2002-06-11 Thread Jan Gustafson
unsubscribe freebsd-current To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Looking for comments on a new utility...

2002-06-11 Thread Andrew Kenneth Milton
+---[ Juli Mallett ]-- | | Wasn't really aware of that existing, but my understanding from another message | in this thread is it just works with the output from ps(1)? That seems a bit | icky to me. Piping commands through other commands seems icky? -- Totally Holistic

Re: Looking for comments on a new utility...

2002-06-11 Thread Juli Mallett
* Sheldon Hearn <[EMAIL PROTECTED]> escriurères > On Tue, 11 Jun 2002 05:15:17 MST, Juli Mallett wrote: > > > > As some of you may have noticed, I've done some poking of ps(1) lately, and > > this has brought attention of people who have ideas for things that they > > would like to see done to ps

Re: Looking for comments on a new utility...

2002-06-11 Thread Juli Mallett
* Dag-Erling Smorgrav <[EMAIL PROTECTED]> escriurères > Juli Mallett <[EMAIL PROTECTED]> writes: > > ps(1)'s internals, however, didn't seem quite right to me, but after about > > 10 minutes reading kvm(3) manpages and recalling some tricks with recursive > > programming to produce an N-level tree

Re: Looking for comments on a new utility...

2002-06-11 Thread Juli Mallett
* Thomas Quinot <[EMAIL PROTECTED]> escriurères > Le 2002-06-11, Juli Mallett écrivait : > > > feature I've missed having in our ps(1) for a while, the ability to get a > > tree of processes printed so you can tell who is whose child, etc. > > Yes, this would be an invaluable feature! > > Ev

Re: Looking for comments on a new utility...

2002-06-11 Thread Dag-Erling Smorgrav
Peter Edwards <[EMAIL PROTECTED]> writes: > Isn't the kvm_*() interface somewhat frowned upon? Is there anything > missing from /proc that you need kvm_* for? /proc is also frowned upon, use sysctl. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] w

Re: Looking for comments on a new utility...

2002-06-11 Thread Sheldon Hearn
On Tue, 11 Jun 2002 05:15:17 MST, Juli Mallett wrote: > > As some of you may have noticed, I've done some poking of ps(1) lately, and > this has brought attention of people who have ideas for things that they > would like to see done to ps(1) :) The most notable request was for a > feature I'v

Re: Looking for comments on a new utility...

2002-06-11 Thread Dag-Erling Smorgrav
Juli Mallett <[EMAIL PROTECTED]> writes: > ps(1)'s internals, however, didn't seem quite right to me, but after about > 10 minutes reading kvm(3) manpages and recalling some tricks with recursive > programming to produce an N-level tree with as many as N-1 elements, I had > come up with a simple u

Re: Looking for comments on a new utility...

2002-06-11 Thread Thomas Quinot
Le 2002-06-11, Juli Mallett écrivait : > feature I've missed having in our ps(1) for a while, the ability to get a > tree of processes printed so you can tell who is whose child, etc. Yes, this would be an invaluable feature! Even nicer would be a user interface (command line, output style) c

Re: Looking for comments on a new utility...

2002-06-11 Thread Peter Edwards
Solaris has something similar in /usr/proc/bin/ptree. One of the things it lets you do is specify _which_ user to use. Isn't the kvm_*() interface somewhat frowned upon? Is there anything missing from /proc that you need kvm_* for? -- Cheers, Peter. Juli Mallett wrote: > Hej, > > As some of

Looking for comments on a new utility...

2002-06-11 Thread Juli Mallett
Hej, As some of you may have noticed, I've done some poking of ps(1) lately, and this has brought attention of people who have ideas for things that they would like to see done to ps(1) :) The most notable request was for a feature I've missed having in our ps(1) for a while, the ability to get

Re: World is broken

2002-06-11 Thread Maxim Sobolev
Ruslan Ermilov wrote: > > On Mon, May 27, 2002 at 02:28:26PM +0300, Maxim Sobolev wrote: > > Finally I have decided to give post gcc-3.1 perless world a > > try, but found that world doesn't build. :(( The system in > > question is 5-CURRENT makeworlded about a month ago. > > > > Any ideas? > > >

Re: libncurses cannot show the first column on the screen

2002-06-11 Thread Andrey A. Chernov
On Wed, Jun 05, 2002 at 04:28:35 -0700, Shizuka Kudo wrote: > > The libncurses commit on May 21 seems not working > properly. I cvsupped latest current & ports, build a > typical ncurses app (lynx) and find that the first > column is not shown correctly. Bascially it is blank This bug reason now

Re: Fixing "could sleeep..." was (Re: ../../../vm/uma_core.c:132

2002-06-11 Thread Mike Makonnen
On Tue, 11 Jun 2002 04:36:41 -0400 (EDT) John Baldwin <[EMAIL PROTECTED]> wrote: > > This solution has the advantage that the only code that has to change is > > the ucred and setuid/gid helper functions that already know about the > > struct uidinfo functions. In fact only three functions not re

Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries

2002-06-11 Thread Stanislav Grozev
On Mon, Jun 10, 2002 at 09:18:32PM +0200, Szilveszter Adam wrote: > Sorry David, but I experienced the same thing. No matter if I used the > base system c++ compiler, or the latest gcc31 port. The problem is all > the more interesting, because X worked for me fine, no matter what > compiler I used

Re: Device cloning

2002-06-11 Thread Harti Brandt
On Tue, 11 Jun 2002, Terry Lambert wrote: TL>Harti Brandt wrote: TL>> I was talking about real devices, not pseudo devices that you can get out TL>> of thin air. Device driver for real devices should be just what they are: TL>> device drivers. If you take a disk driver, then there is no code ther

Re: Device cloning

2002-06-11 Thread Terry Lambert
Harti Brandt wrote: > I was talking about real devices, not pseudo devices that you can get out > of thin air. Device driver for real devices should be just what they are: > device drivers. If you take a disk driver, then there is no code there > that tries to present multiple contexts to multiple

Re: Device cloning

2002-06-11 Thread Harti Brandt
On Tue, 11 Jun 2002, Terry Lambert wrote: TL>Harti Brandt wrote: TL>> In MHO this idea is based on a fundamental misunderstanding of what a TL>> device is under unix. If you need such a behaviour you should put another TL>> abstraction on top of you devices (as the filesystem is put on top of TL>

RE: new zero copy sockets snapshot, WITNESS problems

2002-06-11 Thread John Baldwin
On 10-Jun-2002 Kenneth D. Merry wrote: > 3. ti_attach() calls bus_alloc_resource(), which through a ton of calls > ends up calling vm_map_entry_create(), same problem as above. > > 4. ti_attach() calls bus_setup_intr(), which through various calls ends up > calling ithread_create(), wh

Re: Fixing "could sleeep..." was (Re: ../../../vm/uma_core.c:132

2002-06-11 Thread John Baldwin
On 10-Jun-2002 Mike Makonnen wrote: >> Well, the real solution probably involves changing where we dink with >> uidinfo structs so we bump the reference count on teh new one before > we> grab the proc lock, change over to the new one while holding the > proc lock,> then release the reference to t

Re: Device cloning

2002-06-11 Thread Terry Lambert
Harti Brandt wrote: > In MHO this idea is based on a fundamental misunderstanding of what a > device is under unix. If you need such a behaviour you should put another > abstraction on top of you devices (as the filesystem is put on top of > disks and sockets on top of network devices), that handl

Re: about beforeinstall target in /usr/share/mk/*.mk

2002-06-11 Thread Bruce Evans
On Mon, 10 Jun 2002, Masahide -mac- NODA wrote: > In /usr/share/mk/bsd.*.mk, 'beforeinstall' target execute after install > on current. > > You found it to doing below in current: > > % cd /usr/src/share/mk > % make install -n > install -c -o root -g wheel -m 444 bsd.README ... > date '+