Re: sysctl(8) and opaque MIB entries

2001-05-07 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > Sheldon Hearn <[EMAIL PROTECTED]> writes: > > Is there a good reason why sysctl(8) won't display _any_ output for > > opaque MIB entries named as arguments? > Yes it will, with -X. The interesting question is

Re: sysctl(8) and opaque MIB entries

2001-05-07 Thread Dag-Erling Smorgrav
ex, and why it doesn't print a message when it omits printing an opaque variable. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Getting peer credentials on a unix domain socket

2001-05-06 Thread Dag-Erling Smorgrav
rt's content even if you're no longer root. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: squeeze freeBSDs' kernel size

2001-05-06 Thread Dag-Erling Smorgrav
rnel Ask the freebsd-small mailing list. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: FPU exception, kernel panic

2001-05-06 Thread Dag-Erling Smorgrav
e segment descriptor. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Fetching an index of an FTP site using fetch...

2001-05-01 Thread Dag-Erling Smorgrav
hrough the source of fetch and libfetch, and > it seems like there's some stub code that hasn't been flushed out > completely. Anyone know of any plans to finish this up? Feel free to send patches :) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail

Re: gcc -O bug

2001-04-26 Thread Dag-Erling Smorgrav
Jason Andresen <[EMAIL PROTECTED]> writes: > Dag-Erling Smorgrav wrote: > > I ran into this bug while analyzing a customer's logs to determine the > > best time of day for an upgrade. The original script was in Perl, but > > I rewrote it in C because it was t

Re: gcc -O bug

2001-04-26 Thread Dag-Erling Smorgrav
- and in any case, this is irrelevant. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

gcc -O bug

2001-04-26 Thread Dag-Erling Smorgrav
712 20 | 816 21 |## 2446 22 |###### 500 23 |## 326 DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] /* * Copyright (c) 2001 ThinkSec AS. All rights reserved. * * $ThinkSec$ */ #include #include #include #include static int

Re: tuning a VERY heavily (30.0) loaded s cerver

2001-03-24 Thread Dag-Erling Smorgrav
eate approximately one 68GB swap partition. "approximately one"? :) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: kernel panic

2001-03-20 Thread Dag-Erling Smorgrav
Peter Pentchev <[EMAIL PROTECTED]> writes: > 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. That, and a dmesg, or at least una

Re: Debuging kernel crashes

2001-03-20 Thread Dag-Erling Smorgrav
an do about cleaning them up and committing them. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: apache truss readings

2001-03-20 Thread Dag-Erling Smorgrav
Dan Phoenix <[EMAIL PROTECTED]> writes: > [...] Try ktrace instead, it provides much more detailed information. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Greater than 2GB per process

