LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-31-2008, 11:59 AM   #1
shaybery
Member
 
Registered: Jan 2008
Posts: 30

Rep: Reputation: 15
Solaris have a file /etc/path_to_inst , Linux don't have this capability, why?


In solaris you have /etc/path_to_inst in this file u can configure for each physical device path what will be his name in the system.
That is how you can configure nics with your own number(nic1=qfe2 & nic2=bge0 etc).
And those physical path will never be changed.

There is any functionality like this file in Linux (redhat)?
 
Old 12-31-2008, 01:21 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Believe it or not "Solaris" != "correct".

That is to say that just because Solaris does things a certain way doesn't mean it is the correct way to do it. It is simply the way the people that wrote that OS chose to do it. I've worked on many UNIX and Linux variants and distros and ONLY Solaris does it that way.

So rather than ask "why doesn't Linux do it like Solaris" you might ask "why doesn't Solaris do it like Linux" or "why doesn't Solaris do it like HP-UX" or "why doesn't Solaris do it like AIX".

All such questions imply an unwillingness to learn the differences and embrace them. I've worked on Linux, SCO, AIX, HP-UX and Solaris not to mention bizarre variants like Astrix (NEC's UNIX) and Qnix. Most of them do certain things in ways that I prefer. In fact Solaris with all its Berkleyisms was my least favorite but that didn't stop me from working on it for several years when my jobs required it.
 
Old 01-01-2009, 01:00 AM   #3
shaybery
Member
 
Registered: Jan 2008
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlightner View Post
Believe it or not "Solaris" != "correct".

That is to say that just because Solaris does things a certain way doesn't mean it is the correct way to do it. It is simply the way the people that wrote that OS chose to do it. I've worked on many UNIX and Linux variants and distros and ONLY Solaris does it that way.

So rather than ask "why doesn't Linux do it like Solaris" you might ask "why doesn't Solaris do it like Linux" or "why doesn't Solaris do it like HP-UX" or "why doesn't Solaris do it like AIX".

All such questions imply an unwillingness to learn the differences and embrace them. I've worked on Linux, SCO, AIX, HP-UX and Solaris not to mention bizarre variants like Astrix (NEC's UNIX) and Qnix. Most of them do certain things in ways that I prefer. In fact Solaris with all its Berkleyisms was my least favorite but that didn't stop me from working on it for several years when my jobs required it.

I will change my question , because I think your right.

There is any /etc/path_to_inst in Linux like Solaris have,
if not, how linux mapping the pci devices permanently and
define their names in the OS by the physical path?
 
Old 01-01-2009, 02:33 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
jlightner, I don't think there's any "unwillingness to learn the differences and embrace them". He knows how to do it in Solaris, he described the functionality, and he is asking how to achieve a similar thing in Linux. I see no problem in that, and I think it's a legitimate question to ask. This is not about which OS does the things in the right way, it's about how to do a given thing on Linux. Nothing else. At least that's my understanding.

It's true that the title could have been better chosen though. But 99% of the posts have an inaccurate title.

shaybery, I have a limited experience with Solaris, and only as a user, so I don't know if this will be 100% the thing that you describe. But I think you need this:

http://www.reactivated.net/writing_udev_rules.html

The document is extensive enough and as long as your distro is running udev (99% do nowadays) everything should work as explained in the document. It has instructions for many things, amongst them, network interfaces that is what you said you need on your first post. However, if you feel you need some extra help just ask back and I will try to do my best (though I am not a master in the subject).

Regards.

Last edited by i92guboj; 01-01-2009 at 02:37 AM.
 
  


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
An query on path_to_inst just.srad Solaris / OpenSolaris 2 11-08-2008 08:39 AM
Porting alias file to from solaris to linux tcsh chrisrose21117 Linux - Newbie 2 09-27-2007 12:31 PM
How to use linux capability mshang Linux - Security 3 02-15-2006 08:42 AM
Fortran unformatted file conversion from Solaris to linux SenorPedo Programming 2 02-29-2004 11:13 PM
Linux Capability nitr0gen Programming 0 02-15-2002 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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