Re: A bit confused with the sched_4bsd.c code

2005-05-05 Thread Stephan Uphoff
On Thu, 2005-05-05 at 20:10, Halil Demirezen wrote: > Hello, > > First of all, I am not sure if this is the correct mail list with posting > this > mail. I apologize for that.. Second, I may seem to have little > C knowledge, though I am using C for about 5 years and plus. > > Let's start with

Re: A bit confused with the sched_4bsd.c code

2005-05-05 Thread Julian Elischer
Halil Demirezen wrote: Hello, First of all, I am not sure if this is the correct mail list with posting this mail. I apologize for that.. Second, I may seem to have little C knowledge, though I am using C for about 5 years and plus. Let's start with the question. I am digging the FreeBSD-5.3 ke

Re: A bit confused with the sched_4bsd.c code

2005-05-05 Thread Julian Elischer
Scott Long wrote: Halil Demirezen wrote: Hello, First of all, I am not sure if this is the correct mail list with posting this mail. I apologize for that.. Second, I may seem to have little C knowledge, though I am using C for about 5 years and plus. Let's start with the question. I am digging

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread John-Mark Gurney
Julien Gabel wrote this message on Thu, May 05, 2005 at 18:55 +0200: > >> Point 2, likely as not, might explain why there's no > >> simple mechanism for doing this from rm. At the very > >> least you'd have to specify the file system you're > >> referring to, and many "plain" users couldn't do > >>

Re: A bit confused with the sched_4bsd.c code

2005-05-05 Thread Scott Long
Halil Demirezen wrote: On Thursday 05 May 2005 21:48, Scott Long wrote: #define td_kse td_sched Yes that is also a magical case since in the sys/proc.h file, only a single definition lies; struct td_sched; That's called a forward declaration. I could not understand anything from this. There is not

Re: A bit confused with the sched_4bsd.c code

2005-05-05 Thread Halil Demirezen
On Thursday 05 May 2005 21:48, Scott Long wrote: > #define td_kse td_sched Yes that is also a magical case since in the sys/proc.h file, only a single definition lies; struct td_sched; I could not understand anything from this. There is not body of the structure. Shouldn't there be a definitive

Re: A bit confused with the sched_4bsd.c code

2005-05-05 Thread Scott Long
Halil Demirezen wrote: Hello, First of all, I am not sure if this is the correct mail list with posting this mail. I apologize for that.. Second, I may seem to have little C knowledge, though I am using C for about 5 years and plus. Let's start with the question. I am digging the FreeBSD-5.3 ker

A bit confused with the sched_4bsd.c code

2005-05-05 Thread Halil Demirezen
Hello, First of all, I am not sure if this is the correct mail list with posting this mail. I apologize for that.. Second, I may seem to have little C knowledge, though I am using C for about 5 years and plus. Let's start with the question. I am digging the FreeBSD-5.3 kernel codes. Watson's Cr

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Garance A Drosihn
At 2:19 PM +0300 5/5/05, Erik Udo wrote: I couldn't find a way to remove files that had scandic/non-printable letters, then i remembered ls showed inode number of the file. Is it possible to remove the file by the inode number? It would be a useful feature :) It would be a bad feature, at least for

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Halil Demirezen
My point of view is if you add inode removing option to the rm you'll have to add en extra parameter, that is on which *filesystem*. For example, rm -x 2 /var, i am supposing -x as the option for removing inodes is removing inode number 2 on file system /var So the pattern seems to be

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Julien Gabel
>> Point 2, likely as not, might explain why there's no >> simple mechanism for doing this from rm. At the very >> least you'd have to specify the file system you're >> referring to, and many "plain" users couldn't do >> that safely. Those that can are probably able to use >> find anyway. > A (dev

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Raymond Wiker
Kamal R. Prasad writes: > > > --- Raymond Wiker <[EMAIL PROTECTED]> wrote: > > > Erik Udo writes: > > > > I couldn't find a way to remove files that had > > > scandic/non-printable > > > > letters, then i remembered ls showed inode > > number > > > of the file. Is it > > > > possible

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Kamal R. Prasad
--- Simon Roberts <[EMAIL PROTECTED]> wrote: > A couple of observations: > [snip] [snip] > > Point 2, likely as not, might explain why there's no > simple mechanism for doing this from rm. At the very > least you'd have to specify the file system you're > referring to, and many "plain" users co

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Simon Roberts
A couple of observations: 1) Implicit in most people's answers is the fact that a single inode can have many directory entries. That's why find is used. That's also why the solution below won't work, as it doesn't check the entire file system (nor would you want to answer y/n for all those files :

Re: Pci Question

