NAME
Filesys::POSIX::Real - Portal to actual underlying filesystem
SYNOPSIS
use Filesys::POSIX;
use Filesys::POSIX::Real;
my $fs = Filesys::POSIX->new(Filesys::POSIX::Real->new,
'special' => 'real:/home/foo/test',
'noatime' => 1
);
DESCRIPTION
This module implements the filesystem device type which provides a portal to the actual system's underlying filesystem.
CREATING A NEW FILESYSTEM
INITIALIAZATION
$fs->init(%data)-
Initializes the new filesystem. A reference to the
%dataargument is saved in the filesystem object. The following attribute in the%datahash is required, however:special-
A URI-like specifier indicating the absolute path of a portion of the real filesystem, starting with the 'real:' prefix.
Optional values in
%dataare as follows:sticky-
When set to a value evaluating to true, any updates to certain attributes of any inode brought to life by this module are not committed to disk. When this flag is used, the following calls only affect the inode in memory, but not on disk:
Furthermore, only the following attributes are synced from disk onto their corresponding memory inodes:
sizeatimemtimectime
Exceptions will be thrown for the following: