blib/lib/Config/Model/models/Fstab/Ext3FsOpt.pl

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Config/Model/models/Fstab/Ext2FsOpt.pl ↑ Summary blib/lib/Config/Model/models/Fstab/Ext4FsOpt.pl »
1 #
2 # This file is part of Config-Model
3 #
4 # This software is Copyright (c) 2005-2022 by Dominique Dumont.
5 #
6 # This is free software, licensed under:
7 #
8 # The GNU Lesser General Public License, Version 2.1, February 1999
9 #
10 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use v5.20;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 return [
16 {
17 1 'author' => [
18 'Dominique Dumont'
19 ],
20 'class_description' => 'Options for ext4 file systems. Please contact author (domi.dumont at cpan.org) if options are missing.',
21 'copyright' => [
22 '2010,2011 Dominique Dumont'
23 ],
24 'element' => [
25 'journalling_mode',
26 {
27 'choice' => [
28 'journal',
29 'ordered',
30 'writeback'
31 ],
32 'description' => 'Specifies the journalling mode for file data. Metadata is always journaled. To use modes other than ordered on the root file system, pass the mode to the kernel as boot parameter, e.g. rootflags=data=journal.',
33 'help' => {
34 'journal' => 'All data is committed into the journal prior to being written into the main file system. ',
35 'ordered' => 'This is the default mode. All data is forced directly out to the main file system prior to its metadata being committed to the journal.',
36 'writeback' => 'Data ordering is not preserved - data may be writteninto the main file system after its metadata has been committed to the journal. This is rumoured to be the highest-throughput option. It guarantees internal file system integrity, however it can allow old data to appear in files after a crash and journal recovery.'
37 },
38 'type' => 'leaf',
39 'value_type' => 'enum'
40 }
41 ],
42 'include' => [
43 'Fstab::Ext2FsOpt'
44 ],
45 'license' => 'LGPL2',
46 'name' => 'Fstab::Ext3FsOpt'
47 }
48 ]
49 ;
« blib/lib/Config/Model/models/Fstab/Ext2FsOpt.pl ↑ Summary blib/lib/Config/Model/models/Fstab/Ext4FsOpt.pl »