[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

auto mounter on aix

Posted on 2016-08-02
3
Medium Priority
?
58 Views
Last Modified: 2016-08-28
On linux if i want to check what's auto mounted i would do the following. What would the equivalent be on aix?

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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
John Pope earned 2000 total points (awarded by participants)
ID: 41740226
Hi

The only thing different with our installs of automount on Linux compared to AIX are the file names as far as I can see.

Where Linux has:

/etc/auto.master
/etc/auto.misc

Open in new window


AIX has:

/etc/auto_master
/etc/auto_direct

Open in new window


Your code should work fine other than that.  Let us know how you get on.

Cheers, JP
0
 

Author Comment

by:lolaferrari
ID: 41748932
Thank you JP
0
 
LVL 5

Expert Comment

by:John Pope
ID: 41748952
Of course, hope it works out for you :)

Cheers, JP
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month19 days, 11 hours left to enroll

873 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