2005-05-05 Thread M. Warner Losh
Open /dev/io to use out*/in* functions. Warner ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Brian Fundakowski Feldman
On Thu, May 05, 2005 at 02:47:55PM +0300, Erik Udo wrote: > Wilko Bulte wrote: > >On Thu, May 05, 2005 at 02:19:41PM +0300, Erik Udo wrote.. > > > >>I couldn't find a way to remove files that had scandic/non-printable > >>letters, then i remembered ls showed inode number of the file. Is it > >>pos

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Raymond Wiker
Erik Udo writes: > I couldn't find a way to remove files that had scandic/non-printable > letters, then i remembered ls showed inode number of the file. Is it > possible to remove the file by the inode number? It would be a > useful feature :) > > I bet there is a way to remove those files,

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Wilko Bulte
On Thu, May 05, 2005 at 03:24:25PM +0300, Danny Braniss wrote.. > > Julien Gabel wrote: > > >>>I couldn't find a way to remove files that had scandic/non-printable > > >>>letters, then i remembered ls showed inode number of the file. Is it > > >>>possible to remove the file by the inode number? It

Re: Pci Question

2005-05-05 Thread Cole
Nevermind, I figured it out and got it working. Thanks - Original Message - From: "Cole" <[EMAIL PROTECTED]> To: Sent: Thursday, May 05, 2005 12:39 PM Subject: Re: Pci Question > Err, sorry. > > I meant the linux version of this is using outl_p to communicate with the > device, and

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Danny Braniss
> Julien Gabel wrote: > >>>I couldn't find a way to remove files that had scandic/non-printable > >>>letters, then i remembered ls showed inode number of the file. Is it > >>>possible to remove the file by the inode number? It would be a > >>>useful feature :) > >>> > >>>I bet there is a way to rem

Re: SSE in kernel?

2005-05-05 Thread Ivan Voras
Kris Kennaway wrote: This question is asked quite often..please see the mailing list archives for discussion. I've searched -hackers and -current lists for "sse" and "sse kernel" search strings without explicit findings. From what I can discern from various discussions, the answer is "probably not

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Erik Udo
Julien Gabel wrote: I couldn't find a way to remove files that had scandic/non-printable letters, then i remembered ls showed inode number of the file. Is it possible to remove the file by the inode number? It would be a useful feature :) I bet there is a way to remove those files, but only third p

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Erik Udo
Wilko Bulte wrote: On Thu, May 05, 2005 at 02:19:41PM +0300, Erik Udo wrote.. I couldn't find a way to remove files that had scandic/non-printable letters, then i remembered ls showed inode number of the file. Is it possible to remove the file by the inode number? It would be a useful feature :)

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Julien Gabel
>> I couldn't find a way to remove files that had scandic/non-printable >> letters, then i remembered ls showed inode number of the file. Is it >> possible to remove the file by the inode number? It would be a >> useful feature :) >> >> I bet there is a way to remove those files, but only >> third

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Wilko Bulte
On Thu, May 05, 2005 at 02:19:41PM +0300, Erik Udo wrote.. > I couldn't find a way to remove files that had scandic/non-printable > letters, then i remembered ls showed inode number of the file. Is it > possible to remove the file by the inode number? It would be a > useful feature :) > > I bet t

Re: req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Tim Robbins
On Thu, May 05, 2005 at 02:19:41PM +0300, Erik Udo wrote: > I couldn't find a way to remove files that had scandic/non-printable > letters, then i remembered ls showed inode number of the file. Is it > possible to remove the file by the inode number? It would be a > useful feature :) > > I bet th

req: New feature to rm? Remove file by the inode number

2005-05-05 Thread Erik Udo
I couldn't find a way to remove files that had scandic/non-printable letters, then i remembered ls showed inode number of the file. Is it possible to remove the file by the inode number? It would be a useful feature :) I bet there is a way to remove those files, but only third party programs came

Determining PCI-X speed from FreeBSD?

2005-05-05 Thread Steven Hartland
Is there anyway to determine what speed a PCI-X card is running at from FreeBSD? Steve This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipien

Re: Pci Question

2005-05-05 Thread Cole
Err, sorry. I meant the linux version of this is using outl_p to communicate with the device, and write the values. /Cole - Original Message - From: "Cole" <[EMAIL PROTECTED]> To: Sent: Thursday, May 05, 2005 12:04 PM Subject: Pci Question > Hi > > Im trying to write a userland prog

Pci Question

2005-05-05 Thread Cole
Hi Im trying to write a userland program that writes to the IOPORT BAR's of a pci card. I can find the card and all that fine. But im a bit lost on exactly what address the IOPORT BAR's would be then? Im using the /dev/pci and pci(4) functions to find the card. Ive seen in the linux version of

Re: mergemaster improvement (auto-update for not modified files)

2005-05-05 Thread John Hay
> > > > > > The technical reasons are very simple. If a new system call is > > > created, and programs use that new system call, then if you do an > > > installworld before you boot the kernel, that can result in binaries > > > not working. This has happened with important ones like /bin/sh in >