Results 1 to 4 of 4

Thread: OT: What's going on with /proc in FreeBSD?

  1. #1
    Join Date
    Nov 2012

    OT: What's going on with /proc in FreeBSD?

    Not trying to start a flame-war here (don't even know if this is a hot-button issue), but I read on wikipedia (article entitled 'procfs') that FreeBSD is phasing out /proc. There wasn't really any explanation beyond that.

    Does anyone know what they are actually doing and what their reasons are? While I'm not poking around /proc on a daily basis, it has its uses. Does it present a security risk, having such a link between kernel space and userspace? Are they creating another way to do somthing similar which doesn't utilize the file system? I know OS X gets along fine without one (well enough for the POSIX, in any event).

    Links would be appreciated. This may be a bit overly technical for the Café, but I'm sure someone here knows the answer.

  2. #2
    Join Date
    Apr 2009
    Ubuntu Development Release

    Re: OT: What's going on with /proc in FreeBSD?

    the reasons are stated in the citation link, its simply not maintained (assuming its still valid)

    must stuff in procfs is highly linux specific anyway and even there its not really a stable interface in all places
    programs intended to be portable should not use it.

  3. #3
    Join Date
    Mar 2008

    Re: OT: What's going on with /proc in FreeBSD?

    Procfs in FreeBSD has been deprecated for a while now. By default it doesn't mount /proc and the handbook suggests using sysctl instead. If you want to read a more recent debate on the issue there's this thread

  4. #4
    Join Date
    Dec 2010

    Re: OT: What's going on with /proc in FreeBSD?

    Thread moved to Other OS/Distro Talk.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts