
Sys::FS - filesystem interaction tools

use Sys::FS;
use Log::Tree;
my $FS = Sys::FS::->new({
'logger' => Log::Tree::->new();
});
my $filename = $FS->filename('/tmp', qw(a list of subdirs));
$FS->makedir($filename);
my ($gb, $percent) = $FS->spaceleft($filename);

An instance of Linux::System

Construct a filename out of an array of directories.
Run fsck on the given device.
Find the device mounted on the given directory.
Tests if a given device is currently mounted.
Create a directory stucture and return the created directory
Mount a device on a mount point.
Return a hashref containing all mounted devices.
Return the amount of free space on the given device in GB.
Reliably switch two files.
Unmount a given device.

Sys::FS - Misc. Filesystem interaction methods

Dominik Schulz <tex@cpan.org>

This software is copyright (c) 2012 by Dominik Schulz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.