Solaris have a file /etc/path_to_inst , Linux don't have this capability, why?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)?
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.
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?
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:
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.