Re: Logging users out

2000-10-31 Thread Terry Lambert
> > Uh, well, "foolproof" != "calling ps and awk and grep and looking for > > processes". For ANY definition of foolproof. > > > > And it is certainly foolproof from the point of view that there's no way > > in hell for the session not to be terminated, unlike some ps garbage I've > > seen. > >

Re: Logging users out

2000-10-31 Thread Terry Lambert
> > Why not just kill their controlling shell? > > I believe that what I'm doing...the "controlling shell" would be the > session leader. The question is how to get its PID. Grovel the tty structure using libkvm. You want to look for: (struct tty *)->t_pgrp->pg_id Which is the process ID of t

Re: Filesystem holes

2000-10-31 Thread Terry Lambert
> Ahh.. yes, I know. I'm a filesystem expert :-) However, that said, I > will tell you quite frankly that virtually *nobody* depends on holes > for efficient storage. There are only a few problems where it's > practical some forms of executables, and sparse matrixes. That's

Re: Filesystem holes

2000-10-31 Thread Matt Dillon
: :> Ahh.. yes, I know. I'm a filesystem expert :-) However, that said, I :> will tell you quite frankly that virtually *nobody* depends on holes :> for efficient storage. There are only a few problems where it's :> practical some forms of executables, and sparse matrixes.

Re: smbfs-1.3.0 released

2000-10-31 Thread Terry Lambert
> > The difference is that if you are iterating and comparing in > > user space, you will get a failure, but if you are doing an > > explicit VOP_LOOKUP in kernel space, the case folding will work. > > Hmm, why ? UNIX globbing occurs in user space. Windows globbing, like VMS globbing, hap

Re: Who broke "ls" in FreeBSD? and why?

2000-10-31 Thread Ryan Thompson
Woo.. Trimmed the CC list on this one. Didn't catch the last one. Sorry! :-) Jose M. Alcaide wrote to Sean Lutner and [EMAIL PROTECTED]: > Sean Lutner wrote: > > > > I may just be being naive here, which is why I took this off the list. I > > don't understand how a directory that is a-x wil

Re: Who broke "ls" in FreeBSD? and why?

2000-10-31 Thread Ryan Thompson
Jose M. Alcaide wrote to Warner Losh: > Speaking of ls(1)... > > $ mkdir Arghh > $ touch Arghh/{one,two,three} > $ ls Arghh > one three two > $ chmod a-x Arghh > $ ls Arghh && echo SUCCESS > SUCCESS > $ ls -l Arghh && echo SUCCESS > SUCCESS > > ARH :-) > > This is not the expect

Re: dir-listing bug in linux-emulation

2000-10-31 Thread Terry Lambert
> Hi, > Here's a patch that fixes the problem for me. can someone review and > possibly commit it? > > Here's my understanding: > > The data returned by VOP_READDIR is not neccessarily the same as that > consumed from the directory vnode. > > linux_getdents fills in a "doff" field in the linux_

RE: PPP patch (CHAP81 + MPPE)

2000-10-31 Thread Koster, K.J.
Hello, > > With all these ppp can participate in MS VPN. > Euh. Right now I'm running ppp over pptpclient to connect to my ISP over an ADSL modem. Using your patch, can I ditch pptpclient? Kees Jan You are only young once, but you can

Re: Who broke "ls" in FreeBSD? and why?

2000-10-31 Thread Jose M. Alcaide
Ryan Thompson wrote: > > "Search" (i.e., execute) permission on a directory implies that the > directory can be included as part of a directory search. In other words, > mapping to inodes is provided, but obtaining a list of files in the > directory is NOT. This is used by system administrators

Re: Filesystem holes

2000-10-31 Thread Peter Dufault
> ... Sparse matrixes are the big math problem > that benefit, but only because the solution to a sparse matrix problem > is not even close to random so the sparse matrix winds up still being > sparse all the way to the end of the solution. I use them for bus simulations, which a

Re: Logging users out

2000-10-31 Thread Jamie Heckford
On Tue, 31 Oct 2000, you wrote: > On Tue, Oct 31, 2000 at 01:40:32PM +0100, Thierry Besancon thus spoke: > > Dixit Bill Vermillion <[EMAIL PROTECTED]> (le Tue, 31 Oct 2000 07:22:55 -0500) : > > > > » > % ps -aux | grep username > > » > > » > username 1637 1.3 0.7 1340 868 p1 Ds 11.36AM

Re: Filesystem holes

2000-10-31 Thread Terry Lambert
> I use them for bus simulations, which also are permanently sparse. > It would be nice to free up the regions when I "remove" a virtual > board, but in a check through POSIX I could find nothing defined to > behave that way either for mapped files or mapped memory objects. SVR4 defined F_FREESP;

Re: Filesystem holes

2000-10-31 Thread Peter Dufault
> > I use them for bus simulations, which also are permanently sparse. > > It would be nice to free up the regions when I "remove" a virtual > > board, but in a check through POSIX I could find nothing defined to > > behave that way either for mapped files or mapped memory objects. > (...) > >

Re: Filesystem holes

2000-10-31 Thread Matt Dillon
:to hold a write lock on the range you didn't want rewritten; so :long as it honors the advisory locks, there'd be no chance of it :screwing up, unless you got bit by the stupid POSIX lock close :semantics. Stupid POSIX; that's the other one I'd put in: the :ability to: : : int i = 1; :

