Re: Renaming "killall" and forever symlinking the old name to the new name

2010-02-04 Thread Jason Spiro
Jason Spiro gmail.com> writes: [snip] > > You could rename killall to something else, and update the manpage to show the > new name, then symlink or hard link "killall" to the new name forever. This > would encourage people to use the new name, but it would never force them to. > > Xin, what do

Re: [RFC] [patch] pkill verbose option

2010-02-04 Thread Jason Spiro
jhell DataIX.net> writes: [snip] > > Now pkill -v sleep on my system actually causes my Xserver to exit with a > unexpected signal 15. Yes. "pkill -v sleep" kills all your own processes except for sleep. As root, it kills all processes running on your machine except for sleep. -V is not a go

Re: [RFC] [patch] pkill verbose option

2010-02-04 Thread Eitan Adler
This patch hijacks pgrep's -l Index: pkill.1 === --- pkill.1 (revision 203347) +++ pkill.1 (working copy) @@ -168,9 +168,9 @@ If used in conjunction with .Fl f , print the process ID and the full argument list for each matc

Re: Unique process id (not pid) and accounting daemon

2010-02-04 Thread cronfy
Hello, >> I am trying to create an accounting daemon that would be more precise >> than usual BSD system accounting. It should read the whole process >> tree from time to time (say, every 10 seconds) and log changes in >> usage of CPU, I/O operations and memory per process. >> There is a problem:

Re: [PATCH] Support for thresholds in du(1)

2010-02-04 Thread Gleb Kurtsou
On (25/02/2009 17:24), Mel wrote: > Hi, > > attached is a small patch to add threshold support to du(1). I've been using > it on 7-STABLE machines for a while, cause I got tired of the noise I get > when sorting and then reformatting to human-readable. Especially since > sorting isn't part of t

Re: Weekend PR smashing

2010-02-04 Thread Mark Linimon
[adding freebsd-bugbusters@ to the Cc:] I'm sorry I didn't respond to your earlier message. I am currently way behind on tasks that I've already promised people. The KDE howto that you cited (http://quality.kde.org/develop/howto/howtobugs.php) is quite a good one. Our pr-guidelines document is

Re: [RFC] [patch] pkill verbose option

2010-02-04 Thread Lars Engels
On Thu, Feb 04, 2010 at 12:01:26PM +0200, Eitan Adler wrote: > This patch hijacks pgrep's -l > I'd like to paint the bikeshed with little -p's ;-) pgpnxCW9VgVDg.pgp Description: PGP signature

Re: Spin down HDD after disk sync or before power off

