Re: Dramatic cron changes are premature Was: Re: cvs commit: src/usr.sbin/cron/cron cron.8 cron.c cron.h

2001-01-21 Thread Peter Pentchev
On Sun, Jan 21, 2001 at 07:33:43PM -0800, Doug Barton wrote: You need to back out your changes and let the people who are proposing a more complete solution which has been widely discussed and agreed to have time to finish their work and send it to -arch for more discussion. Your

Re: packet redirection design problem [Divert Sockets Fragmentation revisited]

2001-01-27 Thread Peter Pentchev
On Fri, Jan 26, 2001 at 09:00:54PM +0100, mouss wrote: "IP filtering engines" that do something to packet based on rule matching have a problem when fragmentation comes to play. In the case of a "packet redirector' such as divert, the problem is that only the first fragment will match the

Re: Bash2 removes SSH_CLIENT from the environment

2001-01-30 Thread Peter Pentchev
On Mon, Jan 29, 2001 at 03:09:30PM -0500, Patrick Bihan-Faou wrote: Hi, I am writing some script that looks for the SSH_CLIENT environment variable. As specified in the sshd(8) man page, this variable should contain the IP address of the client, the port number on the client side and the

Re: EBCDIC - ASCII

2001-01-31 Thread Peter Pentchev
On Wed, Jan 31, 2001 at 02:37:43PM -0500, Garance A Drosihn wrote: [snip good explanation why EBCDIC encoding diffs matter] Now, it's perfectly reasonable to try 'dd's conversion, and see if that works for you. But if it doesn't, then rummage around thru the ports collection, and see if

Re: escape sequence for 'Ic' terminal capability

2001-01-31 Thread Peter Pentchev
On Tue, Jan 09, 2001 at 10:05:01AM +0200, Peter Pentchev wrote: Hi, I'm thinking of messing with the syscons ioctl handler to allow setting of color values - all EGA- and VGA-compatible video controllers allow this. The idea is to later define my termcap(5) entry to let ncurses deal

ncurses tic(1)

2001-02-01 Thread Peter Pentchev
Is there a way to build tic(1) from the ncurses distribution in src/contrib/ncurses? I know there is one in the ncurses port, but for some reason it is not built in the base system. How do I go about enabling it in the build process? There are also several other utilities in

Re: Suboptimal mmap of devices on i86

2001-02-02 Thread Peter Pentchev
On Thu, Feb 01, 2001 at 01:19:24PM -0800, John Baldwin wrote: On 01-Feb-01 Doug White wrote: On Mon, 29 Jan 2001, John Baldwin wrote: Then only rename it in 4.x We can do an API change for 5.0. We'll be renaming syscall2() back to syscall() in 5.0 for example. We don't want to end

Re: EBCDIC - ASCII

2001-02-02 Thread Peter Pentchev
On Fri, Feb 02, 2001 at 12:34:47AM -0500, Louis A. Mamakos wrote: Warner Losh writes: Even the name (dd) comes from IBM's control language (JSYS?). Huh! I never realized that. //GO.SYSIN DD * ... // Where are my punch cards? :-) man 6 bcd Come to think of it, since

Re: strace

2001-02-02 Thread Peter Pentchev
On Fri, Feb 02, 2001 at 05:44:06PM +, milunovic wrote: Is there strace for FreeBSD? Do a man -k trace, you'll see manual pages about everything related to 'trace'. In particular, man 1 ktrace man 1 truss G'luck, Peter -- If this sentence were in Chinese, it would say something else.

Re: Suboptimal mmap of devices on i86

2001-02-02 Thread Peter Pentchev
On Fri, Feb 02, 2001 at 11:16:15AM -0800, John Baldwin wrote: On 02-Feb-01 Peter Pentchev wrote: On Thu, Feb 01, 2001 at 01:19:24PM -0800, John Baldwin wrote: On 01-Feb-01 Doug White wrote: On Mon, 29 Jan 2001, John Baldwin wrote: Then only rename it in 4.x We can do an API

make -f Makefile.bsd depend fails

2001-02-05 Thread Peter Pentchev
Hi, I'm trying to write a cross-platform, cross-make compatible app. Thus, there is a Makefile.bsd and a Makefile.gnu, with Makefile being a symlink the user makes to the appropriate file. If Makefile points to Makefile.bsd, 'make depend' works fine. If, however, I invoke a make -f Makefile.bsd

Re: make -f Makefile.bsd depend fails

2001-02-05 Thread Peter Pentchev
could be improved though :) G'luck, Peter -- Do you think anybody has ever had *precisely this thought* before? On Mon, Feb 05, 2001 at 07:33:19PM +0200, Peter Pentchev wrote: Hi, I'm trying to write a cross-platform, cross-make compatible app. Thus, there is a Makefile.bsd and a Makefile.gnu

