LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-25-2005, 08:40 AM   #1
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
Is proc file system standardized across distro


sometimes i feel like using proc file system to get infomation/status,
which is the directory /proc in my redhat9,
but afraid that proc file system is not standardized across distro
i using redhat9 it's impossible for me to verify this concern myself.
Any advice and suggestion from anybody who play
with proc file system before ?

thanks in advance

Last edited by alred; 03-25-2005 at 08:52 AM.
 
Old 03-25-2005, 09:44 AM   #2
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
It depends on how the kernel is compiled. I personally recompile my kernel after installing any distro so it's optomized for the system I'm running it on and for the way I'm going to use the computer.

It's possible to even not compile /proc support into the kernel, but it's not a likely scenario. Anyway, the real question is whether the /proc filesystem is standard across different kernel versions, and the answer is that the fundamental stuff you can be pretty sure will stay the same, but there are small things that change.
 
Old 03-25-2005, 12:22 PM   #3
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658

Original Poster
Blog Entries: 8

Rep: Reputation: 31
Can user applications write/update to the proc file system through coding?
or only the kernel can write/update to the proc file system.

Last edited by alred; 03-25-2005 at 06:08 PM.
 
Old 03-26-2005, 01:13 AM   #4
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658

Original Poster
Blog Entries: 8

Rep: Reputation: 31
after itsme86 telling proc filesystem is a kernel stuff
do some searching and found this
interesting for me and decided to post it here for those who
had not already know,

[http://www-106.ibm.com/developerwork...y/l-adfly.html

sounds like a "window registry" for me
thanks itsme86
 
Old 03-26-2005, 05:57 AM   #5
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
I believe that a distro must have the proc filesystem to be LSB compliant. And most of the distros are moving to be compliant.

www.linuxbase.org
 
Old 03-27-2005, 02:37 PM   #6
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658

Original Poster
Blog Entries: 8

Rep: Reputation: 31
Quote:
I believe that a distro must have the proc filesystem to be LSB compliant. And most of the distros are moving to be compliant.
good news for everybody,hopes that it doesn't degenerated into a "install into /usr/bin(or lib) or /use/local/bin(or lib) or
/opt" kind of confusion
 
Old 03-27-2005, 03:19 PM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
good news for everybody,hopes that it doesn't degenerated into a "install into /usr/bin(or lib) or /use/local/bin(or lib) or
/opt" kind of confusion
Confusion is part of today's linux experience, cleaning the mess and reducing this confusion is part of what LSB is promoting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Most standardized distribution of linux davidh_R Linux - Distributions 41 12-18-2005 02:58 PM
How to get these information using proc file system. cppkid Programming 1 10-02-2005 07:55 PM
use of proc file system in linux device driver amitchakote Linux - Software 0 06-20-2004 11:27 AM
Standardized Package Manager? DecimalPoint Linux - Software 0 05-22-2003 06:18 AM
What /proc proc file do I need? GoboFraggle Programming 1 02-04-2003 11:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration