Stat::FS - Perl extension for access to the (f)statfs syscalls
use Stat::FS;
$mntpt = statfs('/etc/motd');
open(IN, '/etc/motd'); $mntpt = fstatfs(\*IN); close(IN);
These routines allow you to discover what filesystem mountpoint corresponds to a given file path or filehandle.
This only works on FreeBSD at the moment.
David Bushong, david+sw@bushong.net
perl(1),
perlfunc(1).