Re: unsubscribe

2001-02-07 Thread Peter Pentchev
On Tue, Feb 06, 2001 at 11:48:26PM -0500, Ed Gold wrote: To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message This would work better if you actually read the mails you're receiving, and send the update request to [EMAIL PROTECTED], not

Re: unsubscribe freebsd-hackers

2001-02-07 Thread Peter Pentchev
On Wed, Feb 07, 2001 at 12:43:00PM +0300, Dmitry Dicky wrote: unsubscribe freebsd-hackers To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message This would work better if you actually read the mails you are receiving, and send the

Re: multiple IP addresses in /etc/hosts

2001-02-08 Thread Peter Pentchev
On Thu, Feb 08, 2001 at 11:41:59AM -0500, Eric Fiterman wrote: Hi: Is it possible to have an application like ping or telnet iterate through IP addresses for a given hostname, if a previous attempt fails? For example: in /etc/hosts: --- 0.0.0.1 testhost 0.0.0.2

Re: multiple IP addresses in /etc/hosts

2001-02-08 Thread Peter Pentchev
On Fri, Feb 09, 2001 at 02:06:31AM +0900, Hajimu UMEMOTO wrote: On Thu, 8 Feb 2001 18:51:50 +0200 IPv6 aware applications in base system such as telnet, ssh... do round-robbin so that it can be fall back to use IPv4 if IPv6 connection is fail. Errr.. oops. I must have been on something.

Re: OpenSSH 2.5.1

2001-02-22 Thread Peter Pentchev
On Wed, Feb 21, 2001 at 10:23:30AM +0900, Tomoyuki Murakami wrote: --Repost--- If duplicated, ignore this. thanks. --- Hi I have made a patch to up ssh version 2.3.0(FreeBSD-current) to recently released OpenSSH 2.5.1. Too rough

Re: IOmega ZIP problem

2001-02-22 Thread Peter Pentchev
On Thu, Feb 22, 2001 at 01:19:33PM -0600, Michael C . Wu wrote: On Thu, Feb 22, 2001 at 07:40:16PM +0100, Torbjorn Kristoffersen scribbled: | Hi I'm using 4.2-RELEASE, with a parallel port ZIP drive (100M). | Whenever I copy a large file from the zip drive (for example /dev/da0s1), | the "cp"

Re: Stupid debugging pthread question

2001-03-01 Thread Peter Pentchev
On Thu, Mar 01, 2001 at 12:44:39PM -0500, Peter Dufault wrote: This is a stupid question, basically it's how to debug something. I have four cooperating p-threaded processes. One of them keeps getting a SIGSEGV with the address 0x752f422f. I'm not sure if that address is always the same,

Re: blow fish

2001-03-02 Thread Peter Pentchev
On Fri, Mar 02, 2001 at 01:23:01PM +0100, milunovic wrote: Does anybody have blow fish for FreeBSD or know wehere to find it? I just want to change password encription from MD5 to blow fish:o) A little question: why? MD5 seems to be secure enough. Other than that, look at the

Re: blow fish

2001-03-02 Thread Peter Pentchev
On Fri, Mar 02, 2001 at 02:26:03PM +0200, Peter Pentchev wrote: On Fri, Mar 02, 2001 at 01:23:01PM +0100, milunovic wrote: Does anybody have blow fish for FreeBSD or know wehere to find it? I just want to change password encription from MD5 to blow fish:o) A little question: why? MD5

Re: Trouble with quotas on FreeBSD 4.2-STABLE

2001-03-09 Thread Peter Pentchev
On Thu, Mar 08, 2001 at 06:48:23PM -0800, Matt Dillon wrote: :I am running a system with a 50GB /home drive. One user is experiencing :inconsistencies, for him the system reports being over disk quota. :du -sk reports 1.7GB utilization, quota reports 5.2GB. I've been checking :the entire

Re: Qmail + MYSQL

2001-03-09 Thread Peter Pentchev
On Fri, Mar 09, 2001 at 06:16:16PM +0200, Mustafa Deeb wrote: hi, Qmail has the capabillity of storing Email inside a table with MYSQL and do POP3 from it as well is it better to go this approach , or the standard homedir way is better? need some openions "It depends". If you have a

Re: Kernel compile problems

2001-03-13 Thread Peter Pentchev
On Mon, Mar 12, 2001 at 05:24:14PM -0500, Elliott Perrin wrote: I just did a cvs of src-all this morning, remade the world and am trying to compile a new kernel. I am able to make depend, but I just tried to do the make and got the following errors [TCPDEBUG compile error log snipped]

Re: httpfs

2001-03-14 Thread Peter Pentchev
On Sat, Mar 10, 2001 at 03:15:15AM -0800, Kris Kennaway wrote: A few of us were talking on IRC tonight about how cool it would be to have an httpfs filesystem -- then it occurred to me we almost have this already, in the form of the (under-utilised) portalfs. Portalfs works by handing off

