File Coverage

blib/lib/Config/Model/models/Fstab/Ext3FsOpt.pl
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
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     1   443 use strict;
  1         3  
  1         32  
11 1     1   5 use warnings;
  1         3  
  1         85  
12              
13             return [
14             {
15             'author' => [
16             'Dominique Dumont'
17             ],
18             'class_description' => 'Options for ext4 file systems. Please contact author (domi.dumont at cpan.org) if options are missing.',
19             'copyright' => [
20             '2010,2011 Dominique Dumont'
21             ],
22             'element' => [
23             'journalling_mode',
24             {
25             'choice' => [
26             'journal',
27             'ordered',
28             'writeback'
29             ],
30             '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.',
31             'help' => {
32             'journal' => 'All data is committed into the journal prior to being written into the main file system. ',
33             '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.',
34             '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.'
35             },
36             'type' => 'leaf',
37             'value_type' => 'enum'
38             }
39             ],
40             'include' => [
41             'Fstab::Ext2FsOpt'
42             ],
43             'license' => 'LGPL2',
44             'name' => 'Fstab::Ext3FsOpt'
45             }
46             ]
47             ;
48