Re: replacing grep(1)

1999-07-30 Thread Dag-Erling Smorgrav
Daniel C. Sobral d...@newsguy.com writes: Dag-Erling Smorgrav wrote: To be precise, I experience a 30% decrease in system time and a 100% increase in user time when I use RE_STARTEND and eliminate the malloc() / memcpy() calls in procfile(). Could you please test my patch that removes

Re: replacing grep(1)

1999-07-30 Thread Dag-Erling Smorgrav
Daniel C. Sobral d...@newsguy.com writes: Could you please test my patch that removes malloc() but bot memcpy()? Here it is again, though against an old version: Bingo. REG_STARTEND is significantly more expensive than memcpy(). DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no

Re: readdirplus is very cool, any other nfs client suggestions?

1999-08-02 Thread Dag-Erling Smorgrav
/Makefile.pc98 src/usr.bin/Makefile src/usr.bin/chflags/Makefile src/usr.bin/chpass/Makefile src/usr.bin/passwd/Makefile DES -- Dag-Erling Smorgrav - d...@yes.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Dag-Erling Smorgrav
to make the modification, and I'm willing to do all the work, assuming no one on -committers objects.. The correct way to do this is to fix getservbyname() so it accepts port numbers. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Dag-Erling Smorgrav
Sheldon Hearn sheld...@uunet.co.za writes: On 02 Aug 1999 13:05:17 +0200, Dag-Erling Smorgrav wrote: The correct way to do this is to fix getservbyname() so it accepts port numbers. Would this not still require modifications to /etc/services for services not already mentioned in that file

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Dag-Erling Smorgrav
Daniel Eischen eisc...@vigrid.com writes: Dag-Erling Smorgrav wrote: The correct way to do this is to fix getservbyname() so it accepts port numbers. Are you sure this is what you want? Yes. It may allow an application to use a port number that would

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Dag-Erling Smorgrav
-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: readdirplus is very cool, any other nfs client suggestions?

1999-08-02 Thread Dag-Erling Smorgrav
Matthew Dillon dil...@apollo.backplane.com writes: The buildworld chflags problems were fixed around a month ago I think. No, I fixed them in february or march. DES -- Dag-Erling Smorgrav - d...@yes.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers

Re: readdirplus is very cool, any other nfs client suggestions?

1999-08-02 Thread Dag-Erling Smorgrav
Tim Vanderhoek vand...@ecf.utoronto.ca writes: Set INSTALLFLAGS_EDIT=:S/schg/,/ to remove these when doing a make world, if needed. Please try to understand what the issue is before butting in. DES -- Dag-Erling Smorgrav - d...@yes.no To Unsubscribe: send mail to majord...@freebsd.org

Re: readdirplus is very cool, any other nfs client suggestions?

1999-08-02 Thread Dag-Erling Smorgrav
on NFSv3 localhost mounts. Yeah, I was doing installworlds with /usr, /usr/src and /usr/obj NFS-mounted (in a chroot tree on the server, because I got tired of doing it over PLIP). DES -- Dag-Erling Smorgrav - d...@yes.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe

Re: BSD voice synthesis

1999-08-04 Thread Dag-Erling Smorgrav
does with English, seeing as you guys have nearly phonetic spelling. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: Results of investigating optimizing calloc()...

1999-08-04 Thread Dag-Erling Smorgrav
. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: Results of investigating optimizing calloc()...

1999-08-05 Thread Dag-Erling Smorgrav
Peter Jeremy jere...@gsmx07.alcatel.com.au writes: Dag-Erling Smorgrav d...@flood.ping.uio.no wrote: The idea is to keep a chunk of zeroes on disk and DMA it into memory Have you looked at disk latencies recently? A modern CPU could zero- fill a decent fraction of its RAM in the time taken

Re: Results of investigating optimizing calloc()...

1999-08-05 Thread Dag-Erling Smorgrav
what I f###ing wrote* The issue is not speed, because this is something we do in the background when there's nothing else to do. The issue is to avoid thrashing the cache. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe

Re: fetch: default to passive mode?

1999-08-05 Thread Dag-Erling Smorgrav
. = DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: fetch: default to passive mode?

1999-08-06 Thread Dag-Erling Smorgrav
Daniel O'Connor docon...@gsoft.com.au writes: Speaking of fetch features.. Are there any plans to make fetch use a http proxy for ftp requests like ftp does? Yes. I intend to implement this in libfetch when I get around to rewriting the HTTP code. DES -- Dag-Erling Smorgrav - d

Re: ignoretime in login.conf??

1999-08-06 Thread Dag-Erling Smorgrav
-programmer. I'll put this on my list if no one else wants to take it, and submit a PR. login.conf is a capability database like any other and therefore follows the syntax described in the getcap(3) man page. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
systems. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: Unsafe code in libc in 3.0-RELEASE FreeBSD i386

