Re: cleaning /usr/obj before copying it to USB key

2012-06-19 Thread Garance A Drosehn
On 6/11/12 8:34 AM, Matthias Apitz wrote: Thanks for the hints concerning find(1) usage. I was wondering if there is nothing like # make install-clean or # make remove-tempfiles Thanks matthias I missed the beginning of this thread, but if you're talking about doing a 'make buildw

Re: Need to revert behavior of OpenSSH to the old key order ...

2012-05-21 Thread Garance A Drosehn
I may have missed some emails in this thread, but did you try this suggestion: But have you tried it in this order ? HostKey /usr/local/etc/ssh/ssh_host_key HostKey /usr/local/etc/ssh/ssh_host_dsa_key HostKey /usr/local/etc/ssh/ssh_host_rsa_key HostKey /usr/local/etc/ssh/ssh_host_

Re: Is it possible to have file removed upon process exit?

2010-12-13 Thread Garance A Drosehn
On 11/29/10 3:20 AM, Xin LI wrote: On 11/28/10 20:43, Garrett Cooper wrote: On Thu, Nov 25, 2010 at 12:14 PM, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- For certain applications it is sometimes desirable to (e.g. for unix domain sockets) have file removed when the process quit

Re: proposed change to style(9): require yoda style if statements

2010-05-13 Thread Garance A Drosehn
At 10:36 PM +0300 5/11/10, Eitan Adler wrote: My proposal is simple: require that any if statement that compares a constant to a mutable variable be written as if (constant == variable) instead of if (variable == constant) this prevents an extremely common programming error if (variable = consta

Re: [RFC] [patch] pkill verbose option

2010-04-19 Thread Garance A Drosehn
At 11:50 AM +0300 4/19/10, Eitan Adler wrote: This has been waiting as a pr for a while - any update if this will be committed? http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/143558 Oops. I think I'm supposed to be looking into that... -- Garance Alistair Drosehn = dros...@r

Re: Deprecating ps(1)s -w switch

2009-08-25 Thread Garance A Drosehn
At 11:50 AM -0700 8/25/09, Doug Barton wrote: Brian Somers wrote: I recently closed bin/137647 and had second thoughts after Ivan (the originator) challenged my reason for closing it. The suggestion is that ps's -w switch is a strange artifact that can be safely deprecated. ps goes to grea

Re: pahole - Finding holes in kernel structs

2009-02-12 Thread Garance A Drosehn
At 2:08 PM + 2/12/09, Andrew Brampton wrote: I found this useful tool called pahole[1]. It basically finds holes within structs, so for example on my 64bit machine this struct: struct test { int foo; const char *bar; int blah; } Would have a hole between foo and bar of 4 bytes beca

Re: Small change to 'ps'

2009-01-11 Thread Garance A Drosehn
At 1:51 AM -0500 1/9/09, Mike Meyer wrote: On Wed, 7 Jan 2009 "Sheldon Givens" wrote: > And I guess I just feel like running a second command to do what should be possible to do with the first command (and is, on many platforms. ps --no-headers on linux for example) is a problem and presents

Re: Call for testers: CVSMode for csup

2008-03-06 Thread Garance A Drosehn
At 12:52 AM +0100 3/7/08, Ulf Lilleengen wrote: On Thu, Mar 06, 2008 at 08:22:24AM -0800, David O'Brien wrote: On Thu, Mar 06, 2008 at 01:44:59PM +0100, Ulf Lilleengen wrote: > > During the past few months, I've implemented CVSMode support > > for csup. > This would be good to have. > H

Re: [PATCH] "automated" make -j value

2006-12-14 Thread Garance A Drosehn
At 1:52 PM -0500 12/14/06, Kurt J. Lidl wrote: On Wed, Dec 13, 2006, David O'Brien wrote: > With multi-socket systems becoming more prevalent, and the continued increase in cores per processors, I thought it would be nice for 'make -j' to gain some automation. Attached is a patch that makes

Re: [patch] rm can have undesired side-effects

2006-11-03 Thread Garance A Drosehn
At 11:02 PM -0600 11/2/06, Craig Boston wrote: On Thu, Nov 02, 2006 at 10:52:19AM +, Jan Grant wrote: > This is, I reckon, the only sensible suggestion thus far: if the > FS doesn't help you then you are implicitly depending on the FS > implementation to ensure you are writing over the ori

Re: [PATCH] adding two new options to 'cp'

2006-08-25 Thread Garance A Drosehn
At 9:05 AM -0400 8/25/06, John Baldwin wrote: On 24 August 2006, Julian Elischer wrote in a cvs-commit log: > > Add an option to allow copying of a hierarchy while > linking he regular files. Very good for commiting this -- except that I'm not quite sure that log-message is parseable! From

Re: [PATCH] adding two new options to 'cp'

2006-08-01 Thread Garance A Drosehn
At 7:17 PM -0500 8/1/06, Rick C. Petty wrote: On Tue, Aug 01, 2006 at 08:09:08PM -0400, Garance A Drosehn wrote: I had understood this option as a request to "copy all the existing holes", which is not the same thing. I.e., I thought we wanted `cp' to create the new fi

Re: [PATCH] adding two new options to 'cp'

2006-08-01 Thread Garance A Drosehn
At 12:19 PM -0500 8/1/06, Rick C. Petty wrote: On Tue, Aug 01, 2006, Garance A Drosehn wrote: > The point is not that you need an explicit switch, the point is that you have to add a lot of code to 'cp' for 'cp' to do the job correctly. Not really. See my example i

Re: [PATCH] adding two new options to 'cp'

2006-08-01 Thread Garance A Drosehn
At 12:07 PM +0200 8/1/06, Ivan Voras wrote: Peter Jeremy wrote: Note that it isn's possible to accurately distinguish between a block of NULs and a hole in the file through the filesystem. The only way to accurately copy a sparse file is with dump/restore. Hence the need for an explicit swit

Re: [PATCH] adding two new options to 'cp'

2006-07-31 Thread Garance A Drosehn
At 12:17 PM -0700 7/31/06, Julian Elischer wrote: Ok I"m going to pipe up here. The feature is cheap, it is useful and it allows people to adopt FreeBSD with less surprises. I will commit this soon unless someone else does it first. This is not the first time we have had a long thread about

Re: kern/99979: Get Ready for Kernel Module in C++

2006-07-11 Thread Garance A Drosehn
At 12:43 AM +0800 7/12/06, [EMAIL PROTECTED] wrote: Before I do enough experiments, naturally I would never talk about this thing. I don't know why Dag-Erling C. Smo/rgrav is so unfriendly to me ??? !!! He is commenting on your patches. Do not take those as personal attacks on you. You seem

Re: cvs commit: src/usr.sbin/newsyslog newsyslog.8 newsyslog.c

2004-10-04 Thread Garance A Drosehn
At 10:33 PM -0400 10/4/04, Christopher Nehren wrote: On Mon, 2004-10-04 at 23:35 +, Brooks Davis wrote: brooks 2004-10-04 23:35:13 UTC FreeBSD src repository Modified files: usr.sbin/newsyslog newsyslog.8 newsyslog.c Log: > Add a new -d argument which is used to specify

Re: MFCs needed in src/sys/sys/cdefs.h

2004-04-09 Thread Garance A Drosehn
At 10:50 PM +0200 4/9/04, Roman Neuhauser wrote: This is an extended version of my previous email to hackers@ which hasn't attracted any attention. This time I'm mailing the authors too. I must have missed the earlier message... Two revisions need MFC in src/sys/sys/cdefs.h: http://www.freebsd.or