Re: Generic config file parser?

2000-05-29 Thread Wes Peters
Boris Popov wrote: On Mon, 29 May 2000, A G F Keahan wrote: This may be a silly question, but is there such a thing?Almost every program that I know uses configuration files, often in different, incompatible formats. I personally prefer Samba/Wine-style config files which are

Re: Generic config file parser?

2000-05-29 Thread Garance A Drosihn
At 5:54 PM -0700 5/28/00, Brian O'Shea wrote: You are right, this could be done, but I wouldn't call it trivial. I've always come to the conclusion that the interface to something like this would have to be kind of complex in order to keep it generic enough to be really useful. For instance,

How do I time in kernel...

2000-05-29 Thread G.B.Naidu
Hi, I would like to know how to get time of the day in side kernel. When I used gettimeofday() in side kernel, it was giving panic on 3.3 FreeBSD release. It didnt panic on 3.1-RELEASE. So what is the problem? Can I use gettimeofday() inside kernel? if so why 3.3 is panicking? Ifnot why 3.1 is

Re: How do I time in kernel...

2000-05-29 Thread Poul-Henning Kamp
Can I use gettimeofday() inside kernel? if so why 3.3 is panicking? Ifnot why 3.1 is not panicking? It's called "microtime()" in the kernel. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe

RE: Creating a system to boot 4 different OS types.

2000-05-29 Thread Koster, K.J.
Hmm. I think booteasy will allow you to put FreeBSD on a second disk. That way you can have n-way booting, where n is limited only by the number of OS's on the market today. :-) Kees Jan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the

Re: Generic config file parser?

2000-05-29 Thread Daniel C. Sobral
A G F Keahan wrote: Which does not necessarily make it bad, of course, it's just nice to separate things out. Many UNIX applications use similar formats; you don't have to go very far to find an example -- look at e.g. /etc/defaults/rc.conf, which has distinct sections separated by

Re: Generic config file parser?

2000-05-29 Thread Daniel C. Sobral
Wes Peters wrote: I'm really want to make this thing generic and unite it with others config file parsers (if memory serves me right, Daniel Sobral wrote RW version for rc.conf style files). Not needed, there is such a parser library included in OpenSSL, which is included in

Re: Generic config file parser?

2000-05-29 Thread Tim Vanderhoek
On Mon, May 29, 2000 at 02:00:37AM +0200, A G F Keahan wrote: This may be a silly question, but is there such a thing?Almost every program that I know uses configuration files, often in different, incompatible formats. I personally prefer Samba/Wine-style config man 3 property for a

using more than one md pseudo-device w/ 4.0-STABLE

2000-05-29 Thread Adam Mackler
Hi: The md pseudo-device does work as described in the handbook in section 10.6.2. However it doesn't seem to work when I try to use a device other than /dev/md0, specifically /dev/md1. Some other pseudo-devices can be specified in the kernel configuration with a number to indicate the number

Re: Generic config file parser?

2000-05-29 Thread Ade Lovett
On Mon, May 29, 2000 at 12:53:59AM -0600, Wes Peters wrote: A better choice might be found in XML. Exploring the port of libxml (in ports/textproc) might be enlightening. XML is almost certainly a better option.. the more I look at it, the more I think it will cover most all of the config

Re: Linking Linux object files under FreeBSD

2000-05-29 Thread Aleksandr A.Babaylov
[EMAIL PROTECTED] writes: Hi, Can anyone tell me if it is possible to link object files which were compiled under Linux on a FreeBSD system. Background: I have to extend a programm for which I only got the object Files. This programm calls functions I have to write. As I don't have a

Re: Generic config file parser?

2000-05-29 Thread Wes Peters
Ade Lovett wrote: On Mon, May 29, 2000 at 12:53:59AM -0600, Wes Peters wrote: A better choice might be found in XML. Exploring the port of libxml (in ports/textproc) might be enlightening. XML is almost certainly a better option.. the more I look at it, the more I think it will cover

Re: 4.0 - Isa devices not being probed