2001-03-17 Thread Dag-Erling Smorgrav
ut the setting of the break. Ahem. The other way around, actually (we increased KVM space from 256 MB to 1 GB - not 2 GB as you claim). And the problem with legacy BSDI binaries (newer ones don't have this problem) was fixed a long time ago, in 3.0 (before 3.0-RELEASE). DES -- Dag-Erling Smo

Re: httpfs

2001-03-17 Thread Dag-Erling Smorgrav
Peter Pentchev <[EMAIL PROTECTED]> writes: > 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(

Re: httpfs

2001-03-17 Thread Dag-Erling Smorgrav
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). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-h

Re: context or unified diffs in PRs?

2001-03-10 Thread Dag-Erling Smorgrav
* 1,7 ! the little ! horse ! jumped ! over ! the ! fence --- 1,7 ! three ! ducks ! swim ! in ! a little ! pond des@flood ~% diff -u old new --- old Sun Mar 11 03:07:31 2001 +++ new Sun Mar 11 03:08:08 2001 @@ -1,7 +1,7 @@ -the +three +ducks +swim +in +a little -horse -jumped -over

Re: Intel PRO/100+ PCI problem

2001-03-10 Thread Dag-Erling Smorgrav
& PLAY OS" *on* and add 'options PNPBIOS' to your kernel. If that doesn't solve your problem, we have a bug. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: systat -vmstat or iostat IO help

2001-03-05 Thread Dag-Erling Smorgrav
43991 freevnodes > > well vmstat showing 100% busy and iostat showing 10% busy.. No, -vmstat and -iostat are showing 13 and 12 tps (transactions per second), respectively. -iostat doesn't show a "busy percentage". DES -- Dag-

Re: how to actually find out whether data hit the disk?

2001-03-02 Thread Dag-Erling Smorgrav
e" (note to self: get more sleep) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: how to actually find out whether data hit the disk?

2001-03-02 Thread Dag-Erling Smorgrav
Anton Berezin <[EMAIL PROTECTED]> writes: > So is there a way, or is not? No. If there was a way to tell it'd be a bug. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: how to actually find out whether data hit the disk?

2001-03-02 Thread Dag-Erling Smorgrav
e > > disk, but would like to *know* when it nevertheless does. > OK, doing a stat and checking the mtime should give you > the info at the expense of polling, I can't think of another way. Won't help. You'll get the same mtime no matter whether the file is actually

Re: Setting memory allocators for library functions.

2001-02-28 Thread Dag-Erling Smorgrav
Tony Finch <[EMAIL PROTECTED]> writes: > What about setrlimit(RLIMIMT_DATA)? Yep, I'd forgotten about that. Malloc() will return NULL if you hit your data size limit. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "

Re: Setting memory allocators for library functions.

2001-02-25 Thread Dag-Erling Smorgrav
"Daniel C. Sobral" <[EMAIL PROTECTED]> writes: > It doesn't work. The application killed by reason of insufficient > resources is not (necessarily) the one that causes the page fault > leading to that. This is arguably a bug which needs to be fixed. DES --

Re: Compaq e500, 3com cardbus card help

2001-02-25 Thread Dag-Erling Smorgrav
Kenneth Wayne Culver <[EMAIL PROTECTED]> writes: > On 24 Feb 2001, Dag-Erling Smorgrav wrote: > > Kenneth Wayne Culver <[EMAIL PROTECTED]> writes: > > > FreeBSD supports cardbus in -CURRENT, but I wouldn't expect it to ever > > > support cardbus in 4.x.

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
ilable before you actually get to dirty the pages that were allocated. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] (Peter Seebach) writes: > In message <[EMAIL PROTECTED]>, Dag-Erling Smorgrav writes: > >Malloc() does not overcommit - the kernel does. Malloc() doesn't know > >and doesn't care. > But it could still probably force the behavior. Barring kernel

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > if (sigsetjmp(env) == -1) { Blah, this should be if (sigsetjmp(env, 1) == -1) { DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers"

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
ll give you a chunk of memory that's already mapped and you'll be fine, but sometimes (when allocating beyond what was previously used) it won't. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
thing until you dirty one page too many and segfault. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Compaq e500, 3com cardbus card help

2001-02-24 Thread Dag-Erling Smorgrav
thank you very much, but it takes some hand-holding. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Switching from buildkernel to config seems to recompile the entire kernel

2001-02-20 Thread Dag-Erling Smorgrav
e the old 'config & make' method uses a compile directory in /usr/src. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: make bug? (dependency names with '$')

2001-02-20 Thread Dag-Erling Smorgrav
oject that directly or indirectly depends on every other, you can also just specify that one file on the command line. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: make bug? (dependency names with '$')

2001-02-20 Thread Dag-Erling Smorgrav
ility to correctly detect if a dependency is out of date is irrelevant. Also, my experience is that unless you're paying Sun significant amounts of $$, their reaction to bug reports is to close their eyes, hum real loud and hope they go away. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsub

Re: Build timings - FreeBSD 4.2 vs. Linux

2001-02-19 Thread Dag-Erling Smorgrav
Robin Cutshaw <[EMAIL PROTECTED]> writes: > Any ideas as to why it would take almost three times longer to build > on FreeBSD? Yup: 4.x sucks at SMP. Try the comparison again with uniprocessor kernels - I expect you'll see a much smaller difference. DES -- Dag-Erling

Re: edit /usr/src/contrib/ipfiler requires full recompile.

2001-02-13 Thread Dag-Erling Smorgrav
#x27;t trigger it to be > recompiled by the kernel make process. Of course not. It's not part of the kernel. There's a duplicate of this file in /usr/src/sys/netinet which need to be kept in synch. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTE

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
of jobs boosts performance to a certain point; past this point, performance starts decreasing again. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
on disk. Don't be so sure. Stuff on disk has to be read into memory, and this is generally done by DMAing it off the disk, which locks the memroy bus, then copying it out into userland. With an MFS you skip the first part, unless MFS is stupider than I thought. DES -- Dag-Erling Smorgra

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
Jordan Hubbard <[EMAIL PROTECTED]> writes: > [...] That implies to me, at least, that after a certain > point the CPU is going to be the bottleneck. More likely RAM bandwidth. Those 133 Mhz FSBs ought to help, though. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
box, probably with a 100 MHz or 133 MHz FSB, not the old 486DX33 you have lying in a corner. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
tc. becomes insignificant next to the time spent doing I/O, and if you're already doing I/O as fast as you can there's no room for improvement. On a machine with a slower CPU or a faster I/O system, you'd see improvement. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsu

Re: syscall kernel modules on 3.0-release

2001-02-08 Thread Dag-Erling Smorgrav
ying I-told-you-so when it eventually > breaks.) Get a better job. Skilled IT workers are rare enough that they shouldn't need to put up with such crap, and shouldn't have any trouble getting a new job when the crap starts flying. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To U

Re: What's changed recently with vmware/linuxemu/file I/O

2001-02-08 Thread Dag-Erling Smorgrav
ot; RAM, then touches every page during startup. Unless some form of clustering is done, this causes 16384 write operations for a 64 MB virtual machine... DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: syscall kernel modules on 3.0-release

2001-02-08 Thread Dag-Erling Smorgrav
grade. When you're sure you've got it down pat, take the production box down for however long you need to upgrade it (somewhere between half an hour and two hours depending on disk speeds and how much tinkering is needed). DES (been there, done that) -- Dag-Erling Smorgrav - [EMAIL PROTECTED]

Re: syscall kernel modules on 3.0-release

2001-02-07 Thread Dag-Erling Smorgrav
t available at the time. Well, it was a stupid decision at that time, and the decision not to upgrade or replace these machines now is even stupider. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: What's changed recently with vmware/linuxemu/file I/O

2001-02-07 Thread Dag-Erling Smorgrav
slowdown to try to narrow down the day (or even the week) on which it occurred? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: syscall kernel modules on 3.0-release

2001-02-07 Thread Dag-Erling Smorgrav
bugs (except for some, but not all, known security holes) about half a year ago. If you absolutely must run RELENG_3, don't run anything but the very latest 3.5-STABLE (cvsup and cvs are your friends). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PR

Re: Bash2 removes SSH_CLIENT from the environment

2001-01-31 Thread Dag-Erling Smorgrav
Chet Ramey <[EMAIL PROTECTED]> writes: > Bash uses the presence of SSH_CLIENT to decide whether or not to run the > shell startup files for a non-interactive shell (like it attempts to do > for rsh). [...] Feh. Here's a nickel, kid, get yourself a real shell. DES --

Re: newbie - Audio CD question

2001-01-30 Thread Dag-Erling Smorgrav
vijay <[EMAIL PROTECTED]> writes: > Hi, I am new to FreeBSD. I wanted to know if I can play audio > CDs on "my" system. 'man cdcontrol' DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Kernel Hacking (i tried not to make it lame)

2001-01-27 Thread Dag-Erling Smorgrav
ost of it really isn't deep voodoo and you can understand it if you try. In my experience, this psychological block is a much bigger obstacle to overcome than actual technical complexity. (hmm, I must remember to drop by Mustang Jack next time I'm in NYC) DES -- Dag-Erling Smorgrav - [EMAIL P

Re: specify a different kernel to boot

2001-01-26 Thread Dag-Erling Smorgrav
Zhiui Zhang <[EMAIL PROTECTED]> writes: > Is there a way to specify a kernel other than /kernel to boot from? I do > not want to do this manually, I want to put it into some configuration > file. Thanks, 'man loader' DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED]