Re: Filesystem holes

2000-10-31 Thread Matt Dillon
:In my case I'd be better off with shared memory objects that aren't :persistent but appear in the name space so that I don't accidentally :start copying a virtual bus file when the programs exit improperly. :In the sparse matrix calculations with no checkpointing or need to appear :in a name spac

[dl@leo.org: virtual/alias ips and arp_rtrequest: bad gateway value]

2000-10-31 Thread Daniel Lang
Hiho, maybe somebody ob hackers has a clue to this problem... :-/ Thanks in advance, Daniel -- IRCnet: Mr-Spock - ceterum censeo Microsoftinem esse delendam - *Daniel Lang * [EMAIL PROTECTED] * +49 89 289 25735 * http://www.leo.org/~dl/* Dear Folks, I have some boxes, that use ma

Runtime memory footprint

2000-10-31 Thread Les Biffle
What determines the runtime memory footprint of a process? I have small daemons that occupy 25K on disk, don't malloc anything to speak of, but are 440K to 1024K in memory, according to top and ps. For that matter, just about nothing in my "ps" display is under 400K. The daemons are dynamically

Re: Runtime memory footprint

2000-10-31 Thread Ruslan Ermilov
On Tue, Oct 31, 2000 at 11:17:22AM -0700, Les Biffle wrote: > What determines the runtime memory footprint of a process? I have small > daemons that occupy 25K on disk, don't malloc anything to speak of, but > are 440K to 1024K in memory, according to top and ps. For that matter, > just about no

Re: Runtime memory footprint

2000-10-31 Thread Matt Dillon
:What determines the runtime memory footprint of a process? I have small :daemons that occupy 25K on disk, don't malloc anything to speak of, but :are 440K to 1024K in memory, according to top and ps. For that matter, :just about nothing in my "ps" display is under 400K. The daemons are :dynami

Help

2000-10-31 Thread Ron MacPherson
Can you assist me with a Free BSD problem. One of my customers had a College kid mess with his Unix Kernal. Now they can no longer access thier E-mail ??? Could he have turned off Email somehow, when he messed around with the Unix kernal??? Thank You. Ron MacPherson. Tel 1/800-632-6327 or My

Re: Help

2000-10-31 Thread Eric Melville
If there's any truth to this assumption, there's probably a much bigger problem at hand, such as all of their networking is borked. It's kind of hard to determine what's going on with such a general statement. > Can you assist me with a Free BSD problem. One of my customers had a College kid >me

16 port 10/100 hubs/switches.

2000-10-31 Thread Stephen Hocking
I just went out & bought a D-Link 10/100 switch. There was another 16 port 10/100 switch on sale by netgear, for twice the price. Now I've established that they're both switches (as opposed to hubs) and the three machines I current have connected to it have sucessfully negotiated 100Mbs full-du

Re: Help

2000-10-31 Thread Moritz Hardt
I guess you are talking about the kernel. As far as I know there's nothing in the kernel, which could specifically influence email. What about loading the GENERIC kernel or the kernel you have used before. But please go into more detail with your problem description. On Tue, 31 Oct 2000 11:3

curproc question

2000-10-31 Thread Lars Eggert
Quick question: During a system call inside the kernel, can I safely assume that curproc points to the process that issued the call? For example, will looking at curproc in ip_output() tell me which process is responsible for generating the packet? Thanks, Lars -- Lars Eggert <[EMAIL PROTECTED]

Re: Help

2000-10-31 Thread Nick Rogness
On Tue, 31 Oct 2000, Ron MacPherson wrote: > Can you assist me with a Free BSD problem. One of my customers had a College kid >mess with his Unix Kernal. > Now they can no longer access thier E-mail ??? > Could he have turned off Email somehow, when he messed around with the Unix kernal???

Re: curproc question

2000-10-31 Thread Mike Smith
> Quick question: > > During a system call inside the kernel, can I safely assume that curproc > points to the process that issued the call? For example, will looking at > curproc in ip_output() tell me which process is responsible for generating > the packet? No. -- ... every activity meets w

Re: curproc question

2000-10-31 Thread Lars Eggert
Mike Smith wrote: > > During a system call inside the kernel, can I safely assume that curproc > > points to the process that issued the call? For example, will looking at > > curproc in ip_output() tell me which process is responsible for generating > > the packet? > > No. Too bad. In which cas

Re: curproc question

2000-10-31 Thread Mike Smith
> Mike Smith wrote: > > > During a system call inside the kernel, can I safely assume that curproc > > > points to the process that issued the call? For example, will looking at > > > curproc in ip_output() tell me which process is responsible for generating > > > the packet? > > > > No. > > Too

Re: Filesystem holes

2000-10-31 Thread John Summerfield
> > :> actually being used, while providing instant lookups. > > :> > > :> The single file would be about 96G addressable bytes... But the actual > > :> block count would be much lower. I suppose I will have to create a seri > es > > :> of these files and divide the problem into < 4GB chunks, b

Re: 16 port 10/100 hubs/switches.

2000-10-31 Thread David Scheidt
On Tue, 31 Oct 2000, Stephen Hocking wrote: :I just went out & bought a D-Link 10/100 switch. There was another 16 port :10/100 switch on sale by netgear, for twice the price. Now I've established :that they're both switches (as opposed to hubs) and the three machines I :current have connected