Server IP : 85.214.239.14 / Your IP : 18.226.180.253 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/root/proc/3/root/proc/2/root/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" } }