Dear Monks,
I am trying to find a way to avoid having to resort to shell when checking whether or not a directory is a mount point of a filesystem.
I looked at the file test operators but did find one that would do what I want. I can always do something like:
but I want to avoid shelling out :)))my $ismount =`/bin/mount | grep /opt/mymountpoint`;
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |