Solved

auto mounter on solaris

Posted on 2016-08-02
1
39 Views
Last Modified: 2016-08-09
On linux if i want to check what's auto mounted i would do the following. What would the equivalent be on solaris?

if [ ` ps -ef | grep -v grep | grep -c automount ` -eq 1 ]; then
        if [ -z /etc/auto.misc ]; then
            cat /etc/auto.misc
     else
           echo "nothing mounted with auto mounter"
fi
      fi
0
Comment
Question by:lolaferrari
1 Comment
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 500 total points
ID: 41748034
In Solaris:

auto mount daemon is "automountd"

equivalent configuration file is "/etc/dfs/dfstab"
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

707 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

20 Experts available now in Live!

Get 1:1 Help Now