Retrieving disk geometry

2003-06-03 Thread Andrew
Hi, Under FreeBSD 4.x the ioctl DIOCGDINFO could be used to retrieve the number of cylinders, heads and sectors of a drive. This could be called on /dev/ad0 for example. Under FreeBSD 5 it seems to produce "Inappropriate ioctl for device" unless you call it on an individual partition (/dev/ad0s1a

[no subject]

2003-06-03 Thread Åâãåíèé Êóäëà
[EMAIL PROTECTED] --- This message contains no viruses. Guaranteed by Kaspersky Anti-Virus. www.antivirus.lv ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTEC

Re: Retrieving disk geometry

2003-06-03 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Andrew writes: >Hi, > >Under FreeBSD 4.x the ioctl DIOCGDINFO could be used to retrieve the >number of cylinders, heads and sectors of a drive. This could be called on >/dev/ad0 for example. Under FreeBSD 5 it seems to produce "Inappropriate >ioctl for device" unless

Are write() calls guaranteed atomic?

2003-06-03 Thread Matthew Hagerty
Greetings, I'm writing a server that receives data via a named pipe (FIFO) and will always have more than one other process sending data to it, and I'm concerned with preventing data multiplexing. The data coming in will be lines of text delimited with a newline, but the processes writing the dat

Re: trimming of chroot jail path in df(1)

2003-06-03 Thread Pawel Jakub Dawidek
On Mon, Jun 02, 2003 at 04:02:48PM +0300, Alexandr Kovalenko wrote: +> I've found module jailfsstat: +> +> http://garage.freebsd.pl/jailfsstat.tgz +> +> which task is that process in jail can see only file systems mounted +> inside of jail. +> +> It works somehow incorrect and I would like to as

Re: Forged subscriptions and the troll.

2003-06-03 Thread Pawel Jakub Dawidek
On Sun, Jun 01, 2003 at 04:46:10PM +0100, Mark Murray wrote: +> We are currently being attacked by an individual who is attempting +> to mass-subscribe our lists to other mailing lists. +> +> PLEASE DO NOT RESPOND TO ANY OF THIS MAIL! I am taking care of it. +> +> Thank you for your co-operation.

Re: Forged subscriptions and the troll.

2003-06-03 Thread Olafur Osvaldsson
Pawel, On Mon, 02 Jun 2003, Pawel Jakub Dawidek wrote: > Maybe is time to disallow posting for non-members on selected lists? I second that, there are (probably) lots of people willing to moderate the lists and weed out the junk from valid posts. Yes, that would mean a possible few hours delay (

Re: Forged subscriptions and the troll.

2003-06-03 Thread Mark Murray
Pawel Jakub Dawidek writes: > On Sun, Jun 01, 2003 at 04:46:10PM +0100, Mark Murray wrote: > +> We are currently being attacked by an individual who is attempting > +> to mass-subscribe our lists to other mailing lists. > +>=20 > +> PLEASE DO NOT RESPOND TO ANY OF THIS MAIL! I am taking care of it.

Re: Forged subscriptions and the troll.

2003-06-03 Thread Eric Masson
> "Mark" == Mark Murray <[EMAIL PROTECTED]> writes: Mark> As I said, I'm taking care of things. Thanks, Mark. Hope it won't give you to much work. Eric Masson -- Depuis ce matin, j'ai une IP en 213.@@@.@@@ et des plumes. C'est devenu apparement une IP statique. Mon contrat me donne dro

Re: trimming of chroot jail path in df(1)

2003-06-03 Thread Alexandr Kovalenko
Hello, Pawel Jakub Dawidek! On Mon, Jun 02, 2003 at 05:16:54PM +0200, you wrote: > On Mon, Jun 02, 2003 at 04:02:48PM +0300, Alexandr Kovalenko wrote: > +> I've found module jailfsstat: > +> > +> http://garage.freebsd.pl/jailfsstat.tgz > +> > +> which task is that process in jail can see only f

Re: Retrieving disk geometry

2003-06-03 Thread Marcin Dalecki
Andrew wrote: Hi, Under FreeBSD 4.x the ioctl DIOCGDINFO could be used to retrieve the number of cylinders, heads and sectors of a drive. This could be called on /dev/ad0 for example. Under FreeBSD 5 it seems to produce "Inappropriate ioctl for device" unless you call it on an individual partition

Re: What RFCs are supported by FreeBSD

2003-06-03 Thread Terry Lambert
"Nickolay A. Kritsky" wrote: > Does anybody know, which RFCs are followed by FreeBSD's core network > drivers (like IP,TCP,routing,UDP,ICMP drivers)? All of them. -- Terry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/free

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Dan Nelson
In the last episode (Jun 02), Matthew Hagerty said: > I'm writing a server that receives data via a named pipe (FIFO) and > will always have more than one other process sending data to it, and > I'm concerned with preventing data multiplexing. The data coming in > will be lines of text delimited w

Re: Retrieving disk geometry

2003-06-03 Thread Terry Lambert
Andrew wrote: > Under FreeBSD 4.x the ioctl DIOCGDINFO could be used to retrieve the > number of cylinders, heads and sectors of a drive. This could be called on > /dev/ad0 for example. Under FreeBSD 5 it seems to produce "Inappropriate > ioctl for device" unless you call it on an individual partit

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Matthew Hagerty
> In the last episode (Jun 02), Matthew Hagerty said: >> I'm writing a server that receives data via a named pipe (FIFO) and >> will always have more than one other process sending data to it, and >> I'm concerned with preventing data multiplexing. The data coming in >> will be lines of text delim

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Volker Stolz
In local.freebsd-hackers, you wrote: > Thanks for the info, very helpful! What reference did you get that from? > I searched high and low to find a definitive answer (like the one above) > before posting. You can find an online version of the Single Unix Specification v3 at http://www.unix-syste

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Ruslan Ermilov
On Mon, Jun 02, 2003 at 12:57:05PM -0400, Matthew Hagerty wrote: > > In the last episode (Jun 02), Matthew Hagerty said: > >> I'm writing a server that receives data via a named pipe (FIFO) and > >> will always have more than one other process sending data to it, and > >> I'm concerned with prevent

Re[2]: What RFCs are supported by FreeBSD

2003-06-03 Thread Nickolay A. Kritsky
Hello Terry and -hackers, Thanks to all who found time to answer. Monday, June 02, 2003, 7:42:43 PM, you wrote: TL> "Nickolay A. Kritsky" wrote: >> Does anybody know, which RFCs are followed by FreeBSD's core network >> drivers (like IP,TCP,routing,UDP,ICMP drivers)? TL> All of them. ;

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Dan Nelson
In the last episode (Jun 02), Matthew Hagerty said: > Thanks for the info, very helpful! What reference did you get that > from? I searched high and low to find a definitive answer (like the > one above) before posting. The Open Group has their Single Unix Specification available online, which i

Re: trimming of chroot jail path in df(1)

2003-06-03 Thread Pawel Jakub Dawidek
On Mon, Jun 02, 2003 at 04:02:48PM +0300, Alexandr Kovalenko wrote: +> I've found module jailfsstat: +> +> http://garage.freebsd.pl/jailfsstat.tgz +> +> which task is that process in jail can see only file systems mounted +> inside of jail. Ok, jailfsstat module was fixed and could be found here

Re: Your application

2003-06-03 Thread LMCCNIJDAKDCMJHIKEFLCFAA . eli
This is an autoresponder. I'll never see your message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

RE: Locking, locking...

2003-06-03 Thread John Baldwin
On 02-Jun-2003 Pawel Jakub Dawidek wrote: > Hello hackers... > > I need advice how to handle with one locking problem. > > For example I got some list with some values. This list could be > modified by any process. I want to get values from this list and > copy them to allocated table. But how t

RE: sendfile in FreeBSD 2.2

2003-06-03 Thread Vijay.Singh
Hi, I am following up my own post. I have been able to do most of the porting, but I have one question. What do I replace the OFF_TO_IDX() macro with? I could start with code that always passes the offset as 0 (sending the complete file). Any help would be appreciated. br vijay -Original M

Unsubscribe to the "SolSuite - Solitaire Card Games Suite"Newsletter error

2003-06-03 Thread info
Hello, [EMAIL PROTECTED] cannot be unsubscribed as there was never an initial subscription to the SolSuite 2003 Newsletter. Ted TreeCardGames.com - Support [EMAIL PROTECTED] http://www.solsuite.com ___ [EMAIL PROTECTED] mailing list http://lists.freebs

Re: Network stack cloning / virtualization patches

2003-06-03 Thread Sean Chittenden
> > Has anyone looked at making the patch work with CURRENT? Does > > this do anything to degrade performance of UP systems with no (0?) > > virtualised images running? > > I have been running tests between two machines with this patch > installed. There is a "per packet" overhead increase of abo

Sound Panic - VIA VT8233

2003-06-03 Thread Anish Mistry
Hi, I'm getting a consistant reproducable panic with my onboard VIA VT8233 sound. Attached backtrace and dmesg and sysctl.conf FreeBSD bigguy.am-productions.biz 4.8-RELEASE FreeBSD 4.8-RELEASE #3: Mon Jun 2 15:47:53 EDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BIGGUY i386 Than

pcic & cbb Problems on Acer TM 360

2003-06-03 Thread 林敬倫
I use Acer Travelmate 360. But my wireless card doesn't work at all on 5.0 RELEASE or 4.8RELEASE With 5.0 RELEASE, NEW CARD kernel: cbb0 can't grab register. so my wireless card has no power when startup. OLD CARD kernel: I always g

Re: Sound Panic - VIA VT8233

2003-06-03 Thread Orion Hodson
Anish Just a quick ack. I've seen your report and will look into it in the next day or so. I'll get back to you any additional info is needed. Thanks - Orion ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Network stack cloning / virtualization patches

2003-06-03 Thread Marko Zec
Sean Chittenden wrote: > > I have been running tests between two machines with this patch > > installed. There is a "per packet" overhead increase of about 1%. > > there is no overhead increase in the per-byte overhead.. in ther > > words, sending 1 byte packets gets about a 1% decrease in throug

Re: Sound Panic - VIA VT8233

2003-06-03 Thread Pav Lucistnik
On Mon, 02 Jun 2003 22:30:37 +, Orion Hodson wrote: I have lots of problems on 5.1-RC box with similar onboard sound chip. I see many hangs (maybe it's a panic, don't know, dump is not being written to dumdev). They always happen when sound is playing, on keypress, mouse move, network traffic

scrnmap file for syscons

2003-06-03 Thread khachikyan.de
Hi, I just bussy with some localization issue and creating now the screenmap file for the locale. What I found in documentation is that these file is needed for some type of video hardware which doesn't support software font, and that the file defines mapping between character codes. I took a loo

Re: Sound Panic - VIA VT8233

2003-06-03 Thread Anish Mistry
On Monday 02 June 2003 06:10 pm, Pav Lucistnik wrote: > On Mon, 02 Jun 2003 22:30:37 +, Orion Hodson wrote: > > I have lots of problems on 5.1-RC box with similar onboard sound chip. > I see many hangs (maybe it's a panic, don't know, dump is not being > written to dumdev). They always happen

Re: Sound Panic - VIA VT8233

2003-06-03 Thread Pav Lucistnik
V ?, 03. 06. 2003 v 00:28, Anish Mistry napsal: > > I have lots of problems on 5.1-RC box with similar onboard sound chip. > > I see many hangs (maybe it's a panic, don't know, dump is not being > > written to dumdev). They always happen when sound is playing, on keypress, > > mouse move, network

Re: Forged subscriptions and the troll.

2003-06-03 Thread Jason Slagle
On Mon, 2 Jun 2003, Olafur Osvaldsson wrote: > Pawel, > > On Mon, 02 Jun 2003, Pawel Jakub Dawidek wrote: > > > Maybe is time to disallow posting for non-members on selected lists? > > I second that, there are (probably) lots of people willing to moderate > the lists and weed out the junk from val

Re: Retrieving disk geometry

2003-06-03 Thread Andrew
On Mon, 2 Jun 2003, Terry Lambert wrote: > All the geometries returned by this call are fictitous these days, > so there's really no value to it. I'm just trying to port some software that used to work under 4.x so I was trying to do as few changes as possible. I have to admit I haven't really

Disallowed attachment type found in sent message "Re: Movie"

2003-06-03 Thread System Anti-Virus Administrator
Attention: [EMAIL PROTECTED] A Disallowed attachment type was found in an Email message you sent. This Email scanner intercepted it and stopped the entire message reaching its destination. The Disallowed attachment type was reported to be: Executable attachment (not allowed) Please contac

Re: gcc bug? Openoffice port impossibel to compile on 4.8

2003-06-03 Thread Loren James Rittle
In article <[EMAIL PROTECTED]> Wes Peters write: >On Thursday 29 May 2003 00:12, Dag-Erling Smorgrav wrote: >> Bruce M Simpson <[EMAIL PROTECTED]> writes: >> > However, we're dealing with something a bit more stable in terms of >> > code base, anyway. Having to commit a whole bunch of fixes for the

Re: sendfile in FreeBSD 2.2

2003-06-03 Thread Terry Lambert
[EMAIL PROTECTED] wrote: > > Hi, I am following up my own post. I have been able to do most > of the porting, but I have one question. What do I replace the > OFF_TO_IDX() macro with? I could start with code that always > passes the offset as 0 (sending the complete file). Any help > would be ap

Re: Network stack cloning / virtualization patches

2003-06-03 Thread Peter Jeremy
On Mon, Jun 02, 2003 at 11:58:25PM +0200, Marko Zec wrote: >There are two major possible causes for overhead increase. First, each IP >protocol related tunable variable and most of the global symbols involved in >network processing have been virtualized. [...] And second, many kernel >functions ha

Fwd: Problems with usb HID device on freebsd

2003-06-03 Thread Riccardo Torrini
I sent this message also to FreeBSD USB maintainer and to NetBSD original author without luck, can you point me to the right direction? TIA, Riccardo. PS: please Cc: me, I follow only current@ - Forwarded message from myself <[EMAIL PROTECTED]> - I'm trying to interface my new APC (RS