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

2010-10-10 Thread Garance A Drosihn
On 10/10/10 7:09 PM, Devin Teske wrote: On Oct 9, 2010, at 10:25 PM, Julian Elischer wrote: For what it matters, I'v enever found the [ x$foo = x ] construct to be useful. the quoting seems to work for everything I've ever worked on. There have been times where I had scripts which

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

2010-10-10 Thread Garance A Drosihn
On 10/10/10 8:46 PM, Devin Teske wrote: On Oct 10, 2010, at 4:51 PM, Garance A Drosihn dro...@rpi.edu mailto:dro...@rpi.edu wrote: The latter does not cause an error. Try it: # [ -n = x ] ; echo $? 1 # [ -e = no ] ; echo $? 1 # [ -e = -n ] ; echo $? 1 1 is error. 0 is success. -- Um

Re: usinig cvs diff to make a patch

2009-02-03 Thread Garance A Drosihn
At 2:17 PM -0500 2/3/09, Aryeh M. Friedman wrote: I use a local cvs repo and I have modified a port and which to submit an update for it how do I generate a patch file with cvs (cvs diff seems to give a unusable format)? try: cvs diff -u In my case, i have added the following line to my

Re: Impact of having a large number of open file descriptors

2008-06-02 Thread Garance A Drosihn
At 12:33 AM +0200 6/3/08, Kris Kennaway wrote: Ivan Voras wrote: Suleiman Souhlal wrote: I have an old patch that makes kqueue monitor every file write on the system and return the inode number in the knote's data field:

Re: [OT] Q: what would you choose for a VCS today

2008-01-31 Thread Garance A Drosihn
At 8:45 AM +0200 1/31/08, Adrian Penisoara wrote: Hi, Side-topic, if you bear with me: if you were to choose again what to use as source revision control system (VCS) from today's offerings, what would you choose to maintain FreeBSD's sources or a side-off project tracking FreeBSD as base

Re: struct dirent question

2006-08-16 Thread Garance A Drosihn
At 11:31 AM -0500 8/16/06, Eric Anderson wrote: My point was, that either path you take (if BSD_VISIBLE is defined or not), you end up with d_name having a size of 255 + 1, so what's the point the having it at all? To make it clear that d_name is tied to the exact value of MAXNAMLEN (just in

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

2006-07-11 Thread Garance A Drosihn
At 7:03 PM -0400 7/11/06, Mike Meyer wrote: In [EMAIL PROTECTED], Rick C. Petty [EMAIL PROTECTED] typed: On Wed, Jul 12, 2006 at 02:25:21AM +0800, [EMAIL PROTECTED] wrote: Good packages for various APIs are much easier to learn/debug than those original APIs. What makes you say that

Re: nvi for serious hacking

2005-10-17 Thread Garance A Drosihn
At 1:25 PM -0600 10/17/05, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Gary Kline [EMAIL PROTECTED] writes: : vi was the first screen/cursor-based editor in computer : history. Are you sure about this? I was using screen oriented editors over a 1200 baud dialup

Re: Include files that depend on include files

2005-08-10 Thread Garance A Drosihn
At 12:06 PM +0200 8/10/05, Dirk GOUDERS wrote: To get around this in user-space, we do things like create /usr/include/sys/_types.h And then our include files include *that* file, and do not include the standard sys/types.h. This sys/_types.h file, in turn, does not define any of

Re: Include files that depend on include files

2005-08-09 Thread Garance A Drosihn
At 12:22 AM +0200 8/10/05, Dirk GOUDERS wrote: This is intentational. We try to avoid having headers bring in more then absolutly required when included. I'm not sure what your second question means. With my second question I wanted to ask if this intention is only for kernel level code

Re: unitialized memory is all zeros...why not garbage instead?

2005-06-10 Thread Garance A Drosihn
At 3:40 PM -0700 6/10/05, Mike Hunter wrote: Hey everybody, I have a feeling that I'm missing something really obvious, but I'm having trouble understanding why the following program: Never prints anything but 0's. Kernel generally clears out memory in the background. See also the man

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Garance A Drosihn
At 2:19 PM +0300 5/5/05, Erik Udo wrote: I couldn't find a way to remove files that had scandic/non-printable letters, then i remembered ls showed inode number of the file. Is it possible to remove the file by the inode number? It would be a useful feature :) It would be a bad feature, at least

Re: kernel killing processes when out of swap

2005-04-12 Thread Garance A Drosihn
At 6:46 PM +0200 4/12/05, Dag-Erling Smørgrav wrote: Steven Hartland [EMAIL PROTECTED] writes: Thanks for the feedback seems very strange that sshd was the first thing the kernel killed off; so unless it was actually at fault ( would be very strange ) it would have been one of the smallest not

Re: organization

