Go Back   The UNIX and Linux Forums > Operating Systems > Solaris


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-09-2011
Registered User
 
Join Date: Jun 2011
Posts: 209
Thanks: 49
Thanked 3 Times in 3 Posts
what is the difference between /etc/mnttab and /etc/vfstab

what is the difference between /etc/mnttab and /etc/vfstab???? what are these files used for

one time i removed mnttab file from my solaris box. infact i renamed it and my solaris box was not booting properly.
Sponsored Links
    #2  
Old 06-09-2011
bartus11's Avatar
Registered User
 
Join Date: Apr 2009
Posts: 3,181
Thanks: 3
Thanked 968 Times in 947 Posts
/etc/vfstab contains definitions of filesystem that can be mounted (at boot or later manually). It is maintained by system administrator.
/etc/mnttab contains list of filesystems that are already mounted. It is maintained by kernel and shouldn't be touched by anyone.
The Following User Says Thank You to bartus11 For This Useful Post:
chidori (06-09-2011)
Sponsored Links
    #3  
Old 06-09-2011
Registered User
 
Join Date: Jun 2011
Posts: 209
Thanks: 49
Thanked 3 Times in 3 Posts
Thanks for the quick response mate.. can i change the permissions for mnttab? i tried but it didnt allow me to do it. i logged in as root .
    #4  
Old 06-09-2011
bartus11's Avatar
Registered User
 
Join Date: Apr 2009
Posts: 3,181
Thanks: 3
Thanked 968 Times in 947 Posts
Why would you want to do that? Solaris is protecting this file, so it will refuse to change permission rights for it.
Sponsored Links
    #5  
Old 06-09-2011
Registered User
 
Join Date: Jun 2011
Posts: 209
Thanks: 49
Thanked 3 Times in 3 Posts
bartus11 i am newbie. i have installed vmware and have installed solaris in it. with this setup i can take all risks. so that i can learn from my mistakes which wont create a problem. i mean i can make a mistake that wont harm anyone.

so is there any way to change the permission?

i have few doubts about vmware also can you help me with that also?

Thanks in advance
Sponsored Links
    #6  
Old 06-09-2011
bartus11's Avatar
Registered User
 
Join Date: Apr 2009
Posts: 3,181
Thanks: 3
Thanked 968 Times in 947 Posts
I think you could boot your Solaris host from CD, then mount root slice and change permissions there, then reboot. But I think you won't notice the change after reboot, as /etc/mnttab is a mountpoint for mnttab memory based filesystem (after mounting it by the system, permissions on the mountpoint change to those of the mounted FS).
Sponsored Links
    #7  
Old 06-09-2011
Registered User
 
Join Date: Jun 2011
Posts: 209
Thanks: 49
Thanked 3 Times in 3 Posts
i will try that. and regarding vmware doubts? can i ask about them to you
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
My /etc/mnttab file is showing ro permission for /usr navjotmannan Solaris 3 02-27-2011 06:54 PM
/etc/vfstab vs /etc/mnttab hrist UNIX for Dummies Questions & Answers 4 06-23-2010 01:00 AM
veritas hasf /etc/mnttab itik Linux 2 08-21-2008 03:30 PM
/etc/mnttab is zero length - I have done a silly thing Smiling Dragon UNIX for Advanced & Expert Users 7 12-09-2007 03:03 PM
bdf , /etc/fstab , /etc/mnttab Cameron HP-UX 6 12-03-2007 09:34 AM



All times are GMT -4. The time now is 12:31 PM.