1Config::Model::Backend:U:sFesrtaCbo(n3t)ributed Perl DocCuomnefnitga:t:iMoondel::Backend::Fstab(3)
2
3
4
6 Config::Model::Backend::Fstab - Read and write config from fstab file
7
9 version 2.142
10
12 No synopsis. This class is dedicated to configuration class "Fstab"
13
15 This module is used directly by Config::Model to read or write the
16 content of a configuration tree written with "fstab" syntax in
17 "Config::Model" configuration tree. Typically this backend is used to
18 read and write "/etc/fstab".
19
21 This backend is able to read and write comments in the "/etc/fstab"
22 file.
23
25 The documentation below describes methods that are currently used only
26 by Config::Model. You don't need to read it to write a model.
27
29 new
30 Parameters: "( node => $node_obj, name => 'fstab' )"
31
32 Inherited from Config::Model::Backend::Any. The constructor is called
33 by Config::Model::BackendMgr.
34
35 read
36 Of all parameters passed to this read call-back, only "file_path" is
37 used. This parameter must be a Path::Tiny object.
38
39 When a file is read, "read" returns 1.
40
41 write
42 Of all parameters passed to this write call-back, only "file_path" is
43 used.
44
45 "write" returns 1.
46
48 Dominique Dumont, (ddumont at cpan dot org)
49
51 Config::Model, Config::Model::BackendMgr, Config::Model::Backend::Any,
52
54 Dominique Dumont
55
57 This software is Copyright (c) 2005-2021 by Dominique Dumont.
58
59 This is free software, licensed under:
60
61 The GNU Lesser General Public License, Version 2.1, February 1999
62
63
64
65perl v5.34.0 2021-07-22 Config::Model::Backend::Fstab(3)