LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Beginner questions (https://www.linuxquestions.org/questions/solaris-opensolaris-20/beginner-questions-559149/)

phantom_cyph 06-04-2007 04:38 PM

Beginner questions
 
OK, I just installed Solaris 10 (Developer) on my desktop. A few interesting things I noticed:

1. How do you actually shut down? I only have noted "Log Out".

2. What kind of package manager is used? And if I wanted to install say, Enlightenment, how would I do it?

3. Another one, I need something called "vob" to play a DVD. What is it and where do I get it?

These may seem like ultra-simple questions, but this is the first time I've used Solaris. Another question, it is my understanding that Solaris is "closer" to UNIX than Linux is. Is this a correct assumption?

Thanks!

custangro 06-04-2007 08:15 PM

You can shutdown by typing init 0

ADxD_7 06-04-2007 10:14 PM

Ok well ...

Shutdown is init 5 because init 0 is halt and can cause data corruption.

Then you should man pkgadd, pkginfo, and pkgrm
Or go to docs.sun.com (great guides)

And then go to sunfreeware.com :)

I really think if you read some on suns website and go to sunfreeware you will learn what you want and get what you want ... but that just me :)

jlliagre 06-05-2007 02:28 AM

You are correct the "init 5" command is the right command to shutdown a machine, however, "init 0" doesn't cause data corruption.

"init 0" is just shutting down the O/S without powering off. What may corrupt the system is using either the "halt" or the "poweroff" command on a system not in single user mode.

Dox Systems - Brian 06-06-2007 11:04 AM

I always do my shutdowns via "shutdown -g0 -y -i5" as my understanding is that init doesn't enforce file system sync before shutdown occurs.

custangro 06-06-2007 05:30 PM

I forgot to mention....I type sync (twice) before I init 0...this is how I shutdown:

Code:

# sync
# sync
# init 0


jlliagre 06-07-2007 10:55 AM

Quote:

Originally Posted by Dox Systems - Brian
I always do my shutdowns via "shutdown -g0 -y -i5" as my understanding is that init doesn't enforce file system sync before shutdown occurs.

While it doesn't hurt using "shutdown", the last statement is incorrect. "init 0" does sync before shutdown.

jlliagre 06-07-2007 10:57 AM

Quote:

Originally Posted by custangro
I forgot to mention....I type sync (twice) before I init 0...this is how I shutdown:

Code:

# sync
# sync
# init 0


These syncs are useless as the filesystem is still alive and will be updated by various commands during the services shutdown.

Dox Systems - Brian 06-08-2007 07:55 AM

Quote:

Originally Posted by jlliagre
These syncs are useless as the filesystem is still alive and will be updated by various commands during the services shutdown.

I always wondered about that. Seemed kind of pointless, but that's what pops up in all the documentation that I read... "Use sync;sync;init or use shutdown to maintain filesystem integrity" :-) To avoid any potential issues, I decided to choose the shutdown method and stick with it! :-)

phantom_cyph 06-08-2007 09:16 AM

Well, I'm not using Solaris anymore, it didn't exactly meet up to my specifications, so I came back to linux.

jlliagre 06-08-2007 09:33 AM

By curiosity, what are these specifications that aren't met ?

jlliagre 06-08-2007 09:36 AM

Quote:

Originally Posted by Dox Systems - Brian
but that's what pops up in all the documentation that I read... "Use sync;sync;init or use shutdown to maintain filesystem integrity" :-)

Have you some pointers to (official) documentation recommending that ?

phantom_cyph 06-08-2007 11:15 AM

Easy installation of given programs, higher number of users, and the fact they haven't figured out the power off button yet. I want something configurable, not something that I have to feel like I'm running pure UNIX in just to power down.

Dox Systems - Brian 06-08-2007 11:54 AM

Quote:

Originally Posted by jlliagre
Have you some pointers to (official) documentation recommending that ?

Not off the top of my head. If I remember, I'll post up when I run across it though.

Dox Systems - Brian 06-08-2007 11:55 AM

Quote:

Originally Posted by phantom_cyph
Easy installation of given programs, higher number of users, and the fact they haven't figured out the power off button yet. I want something configurable, not something that I have to feel like I'm running pure UNIX in just to power down.

Hmmm. The power button on my Blade 150 (and 100) keyboard work fine... Give it a push and the system asks if you'd like to shutdown or logout.


All times are GMT -5. The time now is 03:51 PM.