Re: httpfs

2001-03-16 Thread Peter Pentchev
On Fri, Mar 16, 2001 at 05:46:49AM +, Tony Finch wrote: Peter Pentchev [EMAIL PROTECTED] wrote: What I did was implement an 'exec' portal method, which executes a program with given arguments, obtained from the path components and portal.conf rules, and returns a - basically read-only

Re: status of KSE?

2001-03-16 Thread Peter Pentchev
On Fri, Mar 16, 2001 at 12:59:24PM +0800, David Xu wrote: Hello Julian, Friday, March 16, 2001, 12:18:15 PM, you wrote: JE David Xu wrote: I wonder status of KSE, I am dreaming rewrite our application server using kqueue+pthread(KSE), current, we use poll()+pthread because

Re: httpfs

2001-03-17 Thread Peter Pentchev
On Sat, Mar 17, 2001 at 04:53:34PM +0100, Dag-Erling Smorgrav wrote: Peter Pentchev [EMAIL PROTECTED] writes: There was at the time - socketpair(2) had totally slipped my mind ;) Umm, you want pipe(2), not socketpair(2). Actually, I want socketpair(2). pipe(2) was what I used before

Re: kernel panic

2001-03-20 Thread Peter Pentchev
You could take a look at www.FreeBSD.org/handbook/kerneldebug.html and provide a bit more details about that crash; at the very least, a 'where' or 'bt' would be useful. After we've seen the 'where' results, it would be easier to isolate the function that caused the panic; then you could use

Re: The right way to build a new world WAS: 4.3-BETA world crashin g 4.2-RELEASE kernel ?

2001-03-23 Thread Peter Pentchev
On Thu, Mar 22, 2001 at 06:01:16PM -0700, Matt Simerson wrote: OK, let's approach this from a little different angle: Below is the appropriate entries from /usr/src/UPDATING on a FreeBSD 4-stable machine. As of 2/2/2001, the most correct and safest method for updating your FreeBSD machine

Re: Displaying options for current NFS mounts

2001-03-25 Thread Peter Pentchev
On Sun, Mar 25, 2001 at 02:18:43PM +1000, Bruce Evans wrote: On Sat, 24 Mar 2001, Dima Dorfman wrote: I tried to export this stuff in struct statfs, but ran into a problem: I'd need the complete definitions of fs_args in sys/mount.h, but I can't include, e.g., nfs/nfs.h because the

Re: Patch to disallow the build of modules

2001-03-25 Thread Peter Pentchev
On Sun, Mar 25, 2001 at 11:23:20AM -0700, Warner Losh wrote: In message [EMAIL PROTECTED] Maxime Henrion writes: : Here is a patch to select the modules you want and don't want. : The patch is for /usr/src/sys/modules/Makefile from RELENG_4. My patch is even simpler: Index: Makefile

Re: Need advice (server continue dies)

2001-03-27 Thread Peter Pentchev
On Tue, Mar 27, 2001 at 02:09:32PM +0400, Dmitry Samersoff wrote: Daniel O'Connor wrote: On 27-Mar-01 Dmitry Samersoff wrote: I also have a kernel crash dump and could post it here if no one can give me a good advice without it ;-))) If you haven't compiled the kernel with

Re: Need advice (server continue dies)

2001-03-27 Thread Peter Pentchev
On Tue, Mar 27, 2001 at 05:03:49PM +0400, Dmitry Samersoff wrote: Peter Pentchev wrote: On Tue, Mar 27, 2001 at 02:09:32PM +0400, Dmitry Samersoff wrote: Daniel O'Connor wrote: On 27-Mar-01 Dmitry Samersoff wrote: I also have a kernel crash dump and could post it here

Re: accessing ide

2001-03-28 Thread Peter Pentchev
On Wed, Mar 28, 2001 at 02:01:54PM +0200, Sandeep Kohli wrote: hi, i am writing kinda fdisk program..now when i opened /dev/hda in linux and tried to lseek to the mbr it worked but its not working in freebsd when i am trying to access /dev/wd0 i donot want to use disklabel.h thanks I think

Re: accessing ide

2001-03-28 Thread Peter Pentchev
On Wed, Mar 28, 2001 at 05:08:40AM -0800, Julian Elischer wrote: Ceri Storey wrote: On Wed, Mar 28, 2001 at 11:36:25AM +0300, Peter Pentchev wrote: [...] And btw, another part of your problem could be that FreeBSD has used ad, not wd, for ATAPI devices access for some time

Re: 4.3-RC bug in /usr/bin/netstat

