Re: vode to pathname

2005-08-24 Thread Robert Watson
On Wed, 24 Aug 2005, Dag-Erling Smørgrav wrote: "Kamal R. Prasad" <[EMAIL PROTECTED]> writes: So the question is, how do I get hold of pathname given vnode*/(inode, devno, generation no) -without relying on the name cache (on freebsd)? You can't. The semantics of Unix file systems are such

Re: Enumerating devices and hardware conf from userland

2005-08-24 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> kylin <[EMAIL PROTECTED]> writes: : >I'm developping a tool running in userland (root) (a command line : >tools) for enumerating all devices present on the machine : : : >This tool must scan all hardware buses : pci, but usb, firewire, ide, : >etc

Re: xl driver proplem.

2005-08-24 Thread Thordur I. Bjornsson
On Wed, 24 Aug 2005 16:15:08 -0400 John Baldwin <[EMAIL PROTECTED]> wrote: > On Monday 22 August 2005 01:07 pm, Thordur I. Bjornsson wrote: > > *snip* > > > > > Hello list. > > > > > > I had this proplem with the xl driver: > > > > *snip* > > > > Hello list (again). I'm sorry for the noize last ni

Re: xl driver proplem.

2005-08-24 Thread John Baldwin
On Monday 22 August 2005 01:07 pm, Thordur I. Bjornsson wrote: > *snip* > > > Hello list. > > > > I had this proplem with the xl driver: > > *snip* > > Hello list (again). I'm sorry for the noize last night. > I was way to sleepy ;) > > Now I had this proplem with a non-sleepable lock in if_xl.c (A

Re: Enumerating devices and hardware conf from userland

2005-08-24 Thread victor cruceru
See: man 3 devinfo and man 3 devstat Hope this helps, victor cruceru On 8/24/05, kylin <[EMAIL PROTECTED]> wrote: > >I'm developping a tool running in userland (root) (a command line > >tools) for enumerating all devices present on the machine : > > >This tool must scan all hardware buses : pci

Re: vode to pathname

2005-08-24 Thread Dag-Erling Smørgrav
"Kamal R. Prasad" <[EMAIL PROTECTED]> writes: > So the question is, how do I get hold of pathname given > vnode*/(inode, devno, generation no) -without relying on the name > cache (on freebsd)? You can't. The semantics of Unix file systems are such that the mapping from file name to file is one-w

Enumerating devices and hardware conf from userland

2005-08-24 Thread kylin
>I'm developping a tool running in userland (root) (a command line >tools) for enumerating all devices present on the machine : >This tool must scan all hardware buses : pci, but usb, firewire, ide, >etc and retreive devices states : configure, not configured, handle >by a driver, not handl

beastie.4th and SMP

2005-08-24 Thread Walter C. Pelissero
I was wondering if anybody would care for a beastie.4th that included a boot option which turns off SMP. I personally believe it could make sense where a SMP bug or a faulty MP motherboard made a boot impossible. It would be easier than having to open up the box and remove a CPU. I personally us

Re: Help with console scrolling problem (RELENG54)

2005-08-24 Thread Mike Adewole
From: "Enache Adrian" To: "Mike Adewole" Cc: Sent: Wednesday, August 24, 2005 2:00 AM Subject: Re: Help with console scrolling problem (RELENG54) > On Tue, Aug 23, 2005 at 11:54:35PM -0400, Mike Adewole wrote: > > Is there anyway of writing to the last (row, column) without causing the > > scre

vode to pathname

2005-08-24 Thread Kamal R. Prasad
hello, Im working on implementing some code on AIX. I have a problem that there is no name cache access to end users in AIX, but I do know that it implements NFS4 i.e. the underlyign architecture is pretty much the same. So the question is, how do I get hold of pathname given vnode*/(inode, devn

Re: nagios and freebsd threads issue : help please ...

2005-08-24 Thread Jeremie Le Hen
Hi all > > This is funny, because nagios apparently runs properly on Linux, HPUX, > > Solaris, Irix, AIX and Tru64. To me that seems to indicate that Nagios > > is very portable indeed and that the BSD fellows somehow botched it. I > > might be wrong, but... > > Just because it works doesn't make