Re: how to monitor remote users shell activities best ? watch / snp / ...

2003-10-31 Thread Andreas Klemm
On Wed, Oct 29, 2003 at 10:38:33PM +, Bruce M Simpson wrote: Check out the whowatch port. On Thu, Oct 30, 2003 at 05:01:33PM +, Matt Freitag wrote: The closest thing to my knowledge, would probably be whowatch which resides in /usr/ports/sysutils/whowatch. It doesn't allow you to

Re: O_NOACCESS?

2003-10-31 Thread Terry Lambert
andi payn wrote: As far as I can tell, FreeBSD doesn't have anything equivalent to linux's O_NOACCESS (which is not in any of the standard headers, but it's equal to O_WRONLY | O_RDWR, or O_ACCMODE). In linux, this can be used to say, give me an fd for this file, but don't try to open it for

RFC: proposed new builtin for /bin/sh (associative arrays)

2003-10-31 Thread Luigi Rizzo
[Not sure what is the appropriate forum to discuss this, so please redirect the discussion if you know where. I have Bcc-ed a few /bin/sh committers] I am trying to implement, in the most unintrusive way, something resembliung associative arrays in /bin/sh. I am not interested in syntactic

Re: kevent and related stuff

2003-10-31 Thread Terry Lambert
andi payn wrote: First, let me mention that I'm not nearly as experienced coding for *BSD as for linux, so I may ask some stupid questions. I've been looking at the fam port, and this has brought up a whole slew of questions. I'm not sure if all of them are appropriate to this list, but I

Kylix in FreeBSD

2003-10-31 Thread jasaorp
Somebody uses Kylix in FreeBSD? What is the performance? Jasao ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: non-root process and PID files

2003-10-31 Thread Terry Lambert
Nielsen wrote: Christopher Vance wrote: May I suggest a different feature: the ability to mark an open file (not just its fd) 'remove on close', with permission checked at mark time rather than close time (this status forgotten if not permitted when set) and the unlink actually done at

Re: RFC: proposed new builtin for /bin/sh (associative arrays)

2003-10-31 Thread Peter Pentchev
On Fri, Oct 31, 2003 at 01:43:31AM -0800, Luigi Rizzo wrote: [snip description of a new 'indexes' builtin] Any comments ? Is this interesting enough to be committed (with a proper manpage description) ? I could provide a flag to indexes to return the values instead of the names, but i believe

FreeBSD 4.9 stable and Minolta DIMAGE S414

2003-10-31 Thread Steffen Mazanek
Hello, whenever I plug my Minolta DIMAGE S414 in my FreeBSD 4.9-stable box, it crashes with mysterious errors. I have a screenshot at http://www.steffen-mazanek.de/mixed/images/freebsdscreen.jpg Is anybody running this digicam on FreeBSD successfully? A -current system crashed as well, but this

Suggested improvement to radixsort()

2003-10-31 Thread Markus B Krüger
(I hope this is the correct forum for this post; if not, please let me know where it should go.) I've found a possible improvement to the implementation of radixsort() located in /usr/src/lib/libc/stdlib/radixsort.c, which will make the implementation more efficient when sorting data sets

Re: O_NOACCESS?

2003-10-31 Thread David Malone
On Thu, Oct 30, 2003 at 07:46:38AM -0800, andi payn wrote: In FreeBSD, this doesn't work; you just get EINVAL. I believe this is because of a security problem discovered a few years ago, where you could open a file like /dev/io for neither read nor write but still get the special privelages

User asks: can we decouple device vendor IDs from drivers?

2003-10-31 Thread Bruce M Simpson
Hi, This sounds like one for the NEWBUS people. BMS ---BeginMessage--- In message [EMAIL PROTECTED], Bruce M Simpson wrote: Hiya To follow up what I said down the pub... The file in solaris i was referring to is called /etc/driver_aliases do a search to find out about it. Looking at the

Re: Kylix in FreeBSD

2003-10-31 Thread Michael Edenfield
* jasaorp [EMAIL PROTECTED] [031031 04:59]: Somebody uses Kylix in FreeBSD? What is the performance? The IDE doesn't run under FreeBSD. I worked on it a bit over this summer when the most recent Kylix came out, and it appears to rely on too many Linux-isms. The command-line tools work just

Re: O_NOACCESS?

2003-10-31 Thread andi payn
On Fri, 2003-10-31 at 08:27, David Malone wrote: On Thu, Oct 30, 2003 at 07:46:38AM -0800, andi payn wrote: In FreeBSD, this doesn't work; you just get EINVAL. I believe this is because of a security problem discovered a few years ago, where you could open a file like /dev/io for neither

Re: kevent and related stuff

2003-10-31 Thread andi payn
On Thu, 2003-10-30 at 22:33, Ruben de Groot wrote: On Thu, Oct 30, 2003 at 07:54:07AM -0800, andi payn typed: [...] * I think (but I'm not sure) that kevent doesn't notify at all if the only change to a file is its ATIME. If I'm right, this makes kevent completely useless for fam.

Re: Kylix in FreeBSD

2003-10-31 Thread W. D.
Does this mean that one could possibly develop some GUI programs on Linux, them compile them to run on FreeBSD? Or, can one only compile command line apps? At 11:51 10/31/2003, Michael Edenfield, wrote: d87b8c.jpg Re Kylix in FreeBSD.emsfile://D:\Programs\Eudora\attach\Re Kylix in FreeBSD.ems

Re: User asks: can we decouple device vendor IDs from drivers?

2003-10-31 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Bruce M Simpson [EMAIL PROTECTED] writes: : This sounds like one for the NEWBUS people. A number of people have proposed this in the past. It is a big deal, and won't be in 5, although a 'treat this pnpid as that pnpid' might be, which would be

Re: O_NOACCESS?

2003-10-31 Thread M. Warner Losh
In message: [EMAIL PROTECTED] andi payn [EMAIL PROTECTED] writes: : On Fri, 2003-10-31 at 08:27, David Malone wrote: : On Thu, Oct 30, 2003 at 07:46:38AM -0800, andi payn wrote: : In FreeBSD, this doesn't work; you just get EINVAL. : : I believe this is because of a security

Re: Kylix in FreeBSD

2003-10-31 Thread Michael Edenfield
* W. D. [EMAIL PROTECTED] [031031 14:45]: Does this mean that one could possibly develop some GUI programs on Linux, them compile them to run on FreeBSD? Or, can one only compile command line apps? This should, in theory, be possible. Kylix links against Qt and some additional CLX runtime

Re: Some mmap observations compared to Linux 2.6/OpenBSD

2003-10-31 Thread Vivek Pai
There are two scenarios - sendfile can't proceed immediately because all sfbuf space is exhausted, and sendfile can't proceed immediately because the page to be sent isn't in physical memory. In both cases, we can have another process/thread call sendfile with the flag cleared, allowing sendfile

Re: RFC: proposed new builtin for /bin/sh (associative arrays)

2003-10-31 Thread Oliver Fromme
Luigi Rizzo [EMAIL PROTECTED] wrote: I am trying to implement, in the most unintrusive way, something resembliung associative arrays in /bin/sh. I am not interested in syntactic sugar, so i am happy to use something like _ as a separator between the array basename and the index, i.e.

Re: Kylix in FreeBSD

2003-10-31 Thread W. D.
H. Which Linux would be most compatible? At 14:12 10/31/2003, Michael Edenfield wrote: f7173a.jpg Re Kylix in FreeBSD1.emsfile://D:\Programs\Eudora\attach\Re Kylix in FreeBSD1.ems 0880.0002 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * W. D. [EMAIL PROTECTED]

Re: Some mmap observations compared to Linux 2.6/OpenBSD

2003-10-31 Thread Vivek Pai
Before we proceed on this, I'd like to ask is there actuall a committer ready to follow up on this? We currently make our patches available on Ping's homepage, and they're relatively clean. He spent a fair bit of time getting it from a relatively ugly set of changes to something more elegant and

Re: Some mmap observations compared to Linux 2.6/OpenBSD

2003-10-31 Thread Vivek Pai
Take a look at Figure 6, page 9 in the following: http://www.cs.princeton.edu/~yruan/DeBox/debox.pdf On a 1GHz box with 1GB of memory, we were spending 4-5 milliseconds per mmap call, and that was limiting the throughput of our server on SpecWeb99. Figure 9 on page 11 shows that just getting rid

Re: kevent and related stuff

2003-10-31 Thread andi payn
On Fri, 2003-10-31 at 01:44, Terry Lambert wrote: andi payn wrote: First, some background: On Irix and Linux, fam works by asking the kernel to send it a signal whenever the specified accesses occur. On FreeBSD, since there is no imon interface and no dnotify fcntl, it instead works by

Re: Kylix in FreeBSD

2003-10-31 Thread Michael Edenfield
* W. D. [EMAIL PROTECTED] [031031 15:18]: H. Which Linux would be most compatible? At 14:12 10/31/2003, Michael Edenfield wrote: f7173a.jpg Re Kylix in FreeBSD1.emsfile://D:\Programs\Eudora\attach\Re Kylix in FreeBSD1.ems 0880.0002 Content-Type: text/plain; charset=us-ascii

Re: Kylix in FreeBSD

2003-10-31 Thread Braulio José Solano Rojas
Hi! I do not know about the C++ part of Kylix, but about the Delphi part, maybe it could be replaced with FreePascal (http://www.freepascal.org/). There are even some projects that try to produce an IDE similar to Delphi (http://www.freepascal.org/links.html). Has anyone gived a try to

Re: O_NOACCESS?

2003-10-31 Thread andi payn
On Fri, 2003-10-31 at 12:02, M. Warner Losh wrote: In message: [EMAIL PROTECTED] andi payn [EMAIL PROTECTED] writes: : On Fri, 2003-10-31 at 08:27, David Malone wrote: : On Thu, Oct 30, 2003 at 07:46:38AM -0800, andi payn wrote: : In FreeBSD, this doesn't work; you just get

Re: O_NOACCESS?

2003-10-31 Thread M. Warner Losh
In message: [EMAIL PROTECTED] andi payn [EMAIL PROTECTED] writes: : : Are there any other special devices like this in FreeBSD? : : Rewind units on tape drives? If there's no access check done, and I : open the rewind unit as joe-smoe? The close code is what does the : rewind,

Re: O_NOACCESS?

2003-10-31 Thread andi payn
Before I go any further, I'd like some indication of whether this is worth pursuing. In particular, if any device driver issues can be resolved easily, and if the FFLAGS conversion is efficient enough (I'll look into whether it's better to do this the linux way, or to use slightly more complicated

Re: vinum on atapi raid

2003-10-31 Thread Jonas Sonntag
hi again just for the record: this really seems to be an issue with the ar device. i took one of the drives off from the promise controller (ar), attached it to the onboard controller (ad) and everything works fine. i'm cc'ing to freebsd-hackers because of this post: