Re: procfs in OpenBSD

2009-09-26 Thread Mauro Rezzonico
o?= wrote: I failed googling about this topic. Any help please? :D :D :D :D procfs is the unix port of a /Plan9/ Design priciple: everything should be like a file. You can find A LOT of information here: http://plan9.bell-labs.com/plan9/ -- Mauro Rezzonico ma...@ch23.org, Como, Italia Maybe

Re: procfs in OpenBSD

2009-09-25 Thread frantisek holop
). I just wanna say I'm loving the system (and the phylosophy). The OpenBSD implementation of procfs was written/donated to BSD 15 years ago, back when it was still at Berkeley. In OpenBSD, it has barely changed since, and isn't really maintained or supported, so there's not much else to say

Re: procfs in OpenBSD

2009-09-25 Thread Bob Beck
if it's use is far from recommended, indeed rather forbidden, why is it left to rot? It is left there for historical reasons, because some old applications may use it. For new applications we do not use it, but prefer to use a properly designed sysctl or ioctl interface to retrieve information

Re: procfs in OpenBSD

2009-09-25 Thread Matthew Szudzik
On Fri, Sep 25, 2009 at 04:34:20PM +0200, frantisek holop wrote: to remove unused bit rotting stuff. what's the deal with procfs? if it's use is far from recommended, indeed rather forbidden, why is it left to rot? It's necessary for compat_linux. See the man page.

Re: procfs in OpenBSD

2009-09-25 Thread Marco Peereboom
I wouldn't miss it... On Fri, Sep 25, 2009 at 08:49:15AM -0600, Bob Beck wrote: if it's use is far from recommended, indeed rather forbidden, why is it left to rot? It is left there for historical reasons, because some old applications may use it. For new applications we do not use it,

Re: procfs in OpenBSD

2009-09-25 Thread Theo de Raadt
if it's use is far from recommended, indeed rather forbidden, why is it left to rot? It is left there for historical reasons, because some old applications may use it. For new applications we do not use it, but prefer to use a properly designed sysctl or ioctl interface to retrieve information

Re: procfs in OpenBSD

2009-09-25 Thread frantisek holop
hmm, on Fri, Sep 25, 2009 at 03:01:18PM +, Matthew Szudzik said that On Fri, Sep 25, 2009 at 04:34:20PM +0200, frantisek holop wrote: to remove unused bit rotting stuff. what's the deal with procfs? if it's use is far from recommended, indeed rather forbidden, why is it left to rot?

Re: procfs in OpenBSD

2009-09-25 Thread frantisek holop
hmm, on Fri, Sep 25, 2009 at 02:44:07PM -0600, Theo de Raadt said that The major reason for moving away from procfs is that there are numerous TOCTOU problems. out of curiousity, in principle, what is the difference between accessing a through /procfs and the same value through sysctl, and/or

Re: procfs in OpenBSD

2009-09-25 Thread Theo de Raadt
hmm, on Fri, Sep 25, 2009 at 02:44:07PM -0600, Theo de Raadt said that The major reason for moving away from procfs is that there are numerous TOCTOU problems. out of curiousity, in principle, what is the difference between accessing a through /procfs and the same value through sysctl, and/or

Re: procfs in OpenBSD

2009-09-23 Thread Joachim Schipper
wanna say I'm loving the system (and the phylosophy). The OpenBSD implementation of procfs was written/donated to BSD 15 years ago, back when it was still at Berkeley. In OpenBSD, it has barely changed since, and isn't really maintained or supported, so there's not much else to say about

Re: procfs in OpenBSD

2009-09-22 Thread Sergio Andrés Gómez del Real
Hi. Sorry about the late response. I do know what problem am having and what exactly I want, sorry didn't post my original intention. I would like to know more about procfs implemention in OpenBSD, not just knowing how to mount it... That's what I refered to when I said didn't have success while

Re: procfs in OpenBSD

2009-09-22 Thread Sergio Andrés Gómez del Real
Hi. Sorry about the late response. I do know what problem am having and what exactly I want, sorry didn't post my original intention. I would like to know more about procfs implemention in OpenBSD, not just knowing how to mount it... That's what I refered to when I said didn't have success while

Re: procfs in OpenBSD

2009-09-22 Thread Ted Unangst
2009/9/22 Sergio Andris Gsmez del Real sergio.g.delr...@gmail.com: maybe a little reference would be great, cause very little or non literature is found about OpenBSD implementation... (or maybe I'm struggling searching). I just wanna say I'm loving the system (and the phylosophy). The OpenBSD

Re: procfs in OpenBSD

2009-09-21 Thread Daniel Bolgheroni
On Sat, 19 Sep 2009, Sergio Andr?s G?mez del Real wrote: Hi. I failed googling about this topic. Any help please? :D :D :D :D This? # mount -t procfs /proc /proc Teers, -- Daniel Bolgheroni FEI - Faculdade de Engenharia Industrial http://www.dbolgheroni.eng.br/mykey ASCII ribbon campaign

Re: procfs in OpenBSD

2009-09-21 Thread Philip Guenther
2009/9/20 Daniel Bolgheroni m...@dbolgheroni.eng.br: On Sat, 19 Sep 2009, Sergio Andr?s G?mez del Real wrote: I failed googling about this topic. Any help please? :D :D :D :D This? # mount -t procfs /proc /proc Great, now we have another user doing stuff without understanding why. Even

Re: procfs in OpenBSD

2009-09-20 Thread Paige Thompson
yeah what problem :D :D :D :D :D On Sat, Sep 19, 2009 at 6:54 PM, Marco Peereboom sl...@peereboom.us wrote: what problem are you trying to solve? On Sat, Sep 19, 2009 at 08:38:48PM -0500, Sergio Andr?s G?mez del Real wrote: Hi. I failed googling about this topic. Any help please? :D

Re: procfs in OpenBSD

2009-09-20 Thread Jim Willis
U what? On Sun, Sep 20, 2009 at 12:08 AM, Paige Thompson erra...@devel.ws wrote: yeah what problem :D :D :D :D :D On Sat, Sep 19, 2009 at 6:54 PM, Marco Peereboom sl...@peereboom.us wrote: what problem are you trying to solve? On Sat, Sep 19, 2009 at 08:38:48PM -0500, Sergio

Re: procfs in OpenBSD

2009-09-19 Thread Rafael Ferreira Neves
Manual page description of mount_procfs(8) http://www.openbsd.org/cgi-bin/man.cgi?query=mount_procfssektion=8apropos=0 manpath=OpenBSD+Currentarch=i386 2009/9/19 Sergio Andris Gsmez del Real sergio.g.delr...@gmail.com: Hi. I failed googling about this topic. Any help please? :D :D :D :D

Re: procfs in OpenBSD

2009-09-19 Thread Marco Peereboom
what problem are you trying to solve? On Sat, Sep 19, 2009 at 08:38:48PM -0500, Sergio Andr?s G?mez del Real wrote: Hi. I failed googling about this topic. Any help please? :D :D :D :D

procfs and OpenBSD 4.0

2007-03-08 Thread Linden Varley
I've re-compiled the kernel with option procfs and I still get the error mount_procfs: /proc: Filesystem not supported by kernel when mounting. What else could I be missing ? Cheers, Linden.