2005-03-29 Thread Garance A Drosihn
At 7:41 AM -0800 3/29/05, mohamed aslan wrote: guys this is not a flame war but the linux way in arranging the source file is really better than freebsd way, it's a fact. however it's easy to rearrange it in 1 min as someone said before. but i mean this step should be done from the core team. for

Re: ARG_MAX increase

2005-02-24 Thread Garance A Drosihn
At 2:11 PM -0500 2/23/05, Garance A Drosihn wrote: At 10:46 AM +0100 2/23/05, Marco van de Voort wrote: I saw ARG_MAX was increased in 6.0. Recently I noticed that the lang/fpc-devel port currently hits the old limit in certain (though rare) cases), and this is annoying. (some testing revealed

Re: ARG_MAX increase

2005-02-23 Thread Garance A Drosihn
At 10:46 AM +0100 2/23/05, Marco van de Voort wrote: I saw ARG_MAX was increased in 6.0. Recently I noticed that the lang/fpc-devel port currently hits the old limit in certain (though rare) cases), and this is annoying. (some testing revealed that half the increase of 6.0 to 131k params is also

Re: bin/76089: The -n option in /usr/bin/w is broken

2005-02-13 Thread Garance A Drosihn
At 5:16 PM +1100 2/14/05, Peter Jeremy wrote: On Sun, 2005-Feb-13 19:50:44 +0300, Sergey Matveychuk wrote: IMHO to be more robust, we should make utmp to hold an IP address instead of a hostname and change all applications that use it. As bonus it will fix a delay on login when resolving does

Re: OpenCVS

2004-12-07 Thread Garance A Drosihn
At 8:58 PM +0100 12/7/04, Miguel Mendez wrote: Hi hackers, I've seen the OpenBSD guys have come up with a BSD-licensed CVS[1] that should be focused on security as well as features. Is there any chance that this could make it into FreeBSD's tree as well? [1] http://www.openbsd.org/opencvs/ From

Re: AoE for FreeBSD

2004-11-12 Thread Garance A Drosihn
At 3:36 PM -0500 11/10/04, Sam Hopkins wrote: Hello all, Just a quick note to mention that I've added AoE support to FreeBSD 4.10, 5.3, and 6.0. Patches are available at http://www.coraid.com/support/freebsd. If anyone knows where else I could announce this, I'd appreciate it. This looks

Re: Protection from the dreaded rm -fr /

2004-10-02 Thread Garance A Drosihn
At 8:57 PM +0300 10/2/04, Giorgos Keramidas wrote: On 2004-10-02 21:23, Lee Harr [EMAIL PROTECTED] wrote: John Beck, who works for Sun, has posted an entry in his blog yesterday about rm -fr / protection, which I liked a lot:

Re: How to clean out old files after 'make world'?

2004-07-20 Thread Garance A Drosihn
At 10:23 PM +0300 7/20/04, Stas D.Myasnikov wrote: ... I had thought that install script removes all unneeded files, but it don't. How can I clean out this old binaries, configs, etc?.. Is there any automatic way to do this? You can: make cleanworld which does a fairly decent job of getting rid

Re: /bin/ls sorting bug?

2004-06-21 Thread Garance A Drosihn
At 10:48 AM +1000 6/22/04, Greg Black wrote: The output of ls has never been good for reproduceable output for identical data. It frequently leads to gigantic diffs in periodic reports which makes them useless, as far as I can tell. Take the following case: Hmm. I never thought much about that

Re: -lthr vs. -pthread

2004-06-20 Thread Garance A Drosihn
At 4:14 AM +0200 6/20/04, Cyrille Lefevre wrote: is it normal that the selected process is the last forked thread and not the thread owner (father) ? I committed the changes, so people can try this if they want. Example: (48) ps -HO lwp,nlwp PIDLWP NLWP TT STAT TIME COMMAND 1870

Re: /bin/ls sorting bug? - change it.

2004-06-19 Thread Garance A Drosihn
At 6:50 PM +0100 6/19/04, Scott Mitchell wrote: Is this intended behaviour? If so, the documentation is wrong. Otherwise, the attached patch produces the expected output. I can commit it if there are no objections. Your patch looks like a reasonable change to me. By definition, there can be no

Re: HEADS UP! KSE needs more attention

2004-06-07 Thread Garance A Drosihn
At 9:37 AM -0600 6/7/04, Scott Long wrote: Garance A Drosihn wrote: I think you have to officially demote it, with emphasis on the point that demotion is not a terminal condition. Then, if some developer(s) show up and implement all the missing pieces, we can happily announce it back in tier 1

Re: HEADS UP! KSE needs more attention

2004-06-06 Thread Garance A Drosihn
At 3:46 PM -0600 6/6/04, Scott Long wrote: At this point, I'm going to advocate that Alpha be dropped from Tier-1 status for 5.3 and 5-STABLE and no longer be a blocking item for releases. ... As I said back then, demotion is not a terminal condition, and I would be thrilled if someone comes

Third RFC on on pkg-data ideas for ports

2004-05-24 Thread Garance A Drosihn
[this is BCC'ed to -hackers and -arch just so everyone has a chance to see it, but I expect the bulk of the discussion should take place on the freebsd-ports mailing list] Well, Darren and I have done more work on my pkg-data ideas, but we're also getting closer to the time where

Re: Memory Leak

2004-05-23 Thread Garance A Drosihn
At 2:45 PM +0930 5/23/04, Daniel O'Connor wrote: There is valgrind.. http://www.rabson.org/#valgrind I thought it was in ports but I can't see it. ___ Note the separate message: Date: Sat, 22 May 2004 21:46:32 +0200 From: Simon Barner [EMAIL

Re: how to flush out cache.?

2004-04-21 Thread Garance A Drosihn
At 12:23 PM -0700 4/21/04, Julian Elischer wrote: Ok so I have an application where I need to reread a file I have just written to ensure that it went to disk correctly.. Other than reading a few GB of data, is there a way to flush out the cache copy of a file I've written? possibilities include:

Second RFC on pkg-data idea for ports

2004-04-13 Thread Garance A Drosihn
[this is BCC'ed to -hackers and -arch just so everyone has a chance to see it, but I expect the bulk of the discussion should take place on the freebsd-ports mailing list] Back in January I send out a long-ish email asking for feedback on some ideas I had for the ports-collection. I

Re: Fundraising for FreeBSD development.

2004-04-09 Thread Garance A Drosihn
At 5:18 PM -0400 4/8/04, John Von Essen wrote: Hi, Have a few questions for you. Would the fund raising be handled through FreeBSD or direct to you? He has answered that. Funding direct to PHK. Please READ the web page that you quoted from his original message:

Re: Adventures with gcc: code vs object-code size

2004-03-21 Thread Garance A Drosihn
At 10:22 AM -1000 3/21/04, Clifton Royston wrote: Date: Sat, 20 Mar 2004 From: Garance A Drosihn So, by adding one call to strcmp() to check for a : string, I end up with /bin/ps (the stripped-object-file) which has grown by 12.6% !! This is for a program which is almost 2500 lines

Re: Adventures with gcc: code vs object-code size

2004-03-21 Thread Garance A Drosihn
At 2:52 PM -0800 3/21/04, Kip Macy wrote: The heuristics vary from platform to platform - what does objdump -d show? Based on what I see from that, the 'ps.o' which has the extra strcmp is about 40 bytes larger than the one without it. And now that you mention it, doing a plain 'ls -l' of ps.o

RE: Adventures with gcc: code vs object-code size

2004-03-21 Thread Garance A Drosihn
At 7:35 PM -0500 3/21/04, Don Bowman wrote: From: Garance A Drosihn [mailto:[EMAIL PROTECTED] So maybe this has something to do with how linking is done for ELF modules. Unfortunately, I need to be concentrating on something else right now... It's not just bumping you up another module 4K

Adventures with gcc: code vs object-code size

2004-03-20 Thread Garance A Drosihn
I have written a fairly major set of changes to the `ps' command, which is available as: http://people.freebsd.org/~gad/ps-susv3.diff Debate/discussion about the changes themselves actual changes should be going on in the freebsd-standards mailing list. So for purposes of this mailing list,

Re: Style(9) and portability

2004-03-06 Thread Garance A Drosihn
At 12:18 PM -0800 3/6/04, Tim Kientzle wrote: ... I've been scratching my head over how to deal with the version ID code that is supposed to apear as the first two lines of any FreeBSD source file: #include sys/cdefs.h __FBSDID($FreeBSD$); Clearly, I cannot reasonably assume that all platforms

HEADSUP: Commits Planned for 64-bit time_t on sparc64

2004-02-23 Thread Garance A Drosihn
[this is being BCC'ed to -arch and -hackers just to make sure that everyone is aware of this before changes are committed, but I expect all of the discussion to happen on -current] Sparc64 users (including me) have said that we'd like the sparc64 port to be running with a 64-bit time_t

Re: Adding 'realclean' target to /usr/src/Makefile

2004-02-15 Thread Garance A Drosihn
At 10:19 AM -0700 2/15/04, M. Warner Losh wrote: In message: [EMAIL PROTECTED] Garance A Drosihn [EMAIL PROTECTED] writes: : realclean : : rm -Rf ${.OBJDIR}/* I'd make that be more like: realclean : @chflags -R 0 ${.OBJDIR}/* @rm -Rf ${.OBJDIR}/* If you can

Re: Adding 'realclean' target to /usr/src/Makefile

2004-02-15 Thread Garance A Drosihn
At 10:19 AM -0700 2/15/04, M. Warner Losh wrote: If you can tolerate errors in the output, the following is faster because the chflags has lots less work to do: realclean : @rm -Rf ${.OBJDIR}/* @chflags -R 0 ${.OBJDIR}/* @rm -Rf ${.OBJDIR}/* After some testing, I am

Adding 'realclean' target to /usr/src/Makefile

2004-02-14 Thread Garance A Drosihn
In the instructions I am writing up for a sparc64 change, I wrote that people should: rm -Rf /usr/obj/usr/src/* to make sure they got rid of everything in the previous buildworld. Some developers reminded me that this isn't always the right thing to do (depending on symlinks or on various

Re: SCM options (was Re: Where is FreeBSD going?)

2004-01-11 Thread Garance A Drosihn
At 10:00 AM + 1/11/04, Doug Rabson wrote: On Sun, 2004-01-11 at 00:05, Peter Jeremy wrote: I disagree. Andrew raised two issues (type of license and port vs base location). The type of license is an input to the decision as to which SCM to choose - BSD preferable ... Subversion has a

Re: SCM options (was Re: Where is FreeBSD going?)

2004-01-10 Thread Garance A Drosihn
At 7:27 PM -0800 1/9/04, Pedro F. Giffuni wrote: Hi; There is a comparison here: http://better-scm.berlios.de/comparison/comparison.html I think there are compelling reasons to try subversion, but we have to wait for a 1.0 Release, and this would be something that should be done gradually.. for

Re: SCM options (was Re: Where is FreeBSD going?)

2004-01-10 Thread Garance A Drosihn
At 9:05 AM -0800 1/10/04, Pedro F. Giffuni wrote: --- Garance A Drosihn [EMAIL PROTECTED] wrote: That's a pretty major test! Could we perhaps pick off something smaller? The projects repository, for instance? (or is that still tied to the base-system?) SVN is meant to be a replacement

Re: SCM options (was Re: Where is FreeBSD going?)

2004-01-10 Thread Garance A Drosihn
At 9:35 PM + 1/10/04, Andrew Boothman wrote: Peter Schuller wrote: Most of the noteworthy features of subversion are listed on the project front page: http://subversion.tigris.org/ A significant one of which is the fact that it's available under a BSD-style license. Meaning that the

Re: Where is FreeBSD going?

2004-01-07 Thread Garance A Drosihn
At 12:42 PM +0100 1/7/04, Dag-Erling Smørgrav wrote: Paul Robinson [EMAIL PROTECTED] writes: If 5.3, when it arrives, is genuinely production ready, trust me, the drinks are on me - I will do my absolute best to get to the next BSDcon and get everybody drunk on an expense account. If it

Re: Where is FreeBSD going?

2004-01-07 Thread Garance A Drosihn
At 9:57 AM -0500 1/7/04, Leo Bicknell wrote: Speaking with a user hat on, I'll comment on what I believe is the crux of the 5.x issue. The take away I see is that this was too big of a chunk. The next bite planned needs to be smaller. I agree with this observation, but then it's easy to see that

Re: FBSD 5-CURRENT: Kernel Makefile.inc1 Error

2003-12-08 Thread Garance A Drosihn
At 12:41 PM -0500 12/8/03, Damian Gerow wrote: Thus spake Garance A Drosihn ([EMAIL PROTECTED]) [06/12/03 03:31]: From the above description, it sounds like you are running on a 5.1 system, and you are trying to compile a 5.2 kernel. Is this true? If the system you are on is 5.1, then you

Re: Reward for fixing keyboard support in FreeBSD, apply within

2003-12-07 Thread Garance A Drosihn
At 6:13 PM +0100 12/7/03, Blaz Zupan wrote: In the last couple of days I've been fighting with a evaluation IBM BladeCenter. [...] My company would really like to deploy the Bladecenter as it is otherwise a very solid solution for our problem. But 99.9% of our servers are FreeBSD and the above

Re: FBSD 5-CURRENT: Kernel Makefile.inc1 Error

2003-12-06 Thread Garance A Drosihn
At 1:45 AM -0600 12/6/03, William M. Grim wrote: Hey there! I'm having a slight problem performing a build on my FreeBSD 5.1 machine. I downloaded the 5-CURRENT source code and only added the line, device pcm to the GENERIC kernel, renaming it to ZEUS. Then, I went into /usr/src and typed

Re: Experimental FreeBSD and Linux kernel source cross reference web site

2003-10-30 Thread Garance A Drosihn
At 11:18 PM -0500 10/29/03, Robert Watson wrote: In the past when browsing the Linux source code, I've made extensive use of the Linux Cross-Reference (LXR) hosted at lxr.linux.no. For FreeBSD, we provide a cvsweb interface that is extremely useful for tracking changes, but a little less useful

Re: sshd source code

2003-10-17 Thread Garance A Drosihn
At 7:08 PM -0400 10/16/03, Adil Katchi wrote: I'm looking for the sshd source code for freebsd 4.7. Any idea where I can find it in the CVS tree? if you have the source tree on your machine (and if it has been there for a week or so), then use the 'locate' command: locate openssh You'll get a

Re: Any workarounds for Verisign .com/.net highjacking?

2003-09-16 Thread Garance A Drosihn
At 10:23 AM -1000 9/16/03, Clifton Royston wrote: In the meantime I'm trying to figure out if there's some simple hack to disregard these wildcard A records, short of requesting zone transfers of the root nameservers (e.g. via peering with f.root-servers.net) and purging those records out of the

Re: A new sort utility

2003-09-15 Thread Garance A Drosihn
At 8:53 PM +1000 9/15/03, Tim Robbins wrote: Comments/patches are welcome. As the History suggestion of the manual page suggests, my plan is to get this in to FreeBSD 6, along with replacements for some other GNU tools. Might we put this in freebsd-current (5.x), but under some other name?

Re: A new sort utility

2003-09-15 Thread Garance A Drosihn
At 9:47 PM -0400 9/15/03, Richard Coleman wrote: Garance A Drosihn wrote: At 8:53 PM +1000 9/15/03, Tim Robbins wrote: Comments/patches are welcome. As the History suggestion of the manual page suggests, my plan is to get this in to FreeBSD 6, along with replacements for some other GNU tools

Re: getfsent(3) and spaces in fstab

2003-07-31 Thread Garance A Drosihn
At 10:16 PM -0400 7/31/03, Chris BeHanna wrote: Sorry, I should have written that I have performed tests: Here is what I did: test\ 1 /mnt/test\ 1ufs ro 0 0 'test 2''/mnt/test 2' ufs ro 0 0 test 3

Re: generalized mergemaster(8)

2003-03-21 Thread Garance A Drosihn
At 10:15 AM -0800 3/21/03, Tim Kientzle wrote: On Thu Mar 20, 2003, Brandon D. Valentine wrote: I need to recursively merge two directories of source files in which I wish to preserve some original files, install some replacement files outright, and only actually go to the trouble of sdiff(1)ing

Re: lpc problem with LinkSys print servers

2003-03-04 Thread Garance A Drosihn
At 11:31 AM -0600 3/3/03, Peter Elsner wrote: This particular printer is a high load printer, printing about 50 to 70 pages at a time. Occasionally, the printer just stops while printing. We have to force a 'lpc restart lsjd1p2' command several times to get the printer to restart again. You will

Re: scan_ffs for UFS2

2003-02-23 Thread Garance A Drosihn
At 3:40 PM +0100 2/23/03, Michael Ranner wrote: Am Freitag, 21. Februar 2003 Garance wrote: I don't know how find-sb compares to the program you're talking about, but they sound kind of similar. Scan_ffs can print the lost disklabel for use with disklabel(8). Find-sb, that version from cvs,

Re: scan_ffs for UFS2

2003-02-21 Thread Garance A Drosihn
At 10:20 PM +0100 2/19/03, Michael Ranner wrote: Hello! I am trying to learn scan_ffs (original from OpenBSD, ported to FreeBSD by Robert Watson) about UFS2 on 5-CURRENT, but it will not find the Superblock and I dont understand exactly both for loops, especially that 512 byte increment. Scan_ffs

Re: where's my pr gone? - supplemental

2003-02-16 Thread Garance A Drosihn
At 12:05 AM +0100 2/16/03, Friedemann Becker wrote: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/47512 this happens only with the above link, i.e. from the pr summary. searching for the bugid 47512 works (= not empty) someone want to look at this? The above link worked fine for me. I

Re: Trailing whitespace in FreeBSD

2003-02-10 Thread Garance A Drosihn
On Monday, February 10, 2003, at 03:00 PM, Simon L. Nielsen wrote: I have noticed that that several FreeBSD files (.c, .h and so on) have trailing whitespace (spaces/tabs after last charecter on a line). Should I send patches for this, or is it not important to fix? It might be nice to fix,

Re: Modifying mergemaster behavior

2003-02-08 Thread Garance A Drosihn
At 3:21 AM -0800 2/5/03, Doug Barton wrote: On Mon, 3 Feb 2003, Amit Rao wrote: Allow users to pass regexps to ignore as an option? similar to: diff --ignore-matching-lines=\$FreeBSD: ? I decided to be more general, and added the DIFF_OPTIONS variable to the script, and an example of

Re: [eugene@securityarchitects.com: Re: Preventing exploitationwith rebasing]

2003-02-04 Thread Garance A Drosihn
At 2:10 PM -0600 2/4/03, Brandon D. Valentine wrote: On Tue, Feb 04, 2003 at 11:51:14AM -0800, Justin Lundy wrote: Has similar work been done in FreeBSD been done? This would be a nice feature in 5.0-CURRENT. We had SecureBSD, and the IBM port of propolice, but both projects appear to be

Re: Modifying mergemaster behavior

2003-02-04 Thread Garance A Drosihn
At 11:43 PM -0800 2/4/03, Doug Barton wrote: On Tue, 4 Feb 2003, Garance A Drosihn wrote: At 10:36 PM -0800 2/3/03, Doug Barton wrote: There's a section of mergemaster that starts out with the comment Do an absolute diff first to see if the files are actually different. That's an option

Re: Modifying mergemaster behavior

2003-02-03 Thread Garance A Drosihn
At 9:12 AM -0800 2/3/03, Doug Barton wrote: On Mon, 3 Feb 2003, Dag-Erling Smorgrav wrote: Doug Barton [EMAIL PROTECTED] writes: On Tue, 28 Jan 2003, Garance A Drosihn wrote: Well for one thing, if a given file has a lot of changes, then I would like mergemaster to skip over

Re: Modifying mergemaster behavior

2003-02-03 Thread Garance A Drosihn
At 10:36 PM -0800 2/3/03, Doug Barton wrote: On Mon, 3 Feb 2003, Garance A Drosihn wrote: I added: -I '$FreeBSD:.*$' to the 'diff ${DIFF_FLAG}' command in diff_loop, and it seems to have worked the way I wanted it to work. How did you want it to work? (This isn't a rhetorical

Re: Lower power SMP boxes?

2003-01-31 Thread Garance A Drosihn
At 3:12 PM -0800 1/31/03, Matthew Dillon wrote: But MP is another story. At some point I would like to put together some SMP test boxes that don't cost the equivalent of rent on a small apartment in electricity use. They don't have to be super-fast, they just need to be SMP.

Re: pw(8): $ (dollar sign) in username

2002-12-27 Thread Garance A Drosihn
At 12:45 PM -0500 12/27/02, Craig Rodrigues wrote: On Fri, Dec 27, 2002 at 11:35:45AM -0600, Ryan Thompson wrote: Problem is, smb requires a '$' at the end of the username, which our pw(8) doesn't allow. The same patch which you proposed was suggested on the freebsd-current list. See the

Re: Bootable FreeBSD CD

2002-12-20 Thread Garance A Drosihn
At 7:12 PM -0800 12/20/02, Sean Hamilton wrote: Greetings, How does the kernel on the FreeBSD install CD know which device to mount as root? I'm assuming it hasn't got a ROOTDEVNAME config option, since that would make it fairly specific to certain hardware. Mine always tries to mount fd0.

Re: utmp/utmpx improvement

2002-12-19 Thread Garance A Drosihn
At 10:48 PM +0100 12/19/02, Michael Ranner wrote: Hello! I have done some research for utmp improvement for FreeBSD and found the following URL which sounds very intersting: http://lists.debian.org/debian-bsd/2002/debian-bsd-200202/msg00142.html The author has posted an article in

Re: Fw: lpd and lprm broken?

2002-11-25 Thread Garance A Drosihn
On 11/25/02, Peter Elsner [EMAIL PROTECTED] wanted to know: Hello All... Something appears to be broken with lpq and lprm. I'm writing a Perl script to easily allow users to manage printers/jobs from a easy to use interface. 1st problem (lpq): man lpq displays the use as follows: NAME

Re: [ GEOM tests ] vinum drives lost

2002-10-04 Thread Garance A Drosihn
At 9:02 PM +0200 10/4/02, Poul-Henning Kamp wrote: There are numerous architectural issues which have never been fixed in vinum, and one or more of these bits now. Whoever loves vinum will have to chase it/them down and fix it. If I receive patches or requests for changes to GEOM as result of

Re: vmware reads disk on non-sector boundary

2002-10-03 Thread Garance A Drosihn
At 10:11 AM +0200 10/3/02, Mark Santcroos wrote: On Thu, Oct 03, 2002 at 09:04:04AM +0100, Ian Dowse wrote: See the patch I posted in: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=0+6285+/usr/local/www/db/text/2002/freebsd-emulation/20020908.freebsd-emulation There may still be

Re: Request for submissions: FreeBSD Bi-Monthly DevelopmentStatus Report (fwd)

2002-07-18 Thread Garance A Drosihn
At 8:45 PM -0400 7/18/02, Robert Watson wrote: I've seen many base system developers commit man pages, but few commit to the docbook/sgml side of things in the doc project. [...] The FreeBSD src developer community is, after all, a community of people who write software that frequently ships with

Re: Adding readdir entries to the name cache ...

2002-07-05 Thread Garance A Drosihn
At 6:29 AM +0930 7/6/02, Richard Sharpe wrote: Hmmm, I think that the major part of the problem there was that, for what ever reason, Barry Feigenbaum of IBM, declined to add a Change Working Directory or Set Working Diretory command to the SMB protocol. Thus, at least for the SMB protocol, and

Re: AMI MegaRAID + Reboot issues

2002-07-02 Thread Garance A Drosihn
At 4:49 PM +0100 7/2/02, Byron Schlemmer wrote: Hi, I've posted on this before, and I've received no reply. I'm cross-posting just in case it was missed before (I am desperate for help) and to ask for further advice. Basically we have a number of FreeBSD servers, running 4.5-RELEASE and

Re: Security through obscurity? (was: ssh + compiled-in SKEYsupport considered harmful?)

2002-04-23 Thread Garance A Drosihn
At 2:37 PM -0400 4/23/02, Robert Watson wrote: Here I'll disagree with you: we make a concerted effort to produce a system that is safe to use. This involves a number of things, and it doesn't just mean security fixes. I would argue that we have a moral obligation to do so. I agree that there

Re: Security through obscurity? (was: ssh + compiled-in SKEYsupport considered harmful?)

2002-04-23 Thread Garance A Drosihn
At 8:44 AM +0930 4/24/02, Greg 'groggy' Lehey wrote: On Tuesday, 23 April 2002 at 12:06:01 +0200, Jochem Kossen wrote: *shrug* I was the one who sent in the patch. It was added some time around 2001/10/26 to the XFree86-4 megaport. When the metaport was created, the patch was

Re: ssh + compiled-in SKEY support considered harmful?

2002-04-22 Thread Garance A Drosihn
At 6:40 PM -0700 4/22/02, Peter Wemm wrote: Mike Meyer wrote: Jordan Hubbard [EMAIL PROTECTED] typed: My question: Who's wrong here, FreeBSD or Mac OS X? If the latter, Someone decided that FreeBSD should do challengeresponse authentication by default. You can fix it by uncommenting

Re: ipcrm/shmctl failure

2002-04-09 Thread Garance A Drosihn
At 8:45 PM +1000 4/9/02, [EMAIL PROTECTED] wrote: Please don't make me use the kernel debugger... waa I believe Terry suggested: ...set the DISPLAY environment variable so that it uses a real network connection, instead of a UNIX domain socket (and thus allows the use of the MIT

Re: C-struct dismantling tool...

2002-03-21 Thread Garance A Drosihn
At 12:57 PM -0800 3/21/02, Julian Elischer wrote: On Thu, 21 Mar 2002, John Polstra wrote: I thought about the .stabs approach too, and thought it seemed promising. Even better might be to use -gdwarf -g3, which in theory at least would provide information about #defines. For

Re: Where are the TCP patches for 4.4?

2002-03-08 Thread Garance A Drosihn
At 2:48 PM -0800 3/8/02, Julian Elischer wrote: On Fri, 8 Mar 2002, Kenneth Culver wrote: If you want, I can make you some patches, I think I still remember when they went in... however I can't do any more than that... I'm sure I can get them, I'm just trying to find who it was that

Re: RFC: style(9) isn't explicit about booleans for testing -- anactual analysis of the code!

2002-03-07 Thread Garance A Drosihn
At 2:16 AM -0500 3/7/02, Brian T.Schellenberger wrote: Maybe your brain has gotten used to it, but to us ordinary mortals, even us ordinary mortals who've been slogging C code for time periods that can be measured in decades (yikes!), it is very tempting to read if (!strcmp(a,b,l)) as if the

Re: RFC: style(9) isn't explicit about booleans for testing.

2002-03-06 Thread Garance A Drosihn
In one message, At 12:52 AM -0800 3/6/02, David O'Brien wrote: I don't think it is clarifying a rule. I think it is in fact adding a rule. You are extrapolating too much I think. All the rule is trying to prevent is if (!strcmp(a,b)) which when read is extremely wrong of that is actually

Re: RFC: style(9) isn't explicit about booleans for testing.

2002-03-06 Thread Garance A Drosihn
At 7:49 PM +0100 3/6/02, Poul-Henning Kamp wrote: Garance A Drosihn writes: In one message, At 12:52 AM -0800 3/6/02, David O'Brien wrote: I don't think it is clarifying a rule. I think it is in fact adding a rule. You are extrapolating too much I think. All the rule is trying

Re: C vs C++

2002-03-05 Thread Garance A Drosihn
At 5:07 PM +0300 3/5/02, Eugene L. Vorokov wrote: Hello, I have a small problem. I work for software development company and write daemons and console tools for Unix. My boss wants everything to be written in C++, because he thinks C++ is cool. I prefer C for such tasks, but I cannot really put

Re: lpd filter stderr log files

2002-02-15 Thread Garance A Drosihn
At 3:16 PM +0100 2/15/02, Konrad Heuer wrote: Unfortunately, some changes in the lpd code that happened last year (as far as I remember) are very disadvantageous for the operation of our (heavily loaded) printer server which is based on FreeBSD for years now. Well, I'm willing to see what we can

Re: MAC address

2002-02-08 Thread Garance A Drosihn
At 4:10 AM +0300 2/9/02, Vladislav V. Anikiev wrote: Hello Brian, The MAC address - I meen The Media Access Control address (i.e., ethernet hardware address, not IP address). I want to use the default hardware (not current physical ) address in my license management software. Why did

Re: Overriding ARG_MAX

2002-01-08 Thread Garance A Drosihn
At 10:54 PM -0500 1/4/02, David Miller wrote: What I usually want to do is something more like ls *.out |wc -l, or grep something *.data or cat *.foo | grep something. I have rebuilt the system in the past after greatly expanding ARG_MAX, and that does what I want. I'm just looking for an easy

Re: Oh my god, Google has a USENET archive going back to 1981!

2002-01-08 Thread Garance A Drosihn
Okay. Could we move the trip(s) down memory lane to some other mailing list? I'm certainly old enough to wax nostalgic about many things, but somehow freebsd-hackers doesn't seem to be an appropriate place to do that. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems

Re: NFS Patch #4 -- survived overnight test. (was Re: Found NFSdata corruption bug... (was Re:...))

2001-12-13 Thread Garance A Drosihn
At 10:35 AM -0800 12/13/01, Matthew Dillon wrote: Are there still bugs in NFS? You bet! I'm sure there are bugs related to multiple clients and/or the server modifying files out from under a client, and I think the potential issue with nfsiod ordering that was posted to the

Re: bin/32261: dump creates a dump file much larger than sum ofdumped files

2001-12-04 Thread Garance A Drosihn
While on the topic of 'dump', note that there's also the patch in http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/32414 which fixes a problem where dump will include information that should not be included (due to the nodump flag being set). This too would result in dump files larger than

Re: wctype.h

2001-12-03 Thread Garance A Drosihn
At 2:54 PM -0600 12/3/01, Alfred Perlstein wrote: * Sergey Matveychuk [EMAIL PROTECTED] [011203 07:55] wrote: Hi! Why widechar functions is not implemented? Is there real difficulty? And can I get it somwhere from a external lib? I need towupper, towlower and iswspace. If you can

Re: FreeBSD on vmware

2001-11-15 Thread Garance A Drosihn
At 7:35 AM -0800 11/15/01, John Baldwin wrote: On 15-Nov-01 Glenn Gombert wrote: Thanks for the tip Ian ...this works great! I have applied this patch to my desktop system ...and the FreeBSD Current kernel with this patch applied boots right up now...anyone else running Current under

Re: syslogd and kqueue

2001-10-27 Thread Garance A Drosihn
At 11:29 AM -0700 10/27/01, Terry Lambert wrote: Mike Barcroft wrote: I recommend using newsyslog(8) for rotating log files. I recommend _NOT_ using newsyslog for rotating files. The problem is that newsyslog doesn't rewrite history. As an example, say you have [...] Now you can only rotate

RE: FYI

2001-10-17 Thread Garance A Drosihn
At 12:50 PM -0700 10/17/01, Jordan Hubbard wrote: I fully support your idea of offering a bounty to anyone writing drivers for your cards and think you're being more than generous in offering it. I wish more vendors would do that and I'm sorry that this discussion has gotten as polarized as it

Re: POSIX compatibility issue

2001-09-06 Thread Garance A Drosihn
I imagine Garrett and other standards-minded people have already seen this question, but I thought I'd echo it to the freebsd-standards mailing list. It's about a PR which makes a minor change to sys/types.h to solve some compile-time errors so that a program compiled with -D_POSIX_SOURCE

Re: Allocate a page at interrupt time

2001-08-07 Thread Garance A Drosihn
At 12:39 AM -0700 8/7/01, Mike Smith wrote: It also has the unfortunate property of locking us into virtual wire mode, when in fact Microsoft demonstrated that wiring down interrupts to particular CPUs was good practice, in terms of assuring best performance. Specifically, running in

Re: Allocate a page at interrupt time

2001-08-07 Thread Garance A Drosihn
At 9:55 AM -0700 8/7/01, Matt Dillon wrote: : It also has the unfortunate property of locking us into virtual : wire mode, when in fact Microsoft demonstrated that wiring down : interrupts to particular CPUs was good practice, in terms of : assuring best performance. [...] : : Terry, this is

Re: How to visit physical memory above 4G?

2001-08-04 Thread Garance A Drosihn
At 10:57 PM -0700 8/3/01, Terry Lambert wrote: Rik van Riel wrote: This is a trivial implementation. I'm not very impressed. Personally, I'm not interested in a huge user space, Maybe not you, but I bet the database and scientific computing people will be interested in having 64 GB

  1   2   3   >