Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
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.
Sun SPARC systems can be pretty amazing. I'm just finally decommissioning E250's that are approaching 10 years old this summer. They have performed remarkably well over that span of time. We finally got money to get new servers, and I'm putting in a couple of Sun T5220's. The cpu's are 8 core, with 8 threads per core, an FPU per core, an encryption accelerator per core, and 2 on cpu 10Gb/s ethernet circuits as well as 4 GigE ports on the back. The machines are only 2u, use less power than the E250's, are probably 100 times faster or more, and I can sling them under my arm and carry them the length of the building. There is a kernel module ssl proxy in Solaris 10 that accesses the on chip encryption accelerators so that you can offload the cpu load from user applications that need encryption. The thing looks like 64 cpu's to the OS. And this is what they call an entry level server. Gotta love it.
Thanks for the links. There's some helpful stuff in there. You do have a point about not blaming Solaris for my ignorance. However, I don't think that it would be as difficult going from Solaris to Linux, if no other reason than pretty much everything you need is in your path. I'm sure there's a reason for the way Solaris is laid out but because I don't understand why I find it very confusing.
I still don't quite understand how the "special" device files in Solaris work. For instance, how does /dev/dsk/c0t1d0s2 refer to the cdrom if the last number means slice 2? I thought a slice in Solaris was tantamount to a partition?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by fancylad
Thanks for everyone's help. I'm really trying to not hate Solaris but it is hard. I understand that it is very stable and has a lot of really cool features (zfs, zones, etc) but the fact that it is so non-user-friendly out of the box is driving me crazy.
Here are some things about Solaris that I hate (so far):
1> Most of the utilities that you need are not in your path by default.
2> No vim by default.
3> Default shell is garbage.
I'm not going to explain the rationale behind this but anyway you are not alone. These rants are typical of a GNU/Linux only user discovering a non Linux still Unix OS.
A distribution has been created to match these requirements and started its life recently. You should have a look at OpenSolaris 2008.05 ( www.opensolaris.com )
Quote:
I understand that you can customize Solaris to your heart's content but at work I don't really have this option. We have about 12-20 Solaris machines and I'm constantly jumping on this one or that one to solve a problem. I really don't have the time to add all the directories I need to my path or install vim, etc.
There is just one file you need to edit that allows you to set the default path for all users on a machine.
Quote:
Why not just give us a decent working environment by default?
Not to break compatibility.
Quote:
If we don't like it we can just change it later. I mean who actually wants to use that crappy shell?
Nobody.
Nobody should use it anyway as logging in as root is a poor practice.
Quote:
Why not just use tcsh or bash by default.
The shell to be used is a user's choice, not the system choice.
I personnaly prefer and use ksh93.
Quote:
I know that NetBSD does the same thing but that doesn't make it right.
Well, think about it as a tradition so deeply rooted it's hard to change it.
For example the US is using an unconvenient and anachronic measurement system that piss people off much more than the legacy /bin/sh ...
The default shell is "sh" and not "bash". That is because in case of system error, and you boot in rescue mode, there can be problem loading a large shell as bash. bash is dynamically linked, all parts are not in one directory. If you can not even load bash then you are in big trouble. However, sh is loadable in one piece. This is from long ago. Is it still like this? Or is this problem solved?
And yes, I tend to agree with you about Solaris. It feels antique. I installed it and didnt like it really. Sure, it is rock solid, but it was hard to use. I installed OpenSolaris instead, which is very similar to a modern Linux, just like SuSE, RedHat or Ubuntu. Everything got detected automatically, nvidia card, my monitor, sound, network, etc. Samba was automatically setup. etc etc. Just like a normal Linux. So I quickly ditched S10. It is a bit hard, and not for the faint of heart. OpenSolaris is very easy.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by kebabbert
However, sh is loadable in one piece. This is from long ago. Is it still like this?
That was a point used until Solaris 10 was out. Now Solaris 10 mandates all binaries to be dynamically linked. Anyway, it would have been possible to build a statically linked ksh.
The real reason for maintaining the old original Bourne shell as default shell is not to risk breaking shell scripts as no modern shell is strictly compatible with /bin/sh. Neither ksh, ksh93, bash or other are guaranteed properly execute existing scripts.
You can find the PID in several ways.
You could try 'lsof'. However, lsof don't come standard with your installation; so you 've got to download it from sunfreeware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.