2000-05-29 Thread Dennis
At 06:36 PM 5/27/00 -0700, Mike Smith wrote: Existing bus abstractions tend to let think that the same software driver can deal with different buses, bridges or IO methods without having to care about how these things actually behave, notably regarding buffering and ordering rules. This is

Re: 4.0 - Isa devices not being probed

2000-05-29 Thread Dennis
At 07:30 PM 5/27/00 -0400, Jeroen C. van Gelderen wrote: Dennis wrote: At 09:54 AM 5/27/00 +0200, John Hay wrote: In message [EMAIL PROTECTED] Dennis writes: : My 4.0 system doesnt probe ISA devices on my system. : : Whats the trick? Is there a config requirement with old-style

Re: 4.0 - Isa devices not being probed

2000-05-29 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Dennis writes: Uhm, the very fact that you are too simple-minded to understand the new, flexible, structured, high-performance bus architecture is sad. That you take it out on the people reading -current is beyond sad. If you can't behave like an adult shut up

Re: AW: Linking Linux object files under FreeBSD

2000-05-29 Thread Aleksandr A.Babaylov
d_f0rce writes: [Charset iso-8859-1 unsupported, filtering to ASCII...] Hi, Background: I have to extend a programm for which I only got the object Files. This programm calls functions I have to write. As I don't have a Linux system at home I would like to use those object-files

ioctl for reading raw ATAPI CDDA data

2000-05-29 Thread Scott Gasch
Hi, I'm trying to rip CDDA from an ATAPI cdrom device. So first I tried using cdd from /usr/ports. No dice, the resulting file is static. Next I searched for an alternative and found daex. Since I'm running FreeBSD-4.0-RELEASE the kernel mods the author describes are outdated. I modified the

Re: 4.0 - Isa devices not being probed

2000-05-29 Thread Jeroen C. van Gelderen
Dennis wrote: At 07:30 PM 5/27/00 -0400, Jeroen C. van Gelderen wrote: Dennis wrote: At 09:54 AM 5/27/00 +0200, John Hay wrote: In message [EMAIL PROTECTED] Dennis writes: : My 4.0 system doesnt probe ISA devices on my system. : : Whats the trick? Is there a config requirement

Re: 4.0 - Isa devices not being probed

2000-05-29 Thread Doug Rabson
On Mon, 29 May 2000, Dennis wrote: At 06:36 PM 5/27/00 -0700, Mike Smith wrote: Existing bus abstractions tend to let think that the same software driver can deal with different buses, bridges or IO methods without having to care about how these things actually behave, notably regarding

Re: How do I time in kernel...

2000-05-29 Thread Alfred Perlstein
* G.B.Naidu [EMAIL PROTECTED] [000529 04:58] wrote: On Mon, 29 May 2000, Alfred Perlstein wrote: It depends on how you call it, look at the sendfile implementation and see how it has to call writev(), userland_writev() != kernel_writev(), you need to munge with the arguements.

subr_bus.c | kldload | kldunload

2000-05-29 Thread Bob Kot
I am in the process of upgrading my Turtle Beach MultiSound Monterey soundcard device driver (msm) from the 3.x version available from http://www.treefort.org/~bobkat/msm_main.shtml to 4.0-RELEASE. While crawling over the learning curve of the new-bus system I've been bit by the following. In

Re: 4.0 - Isa devices not being probed

2000-05-29 Thread Warner Losh
In message [EMAIL PROTECTED] Dennis writes: : The best "portable" coding method is with memory-mapped registers, which : seems to have been omitted from this "implementation", which is the gripe : here. SYS_RES_MEMORY does exactly this. What are you talking about? I'm using this in 5

Re: Creating a system to boot 4 different OS types.

2000-05-29 Thread Gary T. Corcoran
Sergey Babkin wrote: Steven Alexander wrote: I've had problems getting Windows NT to boot using bootloaders from other OSes. I'd suggest installing NT last and putting it on the first partition. The partition number does not really matter, what really matters is that Windows wants