NAME

Stat::FS - Perl extension for access to the (f)statfs syscalls


SYNOPSIS

  use Stat::FS;

  $mntpt = statfs('/etc/motd');

  open(IN, '/etc/motd');
  $mntpt = fstatfs(\*IN);
  close(IN);


DESCRIPTION

These routines allow you to discover what filesystem mountpoint corresponds to a given file path or filehandle.


BUGS

This only works on FreeBSD at the moment.


AUTHOR

David Bushong, david+sw@bushong.net


SEE ALSO

perl(1), perlfunc(1).