If you look at the code.. The sub _arg_to_mount_point() takes a filepath and returns mount point.
my $mount_point = _arg_to_mount_point('/usr/share/stuff/file2.pdf');
Might have to be altered for more.. Hmm.. Could that be of use?
Sys::Filesystem rocks.
In reply to Re: How best test that a directory is a mount point of a mounted filesystem?
by leocharre
in thread How best test that a directory is a mount point of a mounted filesystem?
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |