Difference between /etc/vfstab and /etc/mnttab

Posted on 2012-09-06
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
Question by:ashwin2012
    LVL 68

    Expert Comment

    vfstab contains everything that can be mounted, and mnttab contains what is actually mounted.

    Author Comment

    still confused


    can you please elaborate it?
    LVL 68

    Accepted Solution

    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"
    "man mnttab"

    provide useful information.

    Author Closing Comment

    Thanks you

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    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 how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    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.

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now