[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Difference between /etc/vfstab and /etc/mnttab

Posted on 2012-09-06
4
Medium Priority
?
2,588 Views
Last Modified: 2012-09-06
Hi Experts,

Can you please explain me the major and minor differences between /etc/vfstab and /etc/mnttab in Solaris?

Why there is need of 2 files to do the same task if there is no such difference?

Thanks and regards
Ashwin
0
Comment
Question by:ashwin2012
  • 2
  • 2
4 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 38372412
vfstab contains everything that can be mounted, and mnttab contains what is actually mounted.
0
 

Author Comment

by:ashwin2012
ID: 38372495
still confused

woolmilkproc,

can you please elaborate it?
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 1200 total points
ID: 38372558
vfstab describes each of your filesystems and has all the defaults needed to successfully mount them at system restart

These are the columns of vfstab, as taken from the manpage:

    device       device       mount      FS      fsck    mount      mount
     to mount     to fsck      point      type    pass    at boot    options


mnttab is a representation of the table of mounted file systems for the current host.

These are its columns (again from the manpage):

special   mount_point   fstype   options   time

"special" is the mounted resource.

"man vsftab"
and
"man mnttab"

provide useful information.
0
 

Author Closing Comment

by:ashwin2012
ID: 38372906
Thanks you
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month18 days, 4 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question