(imported topic written by SystemAdmin)
Trying to query our Sun/Linux/AIX environment for the exist of “/opt/dseries” and/or NAS filesystems “/opt/snischeduler/prod”. The logical name of “/opt/dseries” can vary.
Any Suggestions?
Thanks
(imported topic written by SystemAdmin)
Trying to query our Sun/Linux/AIX environment for the exist of “/opt/dseries” and/or NAS filesystems “/opt/snischeduler/prod”. The logical name of “/opt/dseries” can vary.
Any Suggestions?
Thanks
(imported comment written by MarkA.Stevens)
You may wish to back up a bit and think about where the information about mounted file systems can be found (/etc/fstab or /etc/vfstab or …). Then parse it , then determine if the folder exists. That won’t tell you if it is mounted, but you could look in /etc/mtab or its equivalent and then match them up. See the following for help in matching: http://forum.bigfix.com/viewtopic.php?id=6168
IHTH … Mark