Config-Model
view release on metacpan or search on metacpan
lib/Config/Model/FuseUI.pm view on Meta::CPAN
}
my $mode;
if ( $type eq 'leaf' or $type eq 'check_list' ) {
$mode = S_IFREG | oct(644);
}
else {
$mode = S_IFDIR | oct(755);
}
my ( $dev, $ino, $rdev, $blocks, $gid, $uid, $nlink, $blksize ) =
( 0, 0, 0, 1, $EGID, $EUID, 1, 1024 );
my ( $atime, $ctime, $mtime );
$atime = $ctime = $mtime = time;
# 2 possible types of return values:
#return -ENOENT(); # or any other error you care to
#print(join(",",($dev,$ino,$modes,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks)),"\n");
my @r = (
$dev, $ino, $mode, $nlink, $uid, $gid, $rdev,
$size, $atime, $mtime, $ctime, $blksize, $blocks
);
$logger->trace( "FuseUI getattr returns '" . join( "','", @r ) . "'" );
return @r;
}
## no critic (Subroutines::ProhibitBuiltinHomonyms)
sub open ($name, $flags, $info) {
lib/Config/Model/models/Fstab/UsbFsOptions.pl view on Meta::CPAN
'copyright' => [
'2010,2011 Dominique Dumont'
],
'element' => [
'devuid',
{
'type' => 'leaf',
'upstream_default' => '0',
'value_type' => 'integer'
},
'devgid',
'*devuid',
'busuid',
'*devuid',
'budgid',
'*devuid',
'listuid',
'*devuid',
'listgid',
'*devuid',
'devmode',
{
'type' => 'leaf',
'upstream_default' => '0644',
'value_type' => 'integer'
},
'busmode',
{
'type' => 'leaf',
lib/Config/Model/models/Fstab/VfatOpt.pl view on Meta::CPAN
'copyright' => [
'2026, Dominique Dumont'
],
'element' => [
'uid',
{
'description' => 'Set the owner and group of all files. (Default: the UID and GID of the current process.)',
'type' => 'leaf',
'value_type' => 'uniline'
},
'gid',
'*uid',
'umask',
{
'description' => 'Set the umask (the bitmask of the permissions that are not present). The default is the umask of the current process. The value is given in octal.',
'type' => 'leaf',
'value_type' => 'uniline'
},
'dmask',
{
'description' => 'Set the umask applied to directories only. The default is the umask of the current process. The value is given in octal.',
( run in 1.288 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )