File: CommonOptions.pl

package info (click to toggle)
libconfig-model-perl 2.021-3%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,104 kB
  • sloc: perl: 20,550; makefile: 11
file content (86 lines) | stat: -rw-r--r-- 1,766 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#
# This file is part of Config-Model
#
# This software is Copyright (c) 2012 by Dominique Dumont, Krzysztof Tyszecki.
#
# This is free software, licensed under:
#
#   The GNU Lesser General Public License, Version 2.1, February 1999
#
[
  {
    'class_description' => 'options valid for all types of file systems.',
    'name' => 'Fstab::CommonOptions',
    'copyright' => [
      '2010,2011 Dominique Dumont'
    ],
    'author' => [
      'Dominique Dumont'
    ],
    'license' => 'LGPL2',
    'element' => [
      'async',
      {
        'value_type' => 'boolean',
        'type' => 'leaf'
      },
      'atime',
      {
        'value_type' => 'boolean',
        'type' => 'leaf'
      },
      'auto',
      {
        'value_type' => 'boolean',
        'type' => 'leaf'
      },
      'dev',
      {
        'value_type' => 'boolean',
        'type' => 'leaf'
      },
      'exec',
      {
        'value_type' => 'boolean',
        'type' => 'leaf'
      },
      'group',
      {
        'value_type' => 'boolean',
        'type' => 'leaf'
      },
      'mand',
      {
        'value_type' => 'boolean',
        'type' => 'leaf'
      },
      'user',
      {
        'value_type' => 'boolean',
        'help' => {
          '1' => 'user can mount the file system',
          '0' => 'Only root can mount the file system'
        },
        'type' => 'leaf'
      },
      'defaults',
      {
        'value_type' => 'boolean',
        'help' => {
          '1' => 'option equivalent to rw, suid, dev, exec, auto, nouser, and async'
        },
        'type' => 'leaf'
      },
      'rw',
      {
        'value_type' => 'boolean',
        'help' => {
          '0' => 'read-only file system'
        },
        'type' => 'leaf'
      }
    ]
  }
]
;