Re: easy way to determine if a stream or fd is seekable

2011-11-15 Thread Brandon Gooch
On Nov 15, 2011 2:25 PM, Alexander Best arun...@freebsd.org wrote: hi there, one of the things i'm missing is an easy way to determine, whether a stream or fd is seekable. i checked the dd(1) and hd(1) sources and those tools are performing so much stuff just to find out if this is the case,

Re: kldload dtraceall exec format error

2011-09-01 Thread Brandon Gooch
On Thu, Sep 1, 2011 at 12:27 PM, Charlie Martin crmar...@sgi.com wrote: On 2011-09-01 11:23, Garrett Cooper wrote: On Thu, Sep 1, 2011 at 9:56 AM, Charlie Martincrmar...@sgi.com  wrote: Okay, I'll grant this is probably a horrid noob question, but then on the Free kernel I'm a horrid noob

Re: Where to ask about a 7.2 bug, and debugging sys/queue.h errors

2011-08-25 Thread Brandon Gooch
On Thu, Aug 25, 2011 at 4:53 PM, Kostik Belousov kostik...@gmail.com wrote: On Thu, Aug 25, 2011 at 03:16:09PM -0600, Charlie Martin wrote: We're having a crash in some internal code running on FreeBSD 7.2 (specifically  7.2-PRERELEASE FreeBSD 7.2-PRERELEASE and yeah, I know it's quite a bit

Re: Where to ask about a 7.2 bug, and debugging sys/queue.h errors

2011-08-25 Thread Brandon Gooch
2011/8/25 Kostik Belousov kostik...@gmail.com: On Thu, Aug 25, 2011 at 05:12:09PM -0500, Brandon Gooch wrote: On Thu, Aug 25, 2011 at 4:53 PM, Kostik Belousov kostik...@gmail.com wrote: On Thu, Aug 25, 2011 at 03:16:09PM -0600, Charlie Martin wrote: We're having a crash in some internal code

Re: [PATCH] draft patch to make usr.bin/kdump WARNS?= 6 clean

2011-05-02 Thread Brandon Gooch
On Mon, May 2, 2011 at 11:10 AM, Garrett Cooper yaneg...@gmail.com wrote:    I wanted to do something different this weekend, and I picked usr.bin/kdump as a likely 'victim' for converting from WARNS?= 0 to WARNS?= 6. I'm curious as to whether or not this is on the right track, but here's the

Re: Puzzled about VFS sysctl OIDs -- signed vs. unsigned

2011-03-03 Thread Brandon Gooch
On Thu, Mar 3, 2011 at 11:49 AM, David Wolfskill da...@catwhisker.org wrote: I'm using a little shell script to capture selected sysctl OID values periodically, in an attempt to get a better idea how the resources of a system are being used during a long-running (usually measured in hours),

Re: Puzzled about VFS sysctl OIDs -- signed vs. unsigned

2011-03-03 Thread Brandon Gooch
On Thu, Mar 3, 2011 at 3:34 PM, Matthew Fleming mdf...@gmail.com wrote: On Thu, Mar 3, 2011 at 1:03 PM, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Thu, Mar 3, 2011 at 11:49 AM, David Wolfskill da...@catwhisker.org wrote: I'm using a little shell script to capture selected sysctl OID

Re: DTrace: Sending ^C while running script produces no output

2010-12-04 Thread Brandon Gooch
On Sat, Dec 4, 2010 at 2:32 PM, Andriy Gapon a...@freebsd.org wrote: on 03/12/2010 07:20 Brandon Gooch said the following: I've been tinkering with DTrace a bit, and I've notice something peculiar on each system I've tried it on. Sending ^C from the keyboard in the terminal (console, XTerm

Re: DTrace: Sending ^C while running script produces no output

2010-12-04 Thread Brandon Gooch
On Sat, Dec 4, 2010 at 3:27 PM, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Sat, Dec 4, 2010 at 2:32 PM, Andriy Gapon a...@freebsd.org wrote: on 03/12/2010 07:20 Brandon Gooch said the following: I've been tinkering with DTrace a bit, and I've notice something peculiar on each system

Re: DTrace: Sending ^C while running script produces no output

2010-12-03 Thread Brandon Gooch
On Thu, Dec 2, 2010 at 11:48 PM, Artem Belevich fbsdl...@src.cx wrote: On Thu, Dec 2, 2010 at 9:46 PM, Artem Belevich fbsdl...@src.cx wrote: On Thu, Dec 2, 2010 at 9:20 PM, Brandon Gooch jamesbrandongo...@gmail.com wrote: I've been tinkering with DTrace a bit, and I've notice something

DTrace: Sending ^C while running script produces no output