2001-03-28 Thread Peter Pentchev
On Wed, Mar 28, 2001 at 03:42:10PM +0200, Jose M. Alcaide wrote: Jim Mercer wrote: netstat gets a bus error if handed the -a option and the -i option. Me too: $ uname -v FreeBSD 4.3-RC #0: Wed Mar 28 15:11:51 CEST 2001 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SATURNO $ netstat

Re: 4.3-RC bug in /usr/bin/netstat

2001-03-28 Thread Peter Pentchev
On Wed, Mar 28, 2001 at 09:19:04AM -0500, Michael Lucas wrote: Broken on a few days old -current as well: turtledawn~;netstat -ia Name Mtu Network AddressIpkts IerrsOpkts Oerrs Coll lp0* 1500 Link#1 0 00 0 0 lo0

Re: openssl/mdX.h and mdX.h name clashes

2001-04-02 Thread Peter Pentchev
On Mon, Apr 02, 2001 at 05:03:20PM +0700, Max Khon wrote: hi, there! /usr/include/mdX.h and /usr/include/openssl/mdX.h both declare structures and functions with the same name (structures are a bit different) and this is a bit troublesome for applications that want to link with both -lmd

Re: Dynamic routing table (problem solved, was: server continue dies)

2001-04-02 Thread Peter Pentchev
On Mon, Apr 02, 2001 at 02:03:37PM +0400, Dmitry Samersoff wrote: My servers had died every 12h and I spend lots of time to solve problem, I hope the result of my work is interesting for community. The main reason of server fault is overloading of dynamic routing table (netstat -nra | grep

Re: Who call setitimer( )?

2001-04-09 Thread Peter Pentchev
On Sun, Apr 08, 2001 at 03:07:25AM +0800, ªL­^¶W wrote: Dear all: I trace the FreeBSD kernel source , and I can't find program call the function "setitimer()", Is it a callout function to call it ? I will appreciate if anyone give me some advice setitimer() is defined in

Re: netinet/accf_http.c usage ?

2001-04-12 Thread Peter Pentchev
On Thu, Apr 12, 2001 at 07:52:39AM +, [EMAIL PROTECTED] wrote: Hi, I can't seem decipher the functionality of the accf_http.c file in the netinet directory ... I also couldn't find any documents that describe its purpose is it an HTTP filter or something like that ? Have you

Re: Quota reporting is inaccurate.

2001-04-14 Thread Peter Pentchev
On Fri, Apr 13, 2001 at 03:48:28PM -0600, Matt Simerson wrote: Another thought is that this user may have had files still open. Even if you "remove" a file, it really does not go away until the last open handle is closed. That seems like the most likely possibility. However, only one

Re: vm balance

2001-04-14 Thread Peter Pentchev
On Sat, Apr 14, 2001 at 09:34:26AM -0500, Matthew D. Fuller wrote: On Thu, Apr 12, 2001 at 02:24:36PM -0700, a little birdie told me that Matt Dillon remarked Without vmiodirenable turned on, any directory exceeding vfs.maxmallocbufspace becomes extremely expensive to work with

Re: Idea about modules build

2001-04-16 Thread Peter Pentchev
On Sat, Apr 14, 2001 at 07:51:31PM +0400, Vladimir B. Grebenschikov wrote: I have idea about modules build/install process: May be it need to create some makefile variable like KERNEL_MODULES, that can be defined in /etc/make.conf to limit list of modules to build/install, it is not

Re: Dilemma.

2001-04-19 Thread Peter Pentchev
On Thu, Apr 19, 2001 at 11:31:52AM -0400, Paul Halliday wrote: Hi. I will try to make this quick. I am writting a little monitoring script in bash and I have run into a little stumbling block. Basically, one of the checks this program will perform is to take a fingerprint of the

Re: PCI - PCMCIA Bridge Adapter

2001-04-23 Thread Peter Pentchev
On Mon, Apr 23, 2001 at 08:25:56PM +0200, Lists Account wrote: Hi All, I just was wondering if anyone out there knew of any drivers that support the pccard PCI - PCMCIA bridge adapter, also made by pccard (see www.pccard.co.uk), similar to the ISA - PCMICIA bridge adapter that is currently

Re: Trouble with 4.3-RELEASE compiler

2001-04-28 Thread Peter Pentchev
On Fri, Apr 27, 2001 at 05:15:31PM -0700, David O'Brien wrote: On Fri, Apr 27, 2001 at 07:40:22PM -0300, Joao Carlos Mendes Luis wrote: I was installing a squid server with 4.3-RELEASE, and found that FreeBSD has now a bug in the compiler that affects squid. The default compilation of

Re: sysctl(8) and opaque MIB entries

2001-05-07 Thread Peter Pentchev
On Mon, May 07, 2001 at 07:24:39PM +0200, Dag-Erling Smorgrav wrote: Sheldon Hearn [EMAIL PROTECTED] writes: On 07 May 2001 18:51:22 +0200, Dag-Erling Smorgrav wrote: Yes it will, with -X. The interesting question is why there isn't an option to make it display just one variable in hex,

Re: sysctl(8) and opaque MIB entries

2001-05-07 Thread Peter Pentchev
On Mon, May 07, 2001 at 07:43:39PM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Sheldon Hearn writes: On 07 May 2001 18:51:22 +0200, Dag-Erling Smorgrav wrote: Yes it will, with -X. The interesting question is why there isn't an option to make it display just one

Re: sysctl(8) and opaque MIB entries

2001-05-07 Thread Peter Pentchev
On Mon, May 07, 2001 at 07:52:15PM +0200, Dag-Erling Smorgrav wrote: Peter Pentchev [EMAIL PROTECTED] writes: How about e.g. 'sysctl -a hw', which still shows *all* MIB's? At least on ref5 as of this very moment.. Yes, because '-a' means 'show all non-opaque' and 'hw' is ignored. OK, so

Re: bin/27205: Listing all users in the passwd file

2001-05-09 Thread Peter Pentchev
I'd think id(1) would be a more proper place, as it already knows how to format various passwd(5) and group(5) information. How about the attached patch? (and I'm probably starting another of those bikesheds as to whether new options should be added to existing utilities..) G'luck, Peter --