Re: Kernel programming

2001-01-23 Thread Dag-Erling Smorgrav
Alexander Langer <[EMAIL PROTECTED]> writes: > Thus spake Dag-Erling Smorgrav ([EMAIL PROTECTED]): > > Alexander Langer <[EMAIL PROTECTED]> writes: > > > There recently (last week or something) was a thread here or on > > > another mailinglist on how to

Re: Kernel programming

2001-01-23 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] (Alexander Langer) writes: > There recently (last week or something) was a thread here or on > another mailinglist on how to debug kernel moduls, which is a little > bit tricky. It's also documented in the handbook. DES -- Dag-Erling Smorgrav - [EMAIL P

Re: Possible bug in /usr/bin/makewhatis

2001-01-22 Thread Dag-Erling Smorgrav
Jos Backus <[EMAIL PROTECTED]> writes: > This patch gets rid of the Broken pipe messages. No need to name the loop... DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Securelevel idea

2001-01-21 Thread Dag-Erling Smorgrav
could > only be changed setting some option in the kernel and compiling a new > one. Congratulations, you just invented capabilities! :) http://www.trustedbsd.org/ DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: linux_connect() is broken

2001-01-21 Thread Dag-Erling Smorgrav
return (value); what happens ? If the value you return is non-zero, see above. If it's zero, the userland syscall code returns p->p_retval[0] to the caller. > * Does this logic also apply to the Linux syscall stuff in the kernel? I think so. Marcel would be better placed to answer