1999-08-11 Thread Dag-Erling Smorgrav
suggest that a careful audit by somebody who knows this code (or at least knows what it's supposed to do). DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no Index: src/lib/libc/locale/setlocale.c === RCS file: /home/ncvs/src/lib/libc

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
of file systems too? That's totally dependent on the particular file system. For instance, a swap partition contains no metadata (that I know of), so all you can do is deduce it's size and position from the sizes and positions of surrounding partitions, and of the slice they're in. DES -- Dag-Erling

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Dag-Erling Smorgrav
Josef Karthauser j...@pavilion.net writes: On Wed, Aug 11, 1999 at 06:23:24PM +0200, Dag-Erling Smorgrav wrote: Josef Karthauser j...@pavilion.net writes: Ahha - of course. Ok, let me re-phrase the question then. By looking at the contents of the superblocks on a UFS file system it's

Re: BSD XFS Port BSD VFS Rewrite

1999-08-12 Thread Dag-Erling Smorgrav
BSD and GPL bits, as long as the GPL bits come with full source. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: New tests for test(1)

1999-08-12 Thread Dag-Erling Smorgrav
idea to add some new tests to test(1), to compare files based on criteria like size or modification date? NetBSD's test(1) utility has this (-nt and -ot). We should probably merge in their changes. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord

Re: BSD XFS Port BSD VFS Rewrite

1999-08-12 Thread Dag-Erling Smorgrav
Jason Thorpe thor...@nas.nasa.gov writes: On 12 Aug 1999 11:01:06 +0200 Dag-Erling Smorgrav d...@flood.ping.uio.no wrote: This prevents you from relicensing BSD software under the GPL. It does not prevent you from selling an OS that has both BSD and GPL bits, as long as the GPL bits

Re: [Review please] (was: Re: cvs commit: src/gnu/usr.bin/man/manpath manpath.config)

1999-08-16 Thread Dag-Erling Smorgrav
Ruslan Ermilov r...@freebsd.org writes: How about the following patch. It adds an OPTIONAL_MANPATH directive, which is equivalent to the MANDATORY_MANPATH, except an absence of the directory is not considered an error. Sure. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no

Re: Init(8) cannot decrease securelevel

1999-09-06 Thread Dag-Erling Smorgrav
. instead? DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: CFD: bogomips CPU performance metric

1999-09-06 Thread Dag-Erling Smorgrav
a scientologist. DES (http://www.moviebbs.com/gallery/samples/s-025-ka.jpg) -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: Init(8) cannot decrease securelevel

1999-09-07 Thread Dag-Erling Smorgrav
... patches...) -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: More press

1999-09-12 Thread Dag-Erling Smorgrav
is open and documented, so there's nothing to stop someone from writing a small command-line util that does the equivalent of netscape -remote except faster and better. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd

Re: CS Project

1999-09-12 Thread Dag-Erling Smorgrav
is only available in -CURRENT. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: How to prevent motd including os info

1999-09-12 Thread Dag-Erling Smorgrav
the output while it runs. The only solution I can think of is the following: fsck_output=$(/sbin/fsck -p | /bin/tee /dev/console) /sbin/mount -at nonfs echo ${fsck_output} /var/run/fsck.boot but I don't expect people to be happy about moving tee(1) from /usr/bin to /bin. DES -- Dag-Erling Smorgrav

Re: How to prevent motd including os info

1999-09-12 Thread Dag-Erling Smorgrav
stepped my clock 23 seconds for some reason, thats why this (usually means a clock chip has gone zonkers :-)): Doesn't ntpdate log what it does with syslog? If not, I think whichever syscall it is that ntpdate uses to adjust the time should printf() or log() the change. DES -- Dag-Erling

Re: How to prevent motd including os info

1999-09-13 Thread Dag-Erling Smorgrav
people never achieve much. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: More press

1999-09-13 Thread Dag-Erling Smorgrav
been moved, deleted, or incorporated into another part of Netscape's site. To report a broken link, please send a message to feedback. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body

Re: submiting source code ?

1999-09-14 Thread Dag-Erling Smorgrav
Jeroen Ruigrok/Asmodai asmo...@wxs.nl writes: The Unix Programming Environment by Rob Pike and Ritchie Kerninghan Ritchie Kernighan? Who's Ritchie Kernighan? DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd

Re: style question

1999-09-17 Thread Dag-Erling Smorgrav
Gregory Bond g...@itga.com.au writes: Us humans can see that j is not used without being set, but cc can't. How do I remove this warning in a style(9)-compatible way? Initialize j. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org

<    1   2   3   4   5