Re: kernel size..

2001-05-10 Thread Peter Pentchev
On Thu, May 10, 2001 at 11:51:18AM +0100, vishwanath pargaonkar wrote: Hi, i have free bsd 4.2 stable. i did some changes may be 10-15 lines to kernel source. but thing i am amazed is kernel size. size of kernel.GENERIC is 3258128. but as of my kernel is 13068130 when i cheked it. my

Re: xargs(1) replstr patch

2001-05-12 Thread Peter Pentchev
Seconded :) G'luck, Peter -- Do you think anybody has ever had *precisely this thought* before? On Sat, May 12, 2001 at 11:04:42AM +0100, Brian Somers wrote: I'd suggest going ahead and committing it ASAP - before people start ``discussing'' it again :oI Feel free to blame me for

Re: adding a new function to libc

2001-05-12 Thread Peter Pentchev
On Sat, May 12, 2001 at 05:05:44PM +0300, Valentin Nechayev wrote: Hello Daniel Hemmerich! [snip] Here strnlen() is used which is non-standard but I saw it in ~4 quite different projects (e.g. Linux kernel) with identical interface and result value; a variant of implementation follows:

Re: UFS block size vs. write speed

2001-04-24 Thread Peter Pentchev
On Tue, Apr 24, 2001 at 10:43:29AM +0100, Bob Bishop wrote: Hi, At 11:35 24/04/01 +0200, Niek Bergboer wrote: [...] In fact, I couldn't care less if the allocated blocks contain random data (rather than zeros), since I'll be overwriting them immediately. You *should* care: the blocks

Re: More PCI-PCMCIA bridge stuff

2001-04-26 Thread Peter Pentchev
On Thu, Apr 26, 2001 at 02:02:40PM +0200, Lists Account wrote: Hi All Ok, the newcard stuff under version 5 picks up my bridge fine, and it finds my wi0 (orinoco gold card) perfectly, this is all great and I was rather ecstatic as I watched it boot and tell me all this... However the

Re: xargs(1) replstr patch

2001-05-15 Thread Peter Pentchev
On Mon, May 14, 2001 at 11:31:53PM -0400, Garance A Drosihn wrote: At 4:09 AM +0200 5/15/01, Cyrille Lefevre wrote: Brian Somers [EMAIL PROTECTED] writes: I'd suggest going ahead and committing it ASAP - before people start ``discussing'' it again :oI from my point of view, it would

Re: sysctl to disable reboot

2001-05-22 Thread Peter Pentchev
On Tue, May 22, 2001 at 09:43:01AM +0800, David Xu wrote: Hello Jon, Tuesday, May 22, 2001, 12:30:44 AM, you wrote: JP I thought it would be useful to have a sysctl for disabling the JP keyboard reboot sequence. This functionality is currently JP available through the SC_DISABLE_REBOOT

Re: technical comparison

2001-05-23 Thread Peter Pentchev
On Wed, May 23, 2001 at 08:17:12AM -0400, Andresen,Jason R. wrote: On Tue, 22 May 2001, Kris Kennaway wrote: On Tue, May 22, 2001 at 10:27:27PM +0300, Nadav Eiron wrote: I ran tests that I think are similar to what Jason ran on identically configured FreeBSD and Linux/ReiserFS

Re: gcc (cpp) include search path problem