2010-12-02 Thread Brandon Gooch
I've been tinkering with DTrace a bit, and I've notice something peculiar on each system I've tried it on. Sending ^C from the keyboard in the terminal (console, XTerm, Konsole) produces no output [1]. For example, while trying out a one-liner (from

Re: [CFT+RFC] patch to buildworld with heimdal from ports

2010-11-16 Thread Brandon Gooch
On Tue, Nov 16, 2010 at 2:49 AM, Joerg Pulz joerg.p...@frm2.tum.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-ID: alpine.bsf.2.00.1011160928330.1...@unqrf.nqzva.sez2 On Mon, 15 Nov 2010, Brandon Gooch wrote: On Mon, Nov 15, 2010 at 9:37 PM, Garrett Cooper gcoo

Re: [CFT+RFC] patch to buildworld with heimdal from ports

2010-11-15 Thread Brandon Gooch
On Mon, Nov 15, 2010 at 7:17 PM, Benjamin Lee b...@b1c1l1.com wrote: On 11/15/2010 02:08 PM, Joerg Pulz wrote: Hi, after the security/heimdal port was updated to the current heimdal release and i added one missing function from base it is now possible to completely buildworld src/ using the

Re: [CFT+RFC] patch to buildworld with heimdal from ports

2010-11-15 Thread Brandon Gooch
On Mon, Nov 15, 2010 at 9:37 PM, Garrett Cooper gcoo...@freebsd.org wrote: On Mon, Nov 15, 2010 at 7:09 PM, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Mon, Nov 15, 2010 at 7:17 PM, Benjamin Lee b...@b1c1l1.com wrote: On 11/15/2010 02:08 PM, Joerg Pulz wrote: Hi, after the security

Re: sysconf -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-06 Thread Brandon Gooch
On Wed, Oct 6, 2010 at 3:45 PM, Devin Teske dte...@vicor.com wrote: Hello fellow freebsd-hackers, Long-time hacker, first-time poster. I'd like to share a shell script that I wrote for FreeBSD system administration. The attached shell script works similar to sysctl(8), but rather than

Re: One-shot-oriented event timers management

2010-09-01 Thread Brandon Gooch
On Wed, Sep 1, 2010 at 5:44 AM, Alexander Motin m...@freebsd.org wrote: Alexander Motin wrote: Gary Jennejohn wrote: On Mon, 30 Aug 2010 12:11:48 +0200 OK, this is purely anecdotal, but I'll report it anyway. I was running pretty much all day with the patched kernel and things seemed to be

Re: One-shot-oriented event timers management

2010-09-01 Thread Brandon Gooch
On Wed, Sep 1, 2010 at 2:16 PM, Alexander Motin m...@freebsd.org wrote: Brandon Gooch wrote: This latest patch causes an interrupt storm with the HPET timer on my system. The machine took about 8 minutes to boot and bring me to a login prompt. System interactivity (i.e. input from keyboard

Re: One-shot-oriented event timers management

2010-08-31 Thread Brandon Gooch
On Tue, Aug 31, 2010 at 3:48 AM, Alexander Motin m...@freebsd.org wrote: Gary Jennejohn wrote: On Mon, 30 Aug 2010 12:11:48 +0200 Gary Jennejohn gljennj...@googlemail.com wrote: On Mon, 30 Aug 2010 13:07:38 +0300 Alexander Motin m...@freebsd.org wrote: Gary Jennejohn wrote: Hmm.  I

Re: One-shot-oriented event timers management

2010-08-29 Thread Brandon Gooch
2010/8/29 Alexander Motin m...@freebsd.org: Hi. I would like to present my new work on timers management code. In my previous work I was mostly orienting on reimplementing existing functionality in better way. The result seemed not bad, but after looking on perspectives of using event

Re: Hello!

2010-04-28 Thread Brandon Gooch
On Wed, Apr 28, 2010 at 4:04 PM, Stanislav uzunchev.stanis...@gmail.com wrote: Hello! I am accepted for the google summer of code. I just wanted to introduce myself to the community. I will be working on BSNMP enhancement: A new module. I will be very thankful to anyone who have ideas to share.

Re: netstat count option

2010-04-21 Thread Brandon Gooch
On Wed, Apr 21, 2010 at 4:01 AM, Dmitry Banschikov ubi...@peterhost.ru wrote: Hello, I wrote small patch to the netstat utility. The patch allows to specify how many times, the display output should be continue, in case of option -w. Usage: # ./netstat -w2 -c2            input        

Re: vdso and shared page patch

2010-04-20 Thread Brandon Gooch
On Tue, Apr 20, 2010 at 2:57 PM, Giuseppe Cocomazzi sbude...@gmail.com wrote: Hi, I've written a huge patch which implements vdso support and shared page subsystem for freebsd. Unfortunately, I've been waiting for a review for quite a long time and, after some positive responses, silence