2010-02-04 Thread Oliver Fromme
Warren Block wrote: > Oliver Fromme wrote: > > Alexander Best wrote: > > > imo this patch takes good care of the problem. would be nice to > > > have it in HEAD. > > > > No -- *Please* make sure that the disks are only spun down > > upon an actual power-off command (i.e. when reboot() is >

RE: Spin down HDD after disk sync or before power off

2010-02-04 Thread Andrew Duane
From: owner-freebsd-hack...@freebsd.org [owner-freebsd-hack...@freebsd.org] On Behalf Of Warren Block [wbl...@wonkity.com] Sent: Wednesday, February 03, 2010 7:43 PM To: Erich Dollansky Cc: freebsd-hackers@freebsd.org Subject: Re: Spin down HDD after disk

Re: [RFC] [patch] pkill verbose option

2010-02-04 Thread jhell
On Thu, 4 Feb 2010 05:01, eitanadlerlist@ wrote: This patch hijacks pgrep's -l [cut] This particular section of the patch should probably be left out until its worked over in a way that it does not print the info message if a process has been found and killed already. if (!didAction && !p

Re: [RFC] [patch] pkill verbose option

2010-02-04 Thread jhell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 4 Feb 2010 07:10, lars.engels@ wrote: On Thu, Feb 04, 2010 at 12:01:26PM +0200, Eitan Adler wrote: This patch hijacks pgrep's -l I'd like to paint the bikeshed with little -p's ;-) If it is a bikeshed then maybe we should make it '-b

Re: Does getc(3) use the read(2) syscall?

2010-02-04 Thread Stefan Midjich
Thank you all for your wonderful replies! I should have known it was a macro, thank you. Very informative help from you Oliver. 2010/2/3 Daniel Molina Wegener > On Wednesday 03 February 2010, > Marc Olzheim wrote: > > > On Wed, Feb 03, 2010 at 10:23:50AM -0300, Daniel Molina Wegener wrote: >

Re: [RFC] [patch] pkill verbose option

2010-02-04 Thread jhell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-ID: On Thu, 4 Feb 2010 11:01, jhell@ wrote: On Thu, 4 Feb 2010 05:01, eitanadlerlist@ wrote: This patch hijacks pgrep's -l [cut] This particular section of the patch should probably be left out until its worked over in a way that it

devfs panic w/INVARIANTS

2010-02-04 Thread Andrew Gallatin
I've got a commercial driver that uses device cloning. At unload time, the driver calls clone_cleanup(). When I unload the driver when the kernel is built with INVARIANTS, I'll see a panic in devfs_populate_loop(). This happens in 6-stable, as well as 8-stable. From what I can see the clone has

Re: Weekend PR smashing

2010-02-04 Thread Philip M. Gollucci
Mark Linimon wrote: [adding freebsd-bugbusters@ to the Cc:] http://people.freebsd.org/~linimon/studies/prs/well_known_prs.html You also might find the following script that wraps all of Mark's work a tiny bit a little better to get a lot of information on one page. I use it for ports but

Re: [PATCH] Support for thresholds in du(1)

2010-02-04 Thread jhell
On Thu, 4 Feb 2010 06:55, gleb.kurtsou@ wrote: On (25/02/2009 17:24), Mel wrote: Hi, attached is a small patch to add threshold support to du(1). I've been using it on 7-STABLE machines for a while, cause I got tired of the noise I get when sorting and then reformatting to human-readable. Espe

Re: [PATCH] Support for thresholds in du(1)

2010-02-04 Thread jhell
On Thu, 4 Feb 2010 06:55, gleb.kurtsou@ wrote: On (25/02/2009 17:24), Mel wrote: Hi, attached is a small patch to add threshold support to du(1). I've been using it on 7-STABLE machines for a while, cause I got tired of the noise I get when sorting and then reformatting to human-readable. Espe

Re: [PATCH] Support for thresholds in du(1)

2010-02-04 Thread jhell
On Thu, 4 Feb 2010 06:55, gleb.kurtsou@ wrote: On (25/02/2009 17:24), Mel wrote: Hi, attached is a small patch to add threshold support to du(1). I've been using it on 7-STABLE machines for a while, cause I got tired of the noise I get when sorting and then reformatting to human-readable. Espe

pmake .ORDER bug with -j 1 or misuse?

2010-02-04 Thread Garrett Cooper
Hi hackers, I'm getting used to pmake after using GNU make for the past couple years, and I'm used to `in-order prerequisites', where if I specified a list of targets a specific way, then it would execute the targets serially in-order. I tried to do the following with .ORDER, but it doesn't

Re: [PATCH] Support for thresholds in du(1)

2010-02-04 Thread Jason A. Spiro
On Thu, Feb 4, 2010 at 9:30 PM, jhell wrote: > I like it!. It looks like a really useful option. Though if you really need to free up a lot of space, try a Freshmeat search[1] for [ disk usage ]. It reveals many tools that look even better, including ncdu[2] which doesn't require Xorg. But I d

Re: [PATCH] Support for thresholds in du(1)

2010-02-04 Thread Garrett Cooper
On Thu, Feb 4, 2010 at 8:51 PM, Jason A. Spiro wrote: > On Thu, Feb 4, 2010 at 9:30 PM, jhell wrote: > >> I like it!. > > It looks like a really useful option.  Though if you really need to > free up a lot of space, try a Freshmeat search[1] for [ disk usage ]. > It reveals many tools that look e

Re: [PATCH] Support for thresholds in du(1)

2010-02-04 Thread jhell
On Thu, 4 Feb 2010 23:51, jasonspiro4@ wrote: On Thu, Feb 4, 2010 at 9:30 PM, jhell wrote: I like it!. It looks like a really useful option. Though if you really need to free up a lot of space, try a Freshmeat search[1] for [ disk usage ]. It reveals many tools that look even better, inclu