2001-05-25 Thread Peter Pentchev
On Thu, May 24, 2001 at 05:55:38AM -0400, Brent Verner wrote: Hi, I'm not sure if this has been the default for gcc/cpp on FBSD for a while but I noticed it since some ports failed to build due to includes (present in /usr/local/include) not being found. Has this changed, or is that

Re: cvsup problems

2001-05-28 Thread Peter Pentchev
On Mon, May 28, 2001 at 01:48:10PM +0100, Koster, K.J. wrote: Dear All, Over the past few days I've been getting this error when I make update: ... Checkout ports/www/hypermail/files/patch-docs::Makefile.in Delete ports/www/jakarta-tomcat/files Updater failed: Cannot delete

Re: cvsup problems

2001-05-28 Thread Peter Pentchev
On Mon, May 28, 2001 at 05:04:18AM -0700, Kent Stewart wrote: What am I doing wrong? You need to remove the lines containing jakarta-tomcat in the checkouts.cvs* file /usr/sup/ports-all/ Some people have been able to just rm the port and others have had to also edit the checkouts

Re: Preliminary Tuning man page (was Re: Benchmarking FreeBSD (was ...))

2001-05-30 Thread Peter Pentchev
On Wed, May 30, 2001 at 10:50:32AM -0400, Michael Adler wrote: Thank you for the tuning page! I and, I fear, others made the mistake of assuming that because SOFTUPDATES is in the kernel that it is automatically enabled for the disks. Nothing printed during boot leads me to believe

Re: Fixing documented bug in env(1)

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 02:03:38AM -0400, Garance A Drosihn wrote: At 9:12 PM -0700 6/1/01, Dima Dorfman wrote: Honestly, I don't care about this all that much. I'll let you and David debate this to your liking. If no consensus develops in the next few days, I'll just commit what I have

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: * Jiangyi Liu [EMAIL PROTECTED] [010601 20:25] wrote: Hi all, After just changing a little in sys/kern/kern_sig.c, how can I rebuild the kernel fast? I think it should not take such a long time as 'make buildkernel'

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 04:31:45AM -0700, Kris Kennaway wrote: On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote: On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: * Jiangyi Liu [EMAIL PROTECTED] [010601 20:25] wrote: Hi all, After just changing

Re: How to recompile kernel after minor changes?

