The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
lofs wrapster SUN Solaris 1 01-20-2008 11:58 AM
auto mount lofs mdjuarsa UNIX for Advanced & Expert Users 1 08-16-2007 02:32 AM
Lofs Sowser UNIX for Advanced & Expert Users 7 12-18-2006 07:26 PM
Lofs Lomic UNIX for Dummies Questions & Answers 7 12-10-2004 11:48 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-18-2008
wrapster wrapster is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 193
lofs

hi all,

I was going through the /lib/svc/methods/fs-root file
and found this command

/usr/sbin/mount -O -F lofs $MOE /lib/libc.so.1

can anyone please explain to me what it does.
i know what lofs does what lib.so.1 and what mount is , but am not able to interpret it as its written in the script.
Also as i searched through google ,found out that MOE :measure of effectiveness ,can you tell me how is that in regard to this statement
I am a relatively new guy to this, so would be glad to have some assistance

Thanks
  #2 (permalink)  
Old 01-18-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,126
Well, $MOE is just a variable name in the script. It could be $LARRY or $CURLY and it would work just as well. But good programmers pick good names for variables and in this case MOE means "most optimal execution" or something like that. The idea is that you have a bunch of libc libraries, each optimized for different cpu's. Then you figure out what capabilities your cpu has and you mount your best libc onto the the official libc name. The mount goes away with each reboot, so if you power-down, upgrade your cpu, and reboot, the OS will come up using whatever new features you got with the upgrade.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0