Re: startx /dev/mem problem

2001-01-20 Thread Dag-Erling Smorgrav
"Crist J. Clark" <[EMAIL PROTECTED]> writes: > On Sat, Jan 20, 2001 at 01:51:43AM +0100, Dag-Erling Smorgrav wrote: > > Chris Stenton <[EMAIL PROTECTED]> writes: > > > Fatal server error: > > > xf86OpenConsole: Server must be suid root > >

Re: startx /dev/mem problem

2001-01-19 Thread Dag-Erling Smorgrav
Chris Stenton <[EMAIL PROTECTED]> writes: > Fatal server error: > xf86OpenConsole: Server must be suid root This is your clue. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "un

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-19 Thread Dag-Erling Smorgrav
before; we managed to chroot the scripts so we're reasonably confident that they can't do much harm except to themselves. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-19 Thread Dag-Erling Smorgrav
;ll only screw it up"... I'm tempted to reply "not much more than it already is". Eivind and I rewrote it for our previous employer, but the mod is part of a large chunk of proprietary code, unfortunately. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mai

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-18 Thread Dag-Erling Smorgrav
oes not set resource limits; nor does it chroot as far as I recall. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Clustering FreeBSD

2001-01-18 Thread Dag-Erling Smorgrav
.. "if you do it quickly, nobody will notice" DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Clustering FreeBSD

2001-01-17 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > Jamie Heckford <[EMAIL PROTECTED]> writes: > > In all honesty, I am just looking for something to play > > with and see how fast FreeBSD can go. > I'd say about 2.8 m/s/s, given sufficient height. Doh! I mean

Re: Clustering FreeBSD

2001-01-17 Thread Dag-Erling Smorgrav
Jamie Heckford <[EMAIL PROTECTED]> writes: > In all honesty, I am just looking for something to play > with and see how fast FreeBSD can go. I'd say about 2.8 m/s/s, given sufficient height. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAI

Re: One thing linux does better than FreeBSD...

2001-01-17 Thread Dag-Erling Smorgrav
"Julian Stacey [EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > Penguin mascot has enough advantages over Chuck already ! Then why do I get this urge to go bowling every time I see Tux? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EM

Re: *Help* Limits on FreeBSD

2001-01-17 Thread Dag-Erling Smorgrav
r kern.maxfiles. > Someone told me to store these limits (above) in > a etc/sysctl.conf file but when I went to etc that > file wasn't in there .. do I have to newly create the > file or should it already be there? 'man sysctl.conf' DES -- Dag-Erling Smorgrav - [EMAIL PROTEC

Re: One thing linux does better than FreeBSD...

2001-01-15 Thread Dag-Erling Smorgrav
ery well received. The 3.1-RELEASE and 3.2-RELEASE CD sets had the "waiter beastie" graphic (the one on 3.1 had no tail!), but by 3.3 WC had reverted to Hosokawa-san's "beastie coming out of a CD" artwork. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscrib

Re: waiting for new files in a directory

2000-12-28 Thread Dag-Erling Smorgrav
Peter Pentchev <[EMAIL PROTECTED]> writes: > On Thu, Dec 28, 2000 at 01:44:34PM +0100, Dag-Erling Smorgrav wrote: > > Volker Stolz <[EMAIL PROTECTED]> writes: > > > On Thu, Dec 28, 2000 at 01:35:08PM +0100, Dag-Erling Smorgrav wrote: > > > > What are you

Re: waiting for new files in a directory

2000-12-28 Thread Dag-Erling Smorgrav
Volker Stolz <[EMAIL PROTECTED]> writes: > On Thu, Dec 28, 2000 at 01:35:08PM +0100, Dag-Erling Smorgrav wrote: > > What are you guys smoking? > *shrug* Can you spell "event-driven"? There are ways to do things much > more elegantly today (see all the references to

Re: waiting for new files in a directory

2000-12-28 Thread Dag-Erling Smorgrav
f the directory exists; make sure to differentiate between "somebody already holds the lock" and "the lock can't be created due to permission errors or some other problem" by examining $!) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAI

Re: FreeBSD vs Linux, Solaris, and NT

2000-12-22 Thread Dag-Erling Smorgrav
mmer. In other words you can write a program > exactly like another, if you can prove you never saw the other > program. If you saw the similar program you are dirty. AT&T (or Novell, don't remember if it was before or after the sale of USL) tried to use that argument against UCB. It

Re: Supporting VirtualPC...

2000-12-21 Thread Dag-Erling Smorgrav
C_CPU > int cpu_is_vpc; > #endif > and not break anyone's heart? No. Check cpu_vendor at probe/attach time and set a flag in the interface's softc that indicates that it needs to be treated as a VPC emulated interface. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED]

Re: Supporting VirtualPC...

2000-12-21 Thread Dag-Erling Smorgrav
correctly sets cpu_vendor to "ConnectixCPU" (rather than e.g. "GenuineIntel" or "AuthenticAMD") you can just check against that. It's declared in . DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: keeping lots of systems all the same...

2000-12-21 Thread Dag-Erling Smorgrav
Office. > If you want to run both Netscape and StarOffice at the same time, 128MB > isn't enough. Sigh. Avoid StarOffice like the plague. It's neat, but it leaks like a sieve, and barely crawls along on my 450 MHz K6-2. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsu

Re: ata weirdness

2000-12-19 Thread Dag-Erling Smorgrav
ta_command: timeout waiting for intr > ata0-master: ata_command: identify failed > ad2: 39082MB [79406/16/63] at ata1-master UDMA66 > I bet your CD-ROM is incorrectly configured as master. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [

Re: very big mail spool directory

2000-12-14 Thread Dag-Erling Smorgrav
ust like you want an odd (and preferably prime) stripe size on RAIDs to (amongst other reasons) avoid having all the superblock backups end up on the same disk. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers&qu

Re: very big mail spool directory

2000-12-13 Thread Dag-Erling Smorgrav
f the expected number of users (724 in your case - closest primes are 719 and 727), create that many bucket directories, and place each user in bucket ID mod K. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: eye-candy hack - warp_saver changing direction :)

2000-12-11 Thread Dag-Erling Smorgrav
itute for reading src/sys/sys/sysctl.h. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: eye-candy hack - warp_saver changing direction :)

2000-12-11 Thread Dag-Erling Smorgrav
27;t > it - how often the saver is called to do its dance.. kern.* is not the right place for this. It should go in user.*, unless that is reserved for userland, in which case a subtree of kern.* is probably the Right Thing. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: s

Re: PCIOCGETCONF/PCIOCREAD requires write permission?

2000-12-11 Thread Dag-Erling Smorgrav
Wes Peters <[EMAIL PROTECTED]> writes: > BSD for the masses. "BSD on every desk and in every home" DES (ducks, runs) -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Kernel question (detecting a user log-on)

2000-12-08 Thread Dag-Erling Smorgrav
packets for port 23 and detect if a user logged on? > I'm pretty unsure about this.. Why don't you tell us what you want to do, instead of how you think it must be done? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubs

Re: free() not freing pagedirs pages.

2000-12-07 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > Remy Nonnenmacher <[EMAIL PROTECTED]> writes: > > Well, I may think using this solution if it remains portable between > > Unixes. > It's perfectly portable, with one small variation - on BSD systems, > yo

Re: free() not freing pagedirs pages.

2000-12-07 Thread Dag-Erling Smorgrav
ptor to /dev/zero (or was it /dev/null?) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: pipe

2000-12-06 Thread Dag-Erling Smorgrav
"G. Adam Stanislav" <[EMAIL PROTECTED]> writes: > On Tue, Dec 05, 2000 at 06:11:06PM +0100, Dag-Erling Smorgrav wrote: > >The second and third sentences of the second paragraph (the one that > >starts on line 23), as well as the entire eighth paragraph (that >

Re: pipe

2000-12-05 Thread Dag-Erling Smorgrav
"G. Adam Stanislav" <[EMAIL PROTECTED]> writes: > On Tue, Dec 05, 2000 at 04:32:29PM +0100, Dag-Erling Smorgrav wrote: > > Did you even read the man page? > Many times, actually. And on different days, too. :) No, you didn't. You probably read the first line, t

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Dag-Erling Smorgrav
Brandon Fosdick <[EMAIL PROTECTED]> writes: > Dag-Erling Smorgrav wrote: > > "Recently"? nslookup has been officially deprecated for about a year > > and a half, I believe. > Will a replacement be added to the base distro? When? 1) nslookup is still in the b