2001-06-02 Thread Peter Pentchev
On Sat, Jun 02, 2001 at 02:35:32PM +0300, Peter Pentchev wrote: On Sat, Jun 02, 2001 at 04:31:45AM -0700, Kris Kennaway wrote: On Sat, Jun 02, 2001 at 11:58:23AM +0300, Peter Pentchev wrote: On Fri, Jun 01, 2001 at 09:07:28PM -0400, Alfred Perlstein wrote: * Jiangyi Liu [EMAIL PROTECTED

Re: make installworld hacking

2001-06-07 Thread Peter Pentchev
On Wed, Jun 06, 2001 at 12:42:15PM -0700, Gordon Tetlow wrote: I have a problem, I installed a bunch of machines with a very stripped down set of distributions (bin, man, dict, krb5). I'd like to update the machines, but when I do an installworld, it's going to install a bunch more than that.

Re: rpc.statd

2001-06-07 Thread Peter Pentchev
On Wed, Jun 06, 2001 at 09:39:39PM -0700, Dan Phoenix wrote: Jun 6 18:48:10 www rpc.statd: invalid hostname to sm_stat: ^XF7FFBF^XF7FFBF^ZF7FF BF^ZF7FFBF%8x%8x%8x%8x%8x%8x%8x%8x%8x%62716x%hn%51859x%hnM-^PM-^PM-^PM-^PM-^PM-^PM-^PM-^PM- [snip] this is a message in messages before a kernel

free() and const warnings

2001-06-07 Thread Peter Pentchev
Hi, Is free((void *) (size_t) ptr) the only way to free a const whatever *ptr with WARNS=2? (or more specifically, with -Wcast-qual) G'luck, Peter -- I've heard that this sentence is a rumor. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the

Re: free() and const warnings

2001-06-07 Thread Peter Pentchev
On Thu, Jun 07, 2001 at 07:07:22PM +0300, Peter Pentchev wrote: Hi, Is free((void *) (size_t) ptr) the only way to free a const whatever *ptr with WARNS=2? (or more specifically, with -Wcast-qual) Uhm. OK. So size_t may not be enough to hold a pointer. What is it then - caddr_t? G'luck

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Thu, Jun 07, 2001 at 10:20:51AM -0700, John Baldwin wrote: On 07-Jun-01 Peter Pentchev wrote: On Thu, Jun 07, 2001 at 07:07:22PM +0300, Peter Pentchev wrote: Hi, Is free((void *) (size_t) ptr) the only way to free a const whatever *ptr with WARNS=2? (or more specifically

Re: problem with systm.h trying to call resettodr()

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 12:47:31PM +0100, Rasputin wrote: I'm playing with resettodr(9), to set the BIOS clock from the system time.. When I try to compile the following snippet, [rasputin@dogma rasputin]$ cat b0rken.c #include sys/time.h #include sys/types.h #include sys/systm.h

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 06:55:50AM -0400, Thomas David Rivers wrote: Peter Pentchev [EMAIL PROTECTED] wrote: On Thu, Jun 07, 2001 at 10:20:51AM -0700, John Baldwin wrote: On 07-Jun-01 Peter Pentchev wrote: On Thu, Jun 07, 2001 at 07:07:22PM +0300, Peter Pentchev wrote: Hi

Re: problem with systm.h trying to call resettodr()

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 01:49:12PM +0100, Rasputin wrote: * Peter Pentchev [EMAIL PROTECTED] [010608 13:35]: On Fri, Jun 08, 2001 at 12:47:31PM +0100, Rasputin wrote: I'm playing with resettodr(9), to set the BIOS clock from the system time.. As others pointed out, resettodr(9

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 08:51:54AM -0400, Thomas David Rivers wrote: GCC complains when I try to initialize the structure with something like: struct validation_fun val_init[] = { {init,valfun_init,0} }; This can be avoided by: struct validation_fun

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 03:02:56PM +0200, Assar Westerlund wrote: Peter Pentchev [EMAIL PROTECTED] writes: GCC complains when I try to initialize the structure with something like: struct validation_fun val_init[] = { {init,valfun_init,0} }; This can

Re: free() and const warnings

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 03:09:53PM +0200, Assar Westerlund wrote: Peter Pentchev [EMAIL PROTECTED] writes: My explanation was a reply to a suggestion to remove the 'const' in the structure definition. My fault. The code that I should have shown was without the 'const'. With gcc 2.95.3

Re: Access to symbol table(including dynamics) at runtime

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 12:09:39PM -0500, Kevin Day wrote: Is there a simple way that I can lookup a symbol name(by address) during runtime? I know I can exec nm, look up for the address I need, and get local symbols, but it would be really nice if I could get addresses of functions

Re: Wide character support - wchar.h?

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 07:51:08PM +0200, Stefan Hoffmeister wrote: What are the status of / plans for support of select wide character routines, such as the ones declared in wchar.h? Particularly, I am looking for wcsoll, towupper, and towlower - IOW, the whole barrage of wide character

Re: sysKonnect dual gig adapter

2001-06-08 Thread Peter Pentchev
On Fri, Jun 08, 2001 at 03:55:55PM -0400, [EMAIL PROTECTED] wrote: In a message dated 06/08/2001 1:28:22 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: 1) Can this be used as a 2 port gigabit NIC? 2) Does this NIC have hardware failover (that is, when power is cut the 2

Re: oct() doesn't handle binary strings

2001-06-11 Thread Peter Pentchev
On Sat, Jun 09, 2001 at 08:12:48PM -, [EMAIL PROTECTED] wrote: This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.26 running under perl 5.00503. - [Please enter your report here]

Re: Plan to import NetBSD rc system

2001-06-13 Thread Peter Pentchev
On Wed, Jun 13, 2001 at 11:20:03AM +0300, Danny Braniss wrote: few points to add/concider: I share the /usr/local among many machines, so /usr/local/etc/rc.d is becoming 'problematic', rc.conf should be involved in the decission to run xxx.sh start/stop on other platforms, i've modified

Re: rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Peter Pentchev
On Thu, Jun 14, 2001 at 10:49:11AM +0300, Danny Braniss wrote: I've asked -ports before whether it is suitable to let ports startup scripts honor /etc/rc.conf{,.local} settings by sourcing /etc/defaults/rc.conf and then running a source_rc_confs (or whatever is appropriate). my

Re: rc, was: Re: Plan to import NetBSD rc system

2001-06-14 Thread Peter Pentchev
On Thu, Jun 14, 2001 at 08:59:16PM +0200, Karsten W. Rohrbach wrote: Peter Pentchev([EMAIL PROTECTED])@2001.06.14 20:19:27 +: OK, and what do I do if I want to manually start/stop the service later, and it needs variables defined in /etc/rc.conf{,local} ? if [ x${_RC_CONF} != x1

Re: Re: import NetBSD rc system [summary]

2001-06-14 Thread Peter Pentchev
On Thu, Jun 14, 2001 at 12:03:02PM -0700, David O'Brien wrote: On Thu, Jun 14, 2001 at 10:48:49AM -0700, Jordan Hubbard wrote: I think that since we use CVS around here, we should simply import the Some time tonight I will be vendor importing the NetBSD rc system. (no it will not be

Re: Sysadmin article

2001-06-15 Thread Peter Pentchev
On Fri, Jun 15, 2001 at 02:09:19AM -0700, Terry Lambert wrote: Mike Silbersack wrote: Rather than a tuned configuration, what would be useful is a script that would evaluate a system and give tuning hints. This might be simple for someone familiar with shell scripting or perl. It could

Re: Query: How to tell if Microsoft is using BSD TCP/IP code?

2001-06-15 Thread Peter Pentchev
With the full knowledge that what I'm saying will probably be of no use, I have a personal friend who is a Microsoft certified developer, with full access to the source code of most Windows versions and other well-known Microsoft apps. He has told me more than once that, yes, the NT TCP/IP stack

Re: Query: How to tell if Microsoft is using BSD TCP/IP code?

2001-06-17 Thread Peter Pentchev
On Sun, Jun 17, 2001 at 01:16:20PM +0200, Jeroen Massar wrote: Jordan Hubbard [EMAIL PROTECTED] wrote: I've had several marketing types approach me recently for details as to whether or not Microsoft was using the BSD TCP/IP stack and/or user utilities, and though it's always been common

Re: Article Network performance by OS

2001-06-18 Thread Peter Pentchev
On Mon, Jun 18, 2001 at 12:34:53PM +0200, Karsten W. Rohrbach wrote: Dag-Erling Smorgrav([EMAIL PROTECTED])@2001.06.17 07:48:27 +: Second, we tried turning write caching on ATA drives off by default, and boy were you (the user community) pissed. Yes, turning wc off shows you just

Re: whois(1) patch for review

2001-06-21 Thread Peter Pentchev
On Thu, Jun 21, 2001 at 04:08:21PM +0300, Alexey Zelkin wrote: hi, I have made few modifications to whois(1) to shut up BDECFLAGS warnings, cleanup code, and add new features. [snip] Resume: with this patch included to add new country's whois server we'll need to add only one string to

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
On Fri, Jun 22, 2001 at 06:39:09PM +0100, j mckitrick wrote: Here is the code for a scsi removable media drive. If this is to become a module, the cam/scsi attachment must be removed. I have tried calling cam_sim_free() and xpt_bus_deregister() but when the module is reloaded, the cam

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
Isn't this what 'camcontrol rescan' is for? G'luck, Peter -- This sentence contains exactly threee erors. On Sat, Jun 23, 2001 at 10:38:53AM -0700, Matthew Jacob wrote: But the unit numbers can and do recycle. On Sat, 23 Jun 2001, Peter Pentchev wrote: On Fri, Jun 22, 2001 at 06:39

Re: how to invalidate scsi connection to driver module

2001-06-23 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 08:09:46PM +0100, j mckitrick wrote: On Sat, Jun 23, 2001 at 10:38:53AM -0700, Matthew Jacob wrote: | | But the unit numbers can and do recycle. So the question is then, how can i get it to do that? If 'camcontrol rescan' would do what you want, then look at how it

Re: Two Junior Kernel Hacker tasks..

2001-06-23 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 12:23:35PM -0700, Terry Lambert wrote: make buildkernel is rather easy way to work it around: in any case object tree is machine-dependent, and one yet another directory does not destroy anything. ;| The make buildkernel approach sucks for incremental builds,

Re: Two Junior Kernel Hacker tasks..

2001-06-23 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 02:03:53PM -0700, Terry Lambert wrote: Peter Pentchev wrote: Terry, this is simply not true. Even in -stable, config(8) is smart enough to try reading the opt_*.h files, and not change them if they already contain the values it is about to write

Re: Two Junior Kernel Hacker tasks..

2001-06-24 Thread Peter Pentchev
On Sat, Jun 23, 2001 at 10:44:51PM -0700, John Baldwin wrote: On 23-Jun-01 Peter Pentchev wrote: On Sat, Jun 23, 2001 at 12:23:35PM -0700, Terry Lambert wrote: make buildkernel is rather easy way to work it around: in any case object tree is machine-dependent, and one yet another

Re: include directive in config(8) (was: Two Junior Kernel Hacker tasks..)

2001-06-25 Thread Peter Pentchev
On Mon, Jun 25, 2001 at 08:27:35AM +0300, Valentin Nechayev wrote: Mon, Jun 25, 2001 at 00:05:36, clefevre-lists (Cyrille Lefevre) wrote about Re: include directive in config(8) (was: Two Junior Kernel Hacker tasks..): how about undef options XXX and undef device XXX, etc. ?

Re: swapping bytes, fpos_t

2001-06-26 Thread Peter Pentchev
On Tue, Jun 26, 2001 at 06:06:59AM -0700, Marc van Woerkom wrote: Oh yes, and I used fpos_t in all parts of libdvdread, that were used for seeking. Is this ugly, should better use the uint64 type burried deep with the machine dependent headers? What is good coding practice here? For

  1   2   3   4   5   >