Server IP : 127.0.0.2 / Your IP : 18.220.9.180 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/augeas/lenses/dist/tests/ |
Upload File : |
module Test_mdadm_conf = let conf = " # Comment device containers # Comment DEVICE partitions \ndev /dev/hda* \n /dev/hdc* deVI ARRAY /dev/md0 UUID=c3d3134f-2aa9-4514-9da3-82ccd1cccc7b Name=foo=bar supeR-minor=3 devicEs=/dev/hda,/dev/hdb Level=1 num-devices=5 spares=2 spare-group=bar auTo=yes BITMAP=/path/to/bitmap metadata=frob container=/dev/sda member=1 MAIL # Initial comment user@example.com # End of line comment MAILF user@example.com # MAILFROM can only be abbreviated to 5 characters PROGRA /usr/sbin/handle-mdadm-events CREA group=system mode=0640 auto=part-8 HOME <system> AUT +1.x Homehost -all POL domain=domain1 metadata=imsm path=pci-0000:00:1f.2-scsi-* action=spare PART domain=domain1 metadata=imsm path=pci-0000:04:00.0-scsi-[01]* action=include " test Mdadm_conf.lns get conf = {} { "#comment" = "Comment" } { "device" { "containers" } } { "#comment" = "Comment" } { "device" { "partitions" } } { "device" { "name" = "/dev/hda*" } { "name" = "/dev/hdc*" } } { "device" } { "array" { "devicename" = "/dev/md0" } { "uuid" = "c3d3134f-2aa9-4514-9da3-82ccd1cccc7b" } { "name" = "foo=bar" } { "super-minor" = "3" } { "devices" = "/dev/hda,/dev/hdb" } { "level" = "1" } { "num-devices" = "5" } { "spares" = "2" } { "spare-group" = "bar" } { "auto" = "yes" } { "bitmap" = "/path/to/bitmap" } { "metadata" = "frob" } { "container" = "/dev/sda" } { "member" = "1" } } { "mailaddr" { "#comment" = "Initial comment" } { "value" = "user@example.com" } { "#comment" = "End of line comment" } } { "mailfrom" { "value" = "user@example.com" } { "#comment" = "MAILFROM can only be abbreviated to 5 characters" } } { "program" { "value" = "/usr/sbin/handle-mdadm-events" } } { "create" { "group" = "system" } { "mode" = "0640" } { "auto" = "part-8" } } { "homehost" { "value" = "<system>" } } { "auto" { "+" = "1.x" } { "homehost" } { "-" = "all" } } { "policy" { "domain" = "domain1" } { "metadata" = "imsm" } { "path" = "pci-0000:00:1f.2-scsi-*" } { "action" = "spare" } } { "part-policy" { "domain" = "domain1" } { "metadata" = "imsm" } { "path" = "pci-0000:04:00.0-scsi-[01]*" } { "action" = "include" } }