Re: pipe

2000-12-05 Thread Dag-Erling Smorgrav
It talks about passing an address to the > function. I don't get it... What address? I want it to allocate memory > for me and tell me its address. How am I supposed to know what address > is available??? Did you even read the man page? DES -- Dag-Erling Smorgrav - [EMAIL P

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Dag-Erling Smorgrav
Enemy said it before: don't believe the hype. In this case, the hype > that an Internet year is only a few weeks of wallclock time. I'm sure there must be some meaning to what you write, but it keeps eluding me. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Dag-Erling Smorgrav
Yusuf Goolamabbas <[EMAIL PROTECTED]> writes: > Recently there was a message indicating that ISC is deprecating > nslookup. "Recently"? nslookup has been officially deprecated for about a year and a half, I believe. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Uns

Re: Couple of config questions...

2000-11-28 Thread Dag-Erling Smorgrav
ther messages, with timestamps, to various log files located in /var/log (most prominently /var/log/messages) as specified in /etc/syslogd.conf. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: printf()

2000-11-10 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] writes: > [...] > Jessem. Amazing what people will do to evade killfiles. Plonk. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: "iowait" CPU state

2000-11-10 Thread Dag-Erling Smorgrav
void <[EMAIL PROTECTED]> writes: > Is there any reason top couldn't add these up and report a %iowait > like Solaris'? Yes. It would conceal valuable information. Do the adding up in your head. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to

Re: Mounting a md as a root filesystem.

2000-11-07 Thread Dag-Erling Smorgrav
Andrzej Bialecki <[EMAIL PROTECTED]> writes: > On 7 Nov 2000, Dag-Erling Smorgrav wrote: > > Josef Karthauser <[EMAIL PROTECTED]> writes: > > > # load -t md /filesystemfile > > Shouldn't that be 'load -t md_root'? > Actually, it's md_im

Re: Help writing a screen saver module

2000-11-07 Thread Dag-Erling Smorgrav
x27;t Do That. Sorry. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: "iowait" CPU state

2000-11-07 Thread Dag-Erling Smorgrav
any reason that FreeBSD doesn't have such a state? It has several, depending on the type of I/O the process is waiting for: biord (waiting for a read operation to complete), biowr (waiting for a write operation to complete), select (waiting for descriptors to become readable / writable), etc.

Re: Mounting a md as a root filesystem.

2000-11-07 Thread Dag-Erling Smorgrav
Josef Karthauser <[EMAIL PROTECTED]> writes: > # load -t md /filesystemfile Shouldn't that be 'load -t md_root'? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Kernel calls, are they documented somewhere?

2000-11-02 Thread Dag-Erling Smorgrav
he errno (in your example, open(2) returned 2, which is ENOENT, i.e. the file didn't exist). If it succeeded, the value returned is the result (a file descriptor in open(2)'s case). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "

Re: FreeBSD vs. Linux

2000-10-22 Thread Dag-Erling Smorgrav
James Housley <[EMAIL PROTECTED]> writes: > I believe a correct and true statement is "FreeBSD is a direct decendant > of Unix(TM). Based on the BSD sources" I don't think there's all that much left of the original BSD sources... at least not in the kernel. DES

Re: I'm convinced 'gcc' is meant to be pronounced 'ARRRRGGGHHH!'

2000-10-17 Thread Dag-Erling Smorgrav
nd the 'll' format modifier) has been in the works for most of the previous decade, and was ratified (as ISO/IEC 9899:1999) on December 16th, 1999, but gcc still seems to live in 1989-land. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

I'm convinced 'gcc' is meant to be pronounced 'ARRRRGGGHHH!'

2000-10-17 Thread Dag-Erling Smorgrav
Will someone please inform the gcc developers of the last decade's advances in C standardization? Yes, Virginia, ISO C (it's not ISO C any more, and hasn't been since 1989) does support 'long long' and the 'll' format. DES -- Dag-Erling Smorgrav - [EMAIL PRO

<    1   2   3   4   5   >