LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-29-2006, 09:57 PM   #1
lucky6969b
Member
 
Registered: Nov 2005
Posts: 337

Rep: Reputation: 30
Has Linux got "registry"?


Is there a concept of registry in Linux?
I want to get the serial port speed and somethin' like that...
Thanks
Jack
 
Old 03-29-2006, 10:10 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,445
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
No. I wouldn't use it if it had one.

In a nutshell, config files go under /etc and live system information can be found under /proc

Have fun.
 
Old 03-29-2006, 10:45 PM   #3
augurseer
Member
 
Registered: Feb 2006
Location: Canada
Distribution: OpenSuSe 10.2 (Home and Laptop) CentOS 5.0 (Server)
Posts: 171

Rep: Reputation: 30
yea, linux doesnt bind itself to one set of locals with info or setting, each app can have it settinfs wherever it wants, all those apps are jsut binary files with guidlines on how to run, no cenetral thinking. most high level or kernel apps and funtions fall under proc , and most of linux is peiced together by the user and the distro so haveing cenetal stuff would hurt larger inovation (thoguh it would make updates and migrations easier) bu thats another post...lol
 
Old 03-29-2006, 11:01 PM   #4
stephenwalter
Member
 
Registered: Jul 2005
Location: india,coimbatore
Distribution: Fedora core 4
Posts: 85

Rep: Reputation: 15
Hi,
There is no registry in Linux. The registry associates file types to the type of image file needed to open it, etc.

The chances are most of the "registry" stuff is not needed at all. A lot of intermediate stuff like that is handled by creating a shell script to execute your program.

Regards,
S.Suresh Stephen.
 
Old 03-30-2006, 07:42 AM   #5
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
as was said linux has no registry..

in windows a primary function of the registry is configuration for apps.. in linux it is common for an applicatoin to use a plain-text file(s).. this is a big plus because editing a plain-text file is so much easier (and less troublesome) than using a registry like windows..
 
Old 03-30-2006, 08:13 AM   #6
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 43
Both gnome and kde provide things that are similar to the windows registry; you store key/value pairs where the keys exist in a hierarchy with / separators.
 
Old 03-30-2006, 08:27 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
http://tldp.org/HOWTO/Serial-HOWTO.html

=>

Code:
stty -F /dev/ttyS0
 
Old 03-30-2006, 08:38 AM   #8
augurseer
Member
 
Registered: Feb 2006
Location: Canada
Distribution: OpenSuSe 10.2 (Home and Laptop) CentOS 5.0 (Server)
Posts: 171

Rep: Reputation: 30
short answer apps have there own config files that tell them what to do and KDE and gnome which are WM`s have their own files and configs, BUT linux as a whole doesnt.

linux is far to wide and open and de-centrilized, there is no registry, but that was a good question so kudos
 
Old 03-30-2006, 10:13 AM   #9
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
thats the beauty of linux you can remove programs by a simple delete action. So there is no registry at all.............................
 
Old 03-30-2006, 12:05 PM   #10
augurseer
Member
 
Registered: Feb 2006
Location: Canada
Distribution: OpenSuSe 10.2 (Home and Laptop) CentOS 5.0 (Server)
Posts: 171

Rep: Reputation: 30
tiss also good to update ones rpm database so it knows its gone


dont think delete is the naswer unless you from from source or binary
 
Old 03-30-2006, 11:01 PM   #11
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by lucky6969b
Is there a concept of registry in Linux?
I want to get the serial port speed and somethin' like that...
Thanks
Jack
No, thank God.
 
  


Reply



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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM

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

All times are GMT -5. The time now is 11:26 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