Skip to content

Instantly share code, notes, and snippets.

@MarkusRoth
Last active December 26, 2015 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarkusRoth/7192428 to your computer and use it in GitHub Desktop.
Save MarkusRoth/7192428 to your computer and use it in GitHub Desktop.
ReaR Layout
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 5.5G 2.3G 3.0G 44% /
/dev/sda6 5.5G 76M 5.2G 2% /root2
/dev/sda5 9.3G 1.5G 7.3G 18% /var
/dev/sda2 47G 6.0G 38G 14% /opt/avaya
/dev/sda3 47G 3.4G 41G 8% /opt/dbase
/dev/sda8 11G 60M 11G 1% /DVD_OPS
/dev/sda1 /dev/sda
/dev/sda2 /dev/sda
/dev/sda3 /dev/sda
/dev/sda4 /dev/sda
/dev/sda5 /dev/sda
/dev/sda6 /dev/sda
/dev/sda7 /dev/sda
/dev/sda8 /dev/sda
fs:/ /dev/sda1
fs:/root2 /dev/sda6
fs:/root2 fs:/
fs:/var /dev/sda5
fs:/var fs:/
fs:/opt/avaya /dev/sda2
fs:/opt/avaya fs:/
fs:/opt/dbase /dev/sda3
fs:/opt/dbase fs:/
fs:/DVD_OPS /dev/sda8
fs:/DVD_OPS fs:/
swap:/dev/sda7 /dev/sda7
#disk /dev/hda 4294965248
disk /dev/sda 291999055872 msdos
part /dev/sda 5946845184 32256 primary boot /dev/sda1
part /dev/sda 50256460800 5946877440 primary none /dev/sda2
part /dev/sda 50256460800 56203338240 primary /dev/sda3
part /dev/sda 1024 106459799040 primary /dev/sda4
part /dev/sda 10075935744 106459831296 logical /dev/sda5
part /dev/sda 5946845184 116535799296 logical /dev/sda6
part /dev/sda 11852596224 122482676736 logical /dev/sda7
part /dev/sda 11720991744 134335305216 logical /dev/sda8
fs /dev/sda1 / ext3 uuid=8f3bc4f0-d605-4029-8cf2-c8fff9dfb95b label= blocksize=4096 reserved_blocks=4% max_mounts=27 check_interval=180d bytes_per_inode=8177 options=rw
fs /dev/sda6 /root2 ext3 uuid=<none> label= blocksize=4096 reserved_blocks=4% max_mounts=25 check_interval=180d bytes_per_inode=8177 options=rw,noexec,nosuid,nodev,noatime
fs /dev/sda5 /var ext3 uuid=79293447-713d-48e9-be5f-dfe2a680e623 label= blocksize=4096 reserved_blocks=4% max_mounts=37 check_interval=180d bytes_per_inode=8187 options=rw,noexec,nosuid,nodev,noatime
fs /dev/sda2 /opt/avaya ext3 uuid=78f75f71-8e71-403e-a98d-798b6212641d label= blocksize=4096 reserved_blocks=4% max_mounts=31 check_interval=180d bytes_per_inode=8179 options=rw
fs /dev/sda3 /opt/dbase ext3 uuid=58b70eff-daf0-4ab0-9fca-e9f31999970b label= blocksize=4096 reserved_blocks=4% max_mounts=25 check_interval=180d bytes_per_inode=8179 options=rw
fs /dev/sda8 /DVD_OPS ext3 uuid=dd8dd625-1c8d-4ed9-83f8-2ba60fe287d3 label= blocksize=4096 reserved_blocks=4% max_mounts=32 check_interval=180d bytes_per_inode=8177 options=rw
swap /dev/sda7 uuid= label=
done /dev/hda disk
todo /dev/sda disk
todo /dev/sda1 part
todo /dev/sda2 part
todo /dev/sda3 part
todo /dev/sda4 part
todo /dev/sda5 part
todo /dev/sda6 part
todo /dev/sda7 part
todo /dev/sda8 part
todo fs:/ fs
todo fs:/root2 fs
todo fs:/var fs
todo fs:/opt/avaya fs
todo fs:/opt/dbase fs
todo fs:/DVD_OPS fs
todo swap:/dev/sda7 swap
2013-10-28 09:13:48 Relax-and-Recover 1.14 / Git
2013-10-28 09:13:48 Command line options: /usr/sbin/rear -D savelayout
2013-10-28 09:13:48 Including /etc/rear/os.conf
+ . /etc/rear/os.conf
++ OS_VENDOR=RedHatEnterpriseServer
++ OS_VERSION=4
+ test 1
+ set +x
2013-10-28 09:13:48 Including conf/Linux-i386.conf
+ . /usr/share/rear/conf/Linux-i386.conf
++ REQUIRED_PROGS=("${REQUIRED_PROGS[@]}" parted sfdisk)
++ PROGS=("${PROGS[@]}" grub partprobe lilo fdisk cfdisk)
+ test 1
+ set +x
2013-10-28 09:13:48 Including conf/GNU/Linux.conf
+ . /usr/share/rear/conf/GNU/Linux.conf
++ PROGS=(${PROGS[@]} rpc.statd rpcbind bash mknod blkid vol_id udev_volume_id portmap readlink rpcinfo grep cat tac tr reboot halt shutdown killall5 killall chroot tee awk ip ifconfig route ifenslave ifrename nameif klogd syslog-ng syslogd rsyslogd echo cp date wc cut rm rmdir test init telinit ethtool expand sed mount umount insmod modprobe lsmod true false mingetty rmmod hostname uname sleep logger ps ln dirname basename mkdir tty ping netstat free traceroute less vi pico nano rmmod df ls dmesg du tar gzip netcat top iptraf joe pico getent id ldd strace rsync tail head find md5sum mkfs mkfs.ext2 mkfs.ext3 mkfs.ext4 mkfs.ext4dev mkfs.jfs mkfs.xfs mkfs.reiserfs mkfs.vfat mkfs.btrfs mkreiserfs fsck fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev fsck.xfs fsck.reiserfs reiserfsck fsck.btrfs btrfsck tune2fs tune4fs xfs_admin xfs_db btrfs jfs_tune reiserfstune expr egrep grep fgrep df chmod chown stat mkswap swapon swapoff mknod touch scsi_id lsscsi logd initctl lspci usleep mktemp /bin/true strace which mkfifo seq openvt poweroff chacl getfacl setfacl attr getfattr setfattr mpath_wait strings xargs)
++ LIBS=(${LIBS[@]} /lib*/libnss_dns* /lib*/libnss_files* /lib/*/libnss_dns* /lib/*/libnss_files* /lib*/libgcc_s* /lib*/libresolv* /usr/lib*/rsyslog/*so /lib*/rsyslog/*so)
++ MODULES=(${MODULES[@]} vfat nls_iso8859_1 nls_utf8 nls_cp437 af_packet unix nfs lockd sunrpc cifs usbcore usb_storage usbhid sr_mod ide_cd cdrom uhci_hcd ehci_hcd ohci_hcd zlib zlib-inflate zlib-deflate libcrc32c crc32c crc32c-intel)
++ COPY_AS_IS=(${COPY_AS_IS[@]} /dev /etc/inputr[c] /etc/protocols /etc/services /etc/rpc /etc/termcap /*/terminfo /usr/share/terminfo /etc/netconfig /etc/mke2fs.conf /etc/*-release /lib*/firmware /etc/localtime /usr/lib*/syslog-ng /etc/magic /usr/share/misc/magic)
++ COPY_AS_IS_EXCLUDE=(${COPY_AS_IS_EXCLUDE[@]} dev/shm/\*)
++ KERNEL_CMDLINE=' selinux=0'
++ CLONE_USERS=("${CLONE_USERS[@]}" daemon rpc usbmuxd usbmux vcsa nobody)
++ CLONE_GROUPS=("${CLONE_GROUPS[@]}" tty usbmuxd usbmux fuse)
+ test 1
+ set +x
2013-10-28 09:13:48 Including /etc/rear/local.conf
+ . /etc/rear/local.conf
++ OUTPUT=ISO
++ OUTPUT_URL=cifs://fbntbck05/Powerdialer_Images
++ OUTPUT_OPTIONS=credentials=/etc/rear/.cifs
++ BACKUP=NETFS
++ BACKUP_URL=cifs://fbntbck05/Powerdialer_Images
++ BACKUP_MOUNTCMD='mount -v -t cifs -o credentials=/etc/rear/.cifs //fbntbck05/Powerdialer_Images'
++ NETFS_KEEP_OLD_BACKUP_COPY=yes
+ test 1
+ set +x
2013-10-28 09:13:48 Using build area '/tmp/rear.fdgeeRpDvd29698'
2013-10-28 09:13:48 Running savelayout workflow
2013-10-28 09:13:49 Running 'layout/save' stage
2013-10-28 09:13:49 Including layout/save/GNU/Linux/10_create_layout_file.sh
+ . /usr/share/rear/layout/save/GNU/Linux/10_create_layout_file.sh
++ LogPrint 'Creating disk layout'
++ Log 'Creating disk layout'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Creating disk layout'
2013-10-28 09:13:49 Creating disk layout
++ Print 'Creating disk layout'
++ test ''
++ Log 'Preparing layout directory.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Preparing layout directory.'
2013-10-28 09:13:49 Preparing layout directory.
++ mkdir -p /var/lib/rear/layout
++ mkdir -p /var/lib/rear/recovery
++ mkdir -p /var/lib/rear/layout/config
++ DISKLAYOUT_FILE=/var/lib/rear/layout/disklayout.conf
++ '[' -e /var/lib/rear/layout/disklayout.conf ']'
++ Log 'Removing old layout file.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Removing old layout file.'
2013-10-28 09:13:49 Removing old layout file.
++ :
++ LAYOUT_FILE=/var/lib/rear/layout/disklayout.conf
++ LAYOUT_DEPS=/var/lib/rear/layout/diskdeps.conf
++ LAYOUT_TODO=/var/lib/rear/layout/disktodo.conf
++ :
++ :
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/20_partition_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/20_partition_layout.sh
++ FEATURE_PARTED_MACHINEREADABLE=
++ FEATURE_PARTED_OLDNAMING=
+++ get_version parted -v
+++ parted -v
+++ sed -rn 's/^[^0-9\.]*([0-9]+\.[-0-9a-z\.]+).*$/\1/p'
+++ head -1
++ parted_version=1.6.19
++ [[ -n 1.6.19 ]]
++ BugIfError 'Function get_version could not detect parted version.'
++ (( 0 != 0 ))
++ version_newer 1.6.19 1.8.2
++ local 'v1list=(1 6 19)'
++ local 'v2list=(1 8 2)'
++ local max=1
++ (( 1 < 1 ))
++ local pos
+++ seq 0 0
++ for pos in '$(seq 0 $(( max -1 )))'
++ [[ (1 6 19) < (1 8 2) ]]
++ return 1
++ version_newer 1.6.19 1.6.23
++ local 'v1list=(1 6 19)'
++ local 'v2list=(1 6 23)'
++ local max=1
++ (( 1 < 1 ))
++ local pos
+++ seq 0 0
++ for pos in '$(seq 0 $(( max -1 )))'
++ [[ (1 6 19) < (1 6 23) ]]
++ return 1
++ FEATURE_PARTED_OLDNAMING=y
++ Log 'Saving disk partitions.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Saving disk partitions.'
2013-10-28 09:13:49 Saving disk partitions.
++ for disk in '/sys/block/*'
++ [[ hda = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/hda
+++ local name=/sys/block/hda
+++ name=hda
+++ [[ -n hda ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/hda ]]
+++ [[ -r /sys/block/hda/dm/name ]]
+++ dev_number=3:0
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 3:0 = '' ']'
+++ name=hda
+++ echo /dev/hda
+++ return 1
++ devname=/dev/hda
+++ get_disk_size hda
+++ local disk_name=hda
++++ get_block_size hda
++++ '[' -r /sys/block/hda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/hda/size ']'
+++ BugIfError 'Could not determine size of disk hda, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=8388604
+++ local disk_size=4294965248
+++ echo 4294965248
++ devsize=4294965248
+++ parted -s /dev/hda print
+++ grep -E 'Partition Table|Disk label'
+++ cut -d : -f 2
+++ tr -d ' '
++ disktype=
++ echo 'disk /dev/hda 4294965248 '
++ extract_partitions /dev/hda
++ declare device=/dev/hda
+++ get_sysfs_name /dev/hda
+++ local name=hda
+++ name=hda
+++ [[ -e /sys/block/hda ]]
+++ echo hda
+++ return 0
++ declare sysfs_name=hda
+++ get_block_size hda
+++ '[' -r /sys/block/hda/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ declare -a 'sysfs_paths=(/sys/block/hda/hda*)'
++ declare path sysfs_path
++ [[ 0 -eq 0 ]]
++ [[ /dev/hda != /dev/hda ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ [[ ! -s /tmp/rear.fdgeeRpDvd29698/tmp/partitions ]]
++ Debug 'No partitions found on /dev/hda.'
++ test ''
++ return
++ for disk in '/sys/block/*'
++ [[ md0 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram0 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram1 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram10 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram11 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram12 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram13 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram14 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram15 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram2 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram3 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram4 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram5 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram6 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram7 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram8 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ ram9 = @(hd*|sd*|cciss*|vd*|xvd*) ]]
++ for disk in '/sys/block/*'
++ [[ sda = @(hd*|sd*|cciss*|vd*|xvd*) ]]
+++ get_device_name /sys/block/sda
+++ local name=/sys/block/sda
+++ name=sda
+++ [[ -n sda ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda ]]
+++ [[ -r /sys/block/sda/dm/name ]]
+++ dev_number=8:0
+++ for device in '/dev/mapper/*'
++++ dmsetup info -c --noheadings -o major,minor control
+++ mapper_number=
+++ '[' 8:0 = '' ']'
+++ name=sda
+++ echo /dev/sda
+++ return 1
++ devname=/dev/sda
+++ get_disk_size sda
+++ local disk_name=sda
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/size ']'
+++ BugIfError 'Could not determine size of disk sda, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=570310656
+++ local disk_size=291999055872
+++ echo 291999055872
++ devsize=291999055872
+++ parted -s /dev/sda print
+++ grep -E 'Partition Table|Disk label'
+++ cut -d : -f 2
+++ tr -d ' '
++ disktype=msdos
++ echo 'disk /dev/sda 291999055872 msdos'
++ extract_partitions /dev/sda
++ declare device=/dev/sda
+++ get_sysfs_name /dev/sda
+++ local name=sda
+++ name=sda
+++ [[ -e /sys/block/sda ]]
+++ echo sda
+++ return 0
++ declare sysfs_name=sda
+++ get_block_size sda
+++ '[' -r /sys/block/sda/queue/logical_block_size ']'
+++ echo 512
++ declare block_size=512
++ declare -a 'sysfs_paths=(/sys/block/sda/sda*)'
++ declare path sysfs_path
++ [[ 8 -eq 0 ]]
++ :
++ declare partition_name partition_prefix start_block
++ declare partition_nr size start
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda1
+++ local name=sda1
+++ name=sda1
+++ [[ -n sda1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda1 ]]
+++ name=sda1
+++ echo /dev/sda1
+++ return 1
++ partition_name=/dev/sda1
++ partition_name=sda1
++ partition_name=sda1
+++ echo sda1
+++ grep -E -o '[0-9]+$'
++ partition_nr=1
++ partition_prefix=sda
+++ get_disk_size sda/sda1
+++ local disk_name=sda/sda1
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda1/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda1, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=11614932
+++ local disk_size=5946845184
+++ echo 5946845184
++ size=5946845184
++ [[ -r /sys/block/sda/sda1/start ]]
++ start_block=63
++ start=32256
++ echo '1 5946845184 32256'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda2
+++ local name=sda2
+++ name=sda2
+++ [[ -n sda2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda2 ]]
+++ name=sda2
+++ echo /dev/sda2
+++ return 1
++ partition_name=/dev/sda2
++ partition_name=sda2
++ partition_name=sda2
+++ echo sda2
+++ grep -E -o '[0-9]+$'
++ partition_nr=2
++ partition_prefix=sda
+++ get_disk_size sda/sda2
+++ local disk_name=sda/sda2
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda2/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda2, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=98157150
+++ local disk_size=50256460800
+++ echo 50256460800
++ size=50256460800
++ [[ -r /sys/block/sda/sda2/start ]]
++ start_block=11614995
++ start=5946877440
++ echo '2 50256460800 5946877440'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda3
+++ local name=sda3
+++ name=sda3
+++ [[ -n sda3 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda3 ]]
+++ name=sda3
+++ echo /dev/sda3
+++ return 1
++ partition_name=/dev/sda3
++ partition_name=sda3
++ partition_name=sda3
+++ echo sda3
+++ grep -E -o '[0-9]+$'
++ partition_nr=3
++ partition_prefix=sda
+++ get_disk_size sda/sda3
+++ local disk_name=sda/sda3
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda3/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda3, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=98157150
+++ local disk_size=50256460800
+++ echo 50256460800
++ size=50256460800
++ [[ -r /sys/block/sda/sda3/start ]]
++ start_block=109772145
++ start=56203338240
++ echo '3 50256460800 56203338240'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda4
+++ local name=sda4
+++ name=sda4
+++ [[ -n sda4 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda4 ]]
+++ name=sda4
+++ echo /dev/sda4
+++ return 1
++ partition_name=/dev/sda4
++ partition_name=sda4
++ partition_name=sda4
+++ echo sda4
+++ grep -E -o '[0-9]+$'
++ partition_nr=4
++ partition_prefix=sda
+++ get_disk_size sda/sda4
+++ local disk_name=sda/sda4
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda4/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda4, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=2
+++ local disk_size=1024
+++ echo 1024
++ size=1024
++ [[ -r /sys/block/sda/sda4/start ]]
++ start_block=207929295
++ start=106459799040
++ echo '4 1024 106459799040'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda5
+++ local name=sda5
+++ name=sda5
+++ [[ -n sda5 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda5 ]]
+++ name=sda5
+++ echo /dev/sda5
+++ return 1
++ partition_name=/dev/sda5
++ partition_name=sda5
++ partition_name=sda5
+++ echo sda5
+++ grep -E -o '[0-9]+$'
++ partition_nr=5
++ partition_prefix=sda
+++ get_disk_size sda/sda5
+++ local disk_name=sda/sda5
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda5/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda5, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=19679562
+++ local disk_size=10075935744
+++ echo 10075935744
++ size=10075935744
++ [[ -r /sys/block/sda/sda5/start ]]
++ start_block=207929358
++ start=106459831296
++ echo '5 10075935744 106459831296'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda6
+++ local name=sda6
+++ name=sda6
+++ [[ -n sda6 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda6 ]]
+++ name=sda6
+++ echo /dev/sda6
+++ return 1
++ partition_name=/dev/sda6
++ partition_name=sda6
++ partition_name=sda6
+++ echo sda6
+++ grep -E -o '[0-9]+$'
++ partition_nr=6
++ partition_prefix=sda
+++ get_disk_size sda/sda6
+++ local disk_name=sda/sda6
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda6/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda6, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=11614932
+++ local disk_size=5946845184
+++ echo 5946845184
++ size=5946845184
++ [[ -r /sys/block/sda/sda6/start ]]
++ start_block=227608983
++ start=116535799296
++ echo '6 5946845184 116535799296'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda7
+++ local name=sda7
+++ name=sda7
+++ [[ -n sda7 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda7 ]]
+++ name=sda7
+++ echo /dev/sda7
+++ return 1
++ partition_name=/dev/sda7
++ partition_name=sda7
++ partition_name=sda7
+++ echo sda7
+++ grep -E -o '[0-9]+$'
++ partition_nr=7
++ partition_prefix=sda
+++ get_disk_size sda/sda7
+++ local disk_name=sda/sda7
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda7/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda7, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=23149602
+++ local disk_size=11852596224
+++ echo 11852596224
++ size=11852596224
++ [[ -r /sys/block/sda/sda7/start ]]
++ start_block=239223978
++ start=122482676736
++ echo '7 11852596224 122482676736'
++ for path in '"${sysfs_paths[@]}"'
+++ get_device_name sda8
+++ local name=sda8
+++ name=sda8
+++ [[ -n sda8 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda8 ]]
+++ name=sda8
+++ echo /dev/sda8
+++ return 1
++ partition_name=/dev/sda8
++ partition_name=sda8
++ partition_name=sda8
+++ echo sda8
+++ grep -E -o '[0-9]+$'
++ partition_nr=8
++ partition_prefix=sda
+++ get_disk_size sda/sda8
+++ local disk_name=sda/sda8
++++ get_block_size sda
++++ '[' -r /sys/block/sda/queue/logical_block_size ']'
++++ echo 512
+++ local block_size=512
+++ '[' -r /sys/block/sda/sda8/size ']'
+++ BugIfError 'Could not determine size of disk sda/sda8, please file a bug.'
+++ (( 0 != 0 ))
+++ local nr_blocks=22892562
+++ local disk_size=11720991744
+++ echo 11720991744
++ size=11720991744
++ [[ -r /sys/block/sda/sda8/start ]]
++ start_block=262373643
++ start=134335305216
++ echo '8 11720991744 134335305216'
++ [[ ! -s /tmp/rear.fdgeeRpDvd29698/tmp/partitions ]]
++ declare disk_label
++ [[ -n '' ]]
++ parted -s /dev/sda print
+++ grep -E 'Partition Table|Disk label' /tmp/rear.fdgeeRpDvd29698/tmp/parted
+++ cut -d : -f 2
+++ tr -d ' '
++ disk_label=msdos
++ cp /tmp/rear.fdgeeRpDvd29698/tmp/partitions /tmp/rear.fdgeeRpDvd29698/tmp/partitions-data
++ declare type
++ [[ msdos = \m\s\d\o\s ]]
++ declare -i has_logical
++ read partition_nr size start junk
++ (( 1 > 4 ))
++ declare type=primary
++ sed -i '/^1 /s/$/ primary/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start junk
++ (( 2 > 4 ))
++ declare type=primary
++ sed -i '/^2 /s/$/ primary/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start junk
++ (( 3 > 4 ))
++ declare type=primary
++ sed -i '/^3 /s/$/ primary/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start junk
++ (( 4 > 4 ))
++ declare type=primary
++ sed -i '/^4 /s/$/ primary/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start junk
++ (( 5 > 4 ))
++ has_logical=1
++ sed -i '/^5 /s/$/ logical/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start junk
++ (( 6 > 4 ))
++ has_logical=1
++ sed -i '/^6 /s/$/ logical/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start junk
++ (( 7 > 4 ))
++ has_logical=1
++ sed -i '/^7 /s/$/ logical/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start junk
++ (( 8 > 4 ))
++ has_logical=1
++ sed -i '/^8 /s/$/ logical/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start junk
++ [[ msdos = \g\p\t ]]
++ declare flags flaglist
++ [[ -n '' ]]
++ declare line line_length number numberfield
+++ grep Flags /tmp/rear.fdgeeRpDvd29698/tmp/parted
++ init_columns 'Minor Start End Type Filesystem Flags'
++ local 'line=Minor Start End Type Filesystem Flags'
++ columns=
++ local word=
++ local wasspace=
++ local len=56
++ local i=0
++ (( 0 < 56 ))
++ local char=M
++ [[ -n '' ]]
++ word=M
++ [[ M = \ ]]
++ wasspace=
++ let i++
++ (( 1 < 56 ))
++ local char=i
++ [[ -n '' ]]
++ word=Mi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 2 < 56 ))
++ local char=n
++ [[ -n '' ]]
++ word=Min
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 3 < 56 ))
++ local char=o
++ [[ -n '' ]]
++ word=Mino
++ [[ o = \ ]]
++ wasspace=
++ let i++
++ (( 4 < 56 ))
++ local char=r
++ [[ -n '' ]]
++ word=Minor
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 5 < 56 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Minor '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 6 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Minor ]]
++ let start=6-6
+++ echo 'Minor '
+++ tr '[:upper:]' '[:lower:]'
++ word='minor '
++ columns='minor=0;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 7 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 8 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 9 < 56 ))
++ local char=S
++ [[ -n yes ]]
++ [[ S = \ ]]
++ word=S
++ [[ S = \ ]]
++ wasspace=
++ let i++
++ (( 10 < 56 ))
++ local char=t
++ [[ -n '' ]]
++ word=St
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 11 < 56 ))
++ local char=a
++ [[ -n '' ]]
++ word=Sta
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 12 < 56 ))
++ local char=r
++ [[ -n '' ]]
++ word=Star
++ [[ r = \ ]]
++ wasspace=
++ let i++
++ (( 13 < 56 ))
++ local char=t
++ [[ -n '' ]]
++ word=Start
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 14 < 56 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Start '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 15 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Start ]]
++ let start=15-6
+++ echo 'Start '
+++ tr '[:upper:]' '[:lower:]'
++ word='start '
++ columns='minor=0;start=9;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 16 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 17 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 18 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 19 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 20 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 21 < 56 ))
++ local char=E
++ [[ -n yes ]]
++ [[ E = \ ]]
++ word=E
++ [[ E = \ ]]
++ wasspace=
++ let i++
++ (( 22 < 56 ))
++ local char=n
++ [[ -n '' ]]
++ word=En
++ [[ n = \ ]]
++ wasspace=
++ let i++
++ (( 23 < 56 ))
++ local char=d
++ [[ -n '' ]]
++ word=End
++ [[ d = \ ]]
++ wasspace=
++ let i++
++ (( 24 < 56 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='End '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 25 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n End ]]
++ let start=25-4
+++ echo 'End '
+++ tr '[:upper:]' '[:lower:]'
++ word='end '
++ columns='minor=0;start=9;end=21;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 26 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 27 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 28 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 29 < 56 ))
++ local char=T
++ [[ -n yes ]]
++ [[ T = \ ]]
++ word=T
++ [[ T = \ ]]
++ wasspace=
++ let i++
++ (( 30 < 56 ))
++ local char=y
++ [[ -n '' ]]
++ word=Ty
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 31 < 56 ))
++ local char=p
++ [[ -n '' ]]
++ word=Typ
++ [[ p = \ ]]
++ wasspace=
++ let i++
++ (( 32 < 56 ))
++ local char=e
++ [[ -n '' ]]
++ word=Type
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 33 < 56 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Type '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 34 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Type ]]
++ let start=34-5
+++ echo 'Type '
+++ tr '[:upper:]' '[:lower:]'
++ word='type '
++ columns='minor=0;start=9;end=21;type=29;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 35 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 36 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 37 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 38 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n '' ]]
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 39 < 56 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 40 < 56 ))
++ local char=i
++ [[ -n '' ]]
++ word=Fi
++ [[ i = \ ]]
++ wasspace=
++ let i++
++ (( 41 < 56 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fil
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 42 < 56 ))
++ local char=e
++ [[ -n '' ]]
++ word=File
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 43 < 56 ))
++ local char=s
++ [[ -n '' ]]
++ word=Files
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 44 < 56 ))
++ local char=y
++ [[ -n '' ]]
++ word=Filesy
++ [[ y = \ ]]
++ wasspace=
++ let i++
++ (( 45 < 56 ))
++ local char=s
++ [[ -n '' ]]
++ word=Filesys
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 46 < 56 ))
++ local char=t
++ [[ -n '' ]]
++ word=Filesyst
++ [[ t = \ ]]
++ wasspace=
++ let i++
++ (( 47 < 56 ))
++ local char=e
++ [[ -n '' ]]
++ word=Filesyste
++ [[ e = \ ]]
++ wasspace=
++ let i++
++ (( 48 < 56 ))
++ local char=m
++ [[ -n '' ]]
++ word=Filesystem
++ [[ m = \ ]]
++ wasspace=
++ let i++
++ (( 49 < 56 ))
++ local 'char= '
++ [[ -n '' ]]
++ word='Filesystem '
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 50 < 56 ))
++ local 'char= '
++ [[ -n yes ]]
++ [[ = \ ]]
++ [[ -n Filesystem ]]
++ let start=50-11
+++ echo 'Filesystem '
+++ tr '[:upper:]' '[:lower:]'
++ word='filesystem '
++ columns='minor=0;start=9;end=21;type=29;filesystem=39;'
++ word=
++ [[ = \ ]]
++ wasspace=yes
++ let i++
++ (( 51 < 56 ))
++ local char=F
++ [[ -n yes ]]
++ [[ F = \ ]]
++ word=F
++ [[ F = \ ]]
++ wasspace=
++ let i++
++ (( 52 < 56 ))
++ local char=l
++ [[ -n '' ]]
++ word=Fl
++ [[ l = \ ]]
++ wasspace=
++ let i++
++ (( 53 < 56 ))
++ local char=a
++ [[ -n '' ]]
++ word=Fla
++ [[ a = \ ]]
++ wasspace=
++ let i++
++ (( 54 < 56 ))
++ local char=g
++ [[ -n '' ]]
++ word=Flag
++ [[ g = \ ]]
++ wasspace=
++ let i++
++ (( 55 < 56 ))
++ local char=s
++ [[ -n '' ]]
++ word=Flags
++ [[ s = \ ]]
++ wasspace=
++ let i++
++ (( 56 < 56 ))
++ let start=56-5
+++ echo Flags
+++ tr '[:upper:]' '[:lower:]'
++ word=flags
++ columns='minor=0;start=9;end=21;type=29;filesystem=39;flags=51;'
+++ grep -E '^[ ]*[0-9]' /tmp/rear.fdgeeRpDvd29698/tmp/parted
++ read line
++ line_length=1
++ (( 1 < 10 ))
++ line=' 1 0.031 5671.384 primary ext3 boot'
++ [[ -n y ]]
++ numberfield=minor
+++ get_columns ' 1 0.031 5671.384 primary ext3 boot' minor
+++ local 'line= 1 0.031 5671.384 primary ext3 boot'
+++ shift
+++ local headers=minor
+++ local value=
+++ for header in '$headers'
++++ get_column_start minor
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
+++ tr -d ' '
++++ local hstart=0
++++ [[ minor = \m\i\n\o\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
+++ tr -d ';'
++++ get_column_size minor
+++++ get_column_start minor
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header minor
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \m\i\n\o\r ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 9
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=9
++++ let local size=9-0
++++ echo 9
+++ local size=9
+++ value=' 1 ;'
+++ echo ' 1 ;'
++ number=1
+++ get_columns ' 1 0.031 5671.384 primary ext3 boot' flags
+++ local 'line= 1 0.031 5671.384 primary ext3 boot'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=9
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
+++ tr -d ,
++++ local hstart=21
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=29
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=filesystem
++++ local hstart=39
++++ [[ filesystem = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=51
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 51
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ tr -d ';'
+++ local start=51
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 51
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=51
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous=filesystem
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value=' boot;'
+++ echo ' boot;'
++ flaglist=' boot'
++ flags=
++ for flag in '$flaglist'
++ [[ boot = @(boot|root|swap|hidden|raid|lvm|lba|palo|legacy_boot|bios_grub) ]]
++ flags=boot,
++ [[ -z boot, ]]
++ sed -i '/^1 /s/$/ boot/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read line
++ line_length=2
++ (( 2 < 10 ))
++ line=' 2 5671.384 53599.680 primary ext3'
++ [[ -n y ]]
++ numberfield=minor
+++ get_columns ' 2 5671.384 53599.680 primary ext3' minor
+++ local 'line= 2 5671.384 53599.680 primary ext3'
+++ shift
+++ local headers=minor
+++ local value=
+++ for header in '$headers'
++++ get_column_start minor
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \m\i\n\o\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size minor
+++ tr -d ' '
+++ tr -d ';'
+++++ get_column_start minor
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header minor
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \m\i\n\o\r ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 9
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=9
++++ let local size=9-0
++++ echo 9
+++ local size=9
+++ value=' 2 ;'
+++ echo ' 2 ;'
++ number=2
+++ get_columns ' 2 5671.384 53599.680 primary ext3' flags
+++ local 'line= 2 5671.384 53599.680 primary ext3'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=9
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=21
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=29
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=filesystem
++++ local hstart=39
++++ [[ filesystem = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=51
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 51
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ tr -d ';'
+++ tr -d ,
+++ local start=51
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 51
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=51
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous=filesystem
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value=';'
+++ echo ';'
++ flaglist=
++ flags=
++ [[ -z '' ]]
++ flags=none
++ sed -i '/^2 /s/$/ none/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read line
++ line_length=3
++ (( 3 < 10 ))
++ line=' 3 53599.680 101527.976 primary ext3'
++ [[ -n y ]]
++ numberfield=minor
+++ get_columns ' 3 53599.680 101527.976 primary ext3' minor
+++ local 'line= 3 53599.680 101527.976 primary ext3'
+++ shift
+++ local headers=minor
+++ local value=
+++ for header in '$headers'
++++ get_column_start minor
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \m\i\n\o\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size minor
+++++ get_column_start minor
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++ tr -d ' '
+++++ local hstart=0
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++ tr -d ';'
+++++ get_next_header minor
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \m\i\n\o\r ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 9
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=9
++++ let local size=9-0
++++ echo 9
+++ local size=9
+++ value=' 3 5;'
+++ echo ' 3 5;'
++ number=35
+++ get_columns ' 3 53599.680 101527.976 primary ext3' flags
+++ local 'line= 3 53599.680 101527.976 primary ext3'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=9
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=21
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
+++ tr -d ,
++++ local hstart=29
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=filesystem
++++ local hstart=39
++++ [[ filesystem = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=51
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 51
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ tr -d ';'
+++ local start=51
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 51
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=51
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous=filesystem
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value=';'
+++ echo ';'
++ flaglist=
++ flags=
++ [[ -z '' ]]
++ flags=none
++ sed -i '/^35 /s/$/ none/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read line
++ line_length=4
++ (( 4 < 10 ))
++ line=' 4 101527.976 278470.458 extended'
++ [[ -n y ]]
++ numberfield=minor
+++ get_columns ' 4 101527.976 278470.458 extended' minor
+++ local 'line= 4 101527.976 278470.458 extended'
+++ shift
+++ local headers=minor
+++ local value=
+++ for header in '$headers'
++++ get_column_start minor
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \m\i\n\o\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size minor
+++ tr -d ' '
+++++ get_column_start minor
+++ tr -d ';'
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header minor
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \m\i\n\o\r ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 9
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=9
++++ let local size=9-0
++++ echo 9
+++ local size=9
+++ value=' 4 10;'
+++ echo ' 4 10;'
++ number=410
+++ get_columns ' 4 101527.976 278470.458 extended' flags
+++ local 'line= 4 101527.976 278470.458 extended'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=9
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=21
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=29
+++ tr -d ,
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=filesystem
++++ local hstart=39
++++ [[ filesystem = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=51
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 51
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ tr -d ';'
+++ local start=51
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 51
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=51
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous=filesystem
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value=';'
+++ echo ';'
++ flaglist=
++ flags=
++ [[ -z '' ]]
++ flags=none
++ sed -i '/^410 /s/$/ none/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read line
++ line_length=5
++ (( 5 < 10 ))
++ line=' 5 101528.007 111137.167 logical ext3'
++ [[ -n y ]]
++ numberfield=minor
+++ get_columns ' 5 101528.007 111137.167 logical ext3' minor
+++ local 'line= 5 101528.007 111137.167 logical ext3'
+++ shift
+++ local headers=minor
+++ local value=
+++ for header in '$headers'
++++ get_column_start minor
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \m\i\n\o\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
+++ tr -d ' '
++++ get_column_size minor
+++ tr -d ';'
+++++ get_column_start minor
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header minor
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \m\i\n\o\r ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 9
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=9
++++ let local size=9-0
++++ echo 9
+++ local size=9
+++ value=' 5 10;'
+++ echo ' 5 10;'
++ number=510
+++ get_columns ' 5 101528.007 111137.167 logical ext3' flags
+++ local 'line= 5 101528.007 111137.167 logical ext3'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=9
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=21
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=29
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=filesystem
++++ local hstart=39
++++ [[ filesystem = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=51
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 51
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=51
+++ tr -d ,
++++ get_column_size flags
+++ tr -d ';'
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 51
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=51
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous=filesystem
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value=';'
+++ echo ';'
++ flaglist=
++ flags=
++ [[ -z '' ]]
++ flags=none
++ sed -i '/^510 /s/$/ none/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read line
++ line_length=6
++ (( 6 < 10 ))
++ line=' 6 111137.199 116808.552 logical ext3'
++ [[ -n y ]]
++ numberfield=minor
+++ get_columns ' 6 111137.199 116808.552 logical ext3' minor
+++ local 'line= 6 111137.199 116808.552 logical ext3'
+++ shift
+++ local headers=minor
+++ local value=
+++ for header in '$headers'
++++ get_column_start minor
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \m\i\n\o\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size minor
+++++ get_column_start minor
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++ tr -d ';'
+++++ get_next_header minor
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \m\i\n\o\r ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 9
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=9
++++ let local size=9-0
++++ echo 9
+++ local size=9
+++ value=' 6 11;'
+++ echo ' 6 11;'
++ number=611
+++ get_columns ' 6 111137.199 116808.552 logical ext3' flags
+++ local 'line= 6 111137.199 116808.552 logical ext3'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=9
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=21
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=29
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=filesystem
++++ local hstart=39
++++ [[ filesystem = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=51
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 51
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=51
++++ get_column_size flags
+++ tr -d ,
+++++ get_column_start flags
+++ tr -d ';'
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 51
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=51
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous=filesystem
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value=';'
+++ echo ';'
++ flaglist=
++ flags=
++ [[ -z '' ]]
++ flags=none
++ sed -i '/^611 /s/$/ none/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read line
++ line_length=7
++ (( 7 < 10 ))
++ line=' 7 116808.583 128112.099 logical linux-swap'
++ [[ -n y ]]
++ numberfield=minor
+++ get_columns ' 7 116808.583 128112.099 logical linux-swap' minor
+++ local 'line= 7 116808.583 128112.099 logical linux-swap'
+++ shift
+++ local headers=minor
+++ local value=
+++ for header in '$headers'
++++ get_column_start minor
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \m\i\n\o\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size minor
+++ tr -d ' '
+++++ get_column_start minor
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header minor
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \m\i\n\o\r ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 9
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=9
++++ let local size=9-0
++++ echo 9
+++ local size=9
+++ value=' 7 11;'
+++ echo ' 7 11;'
++ number=711
+++ get_columns ' 7 116808.583 128112.099 logical linux-swap' flags
+++ local 'line= 7 116808.583 128112.099 logical linux-swap'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
+++ tr -d ,
++++ get_column_start flags
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
+++ tr -d ';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=9
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=21
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=29
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=filesystem
++++ local hstart=39
++++ [[ filesystem = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=51
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 51
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=51
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 51
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=51
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous=filesystem
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value=';'
+++ echo ';'
++ flaglist=
++ flags=
++ [[ -z '' ]]
++ flags=none
++ sed -i '/^711 /s/$/ none/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read line
++ line_length=8
++ (( 8 < 10 ))
++ line=' 8 128112.130 139290.139 logical ext3'
++ [[ -n y ]]
++ numberfield=minor
+++ get_columns ' 8 128112.130 139290.139 logical ext3' minor
+++ local 'line= 8 128112.130 139290.139 logical ext3'
+++ shift
+++ local headers=minor
+++ local value=
+++ for header in '$headers'
++++ get_column_start minor
++++ local pair
+++ tr -d ' '
ator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \m\i\n\o\r ]]
++++ echo 0
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=0
++++ get_column_size minor
+++++ get_column_start minor
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo 0
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=0
+++++ get_next_header minor
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \m\i\n\o\r ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \m\i\n\o\r ]]
+++++ echo start
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local nextheader=start
++++ [[ -z start ]]
+++++ get_column_start start
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \s\t\a\r\t ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \s\t\a\r\t ]]
+++++ echo 9
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local end=9
++++ let local size=9-0
++++ echo 9
+++ local size=9
+++ value=' 8 12;'
+++ echo ' 8 12;'
++ number=812
+++ get_columns ' 8 128112.130 139290.139 logical ext3' flags
+++ local 'line= 8 128112.130 139290.139 logical ext3'
+++ shift
+++ local headers=flags
+++ local value=
+++ for header in '$headers'
++++ get_column_start flags
+++ tr -d ,
++++ local pair
++++ set_separator ';'
++++ OIFS='
'
++++ IFS=';'
++++ for pair in '$columns'
++++ local header=minor
++++ local hstart=0
++++ [[ minor = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=start
++++ local hstart=9
++++ [[ start = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=end
++++ local hstart=21
++++ [[ end = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=type
++++ local hstart=29
++++ [[ type = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=filesystem
++++ local hstart=39
++++ [[ filesystem = \f\l\a\g\s ]]
++++ for pair in '$columns'
++++ local header=flags
++++ local hstart=51
++++ [[ flags = \f\l\a\g\s ]]
++++ echo 51
++++ restore_separator
++++ IFS='
'
++++ return 0
+++ local start=51
++++ get_column_size flags
+++++ get_column_start flags
+++++ local pair
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ minor = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ start = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ end = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ type = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ flags = \f\l\a\g\s ]]
+++++ echo 51
+++++ restore_separator
+++++ IFS='
'
+++++ return 0
++++ local start=51
+++++ get_next_header flags
+++++ local pair
+++++ local previous
+++++ set_separator ';'
+++++ OIFS='
'
+++++ IFS=';'
+++++ for pair in '$columns'
+++++ local header=minor
+++++ local hstart=0
+++++ [[ '' = \f\l\a\g\s ]]
+++++ previous=minor
+++++ for pair in '$columns'
+++++ local header=start
+++++ local hstart=9
+++++ [[ minor = \f\l\a\g\s ]]
+++++ previous=start
+++++ for pair in '$columns'
+++++ local header=end
+++++ local hstart=21
+++++ [[ start = \f\l\a\g\s ]]
+++++ previous=end
+++++ for pair in '$columns'
+++++ local header=type
+++++ local hstart=29
+++++ [[ end = \f\l\a\g\s ]]
+++++ previous=type
+++++ for pair in '$columns'
+++++ local header=filesystem
+++++ local hstart=39
+++++ [[ type = \f\l\a\g\s ]]
+++++ previous=filesystem
+++++ for pair in '$columns'
+++++ local header=flags
+++++ local hstart=51
+++++ [[ filesystem = \f\l\a\g\s ]]
+++++ previous=flags
+++++ restore_separator
+++++ IFS='
'
+++++ return 1
++++ local nextheader=
++++ [[ -z '' ]]
++++ echo 255
++++ return 0
+++ local size=255
+++ value=';'
+++ echo ';'
++ flaglist=
++ flags=
++ [[ -z '' ]]
++ flags=none
++ sed -i '/^812 /s/$/ none/' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read line
++ [[ msdos = \m\s\d\o\s ]]
++ [[ -n 1 ]]
++ cp /tmp/rear.fdgeeRpDvd29698/tmp/partitions /tmp/rear.fdgeeRpDvd29698/tmp/partitions-data
++ read partition_nr size start type flags junk
++ (( 1 > 4 ))
++ has_binary sfdisk
++ for bin in '$@'
++ type sfdisk
++ return 0
+++ sfdisk -c /dev/sda 1
++ declare partition_id=83
++ [[ 83 = @(5|f|85) ]]
++ read partition_nr size start type flags junk
++ (( 2 > 4 ))
++ has_binary sfdisk
++ for bin in '$@'
++ type sfdisk
++ return 0
+++ sfdisk -c /dev/sda 2
++ declare partition_id=83
++ [[ 83 = @(5|f|85) ]]
++ read partition_nr size start type flags junk
++ (( 3 > 4 ))
++ has_binary sfdisk
++ for bin in '$@'
++ type sfdisk
++ return 0
+++ sfdisk -c /dev/sda 3
++ declare partition_id=83
++ [[ 83 = @(5|f|85) ]]
++ read partition_nr size start type flags junk
++ (( 4 > 4 ))
++ has_binary sfdisk
++ for bin in '$@'
++ type sfdisk
++ return 0
+++ sfdisk -c /dev/sda 4
++ declare partition_id=5
++ [[ 5 = @(5|f|85) ]]
++ sed -i '/^4 /s/ primary / extended /' /tmp/rear.fdgeeRpDvd29698/tmp/partitions
++ read partition_nr size start type flags junk
++ (( 5 > 4 ))
++ continue
++ read partition_nr size start type flags junk
++ (( 6 > 4 ))
++ continue
++ read partition_nr size start type flags junk
++ (( 7 > 4 ))
++ continue
++ read partition_nr size start type flags junk
++ (( 8 > 4 ))
++ continue
++ read partition_nr size start type flags junk
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda1
+++ get_device_name /dev/sda1
+++ local name=sda1
+++ name=sda1
+++ [[ -n sda1 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda1 ]]
+++ name=sda1
+++ echo /dev/sda1
+++ return 1
++ echo 'part /dev/sda 5946845184 32256 primary boot /dev/sda1'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda2
+++ get_device_name /dev/sda2
+++ local name=sda2
+++ name=sda2
+++ [[ -n sda2 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda2 ]]
+++ name=sda2
+++ echo /dev/sda2
+++ return 1
++ echo 'part /dev/sda 50256460800 5946877440 primary none /dev/sda2'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda3
+++ get_device_name /dev/sda3
+++ local name=sda3
+++ name=sda3
+++ [[ -n sda3 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda3 ]]
+++ name=sda3
+++ echo /dev/sda3
+++ return 1
++ echo 'part /dev/sda 50256460800 56203338240 primary /dev/sda3'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda4
+++ get_device_name /dev/sda4
+++ local name=sda4
+++ name=sda4
+++ [[ -n sda4 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda4 ]]
+++ name=sda4
+++ echo /dev/sda4
+++ return 1
++ echo 'part /dev/sda 1024 106459799040 primary /dev/sda4'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda5
+++ get_device_name /dev/sda5
+++ local name=sda5
+++ name=sda5
+++ [[ -n sda5 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda5 ]]
+++ name=sda5
+++ echo /dev/sda5
+++ return 1
++ echo 'part /dev/sda 10075935744 106459831296 logical /dev/sda5'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda6
+++ get_device_name /dev/sda6
+++ local name=sda6
+++ name=sda6
+++ [[ -n sda6 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda6 ]]
+++ name=sda6
+++ echo /dev/sda6
+++ return 1
++ echo 'part /dev/sda 5946845184 116535799296 logical /dev/sda6'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda7
+++ get_device_name /dev/sda7
+++ local name=sda7
+++ name=sda7
+++ [[ -n sda7 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda7 ]]
+++ name=sda7
+++ echo /dev/sda7
+++ return 1
++ echo 'part /dev/sda 11852596224 122482676736 logical /dev/sda7'
++ read partition_nr size start type flags junk
++ partition_name=/dev/sda8
+++ get_device_name /dev/sda8
+++ local name=sda8
+++ name=sda8
+++ [[ -n sda8 ]]
+++ BugIfError 'Empty string passed to get_device_name'
+++ (( 0 != 0 ))
+++ local device dev_number mapper_number
+++ [[ -d /sys/block/sda8 ]]
+++ name=sda8
+++ echo /dev/sda8
+++ return 1
++ echo 'part /dev/sda 11720991744 134335305216 logical /dev/sda8'
++ read partition_nr size start type flags junk
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/21_raid_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/21_raid_layout.sh
++ '[' -e /proc/mdstat ']'
++ grep -q blocks /proc/mdstat
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/22_lvm_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/22_lvm_layout.sh
++ has_binary lvm
++ for bin in '$@'
++ type lvm
++ return 0
++ Log 'Saving LVM layout.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Saving LVM layout.'
2013-10-28 09:13:49 Saving LVM layout.
++ lvm pvdisplay -c
++ read line
++ lvm vgdisplay -c
++ read line
++ lvm lvdisplay -c
++ read line
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/23_filesystem_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/23_filesystem_layout.sh
++ Log 'Saving Filesystem layout.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Saving Filesystem layout.'
2013-10-28 09:13:49 Saving Filesystem layout.
+++ mount
++ read device on mountpoint type fstype options junk
++ '[' dev/sda1 = /dev/sda1 ']'
++ '[' '!' -b /dev/sda1 ']'
++ [[ /dev/sda1 == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/sda1 / ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/sda1
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=8f3bc4f0-d605-4029-8cf2-c8fff9dfb95b
+++ e2label /dev/sda1
++ label=
+++ tune2fs -l /dev/sda1
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/sda1
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=27
+++ tune2fs -l /dev/sda1
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=15552000
+++ tune2fs -l /dev/sda1
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=1451866
+++ tune2fs -l /dev/sda1
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=72593
++ reserved_percentage=4
+++ tune2fs -l /dev/sda1
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=727200
++ let 'bytes_per_inode=1451866*4096/727200'
++ let check_interval=15552000/86400
++ echo -n 'uuid=8f3bc4f0-d605-4029-8cf2-c8fff9dfb95b label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=27 check_interval=180d'
++ echo -n ' bytes_per_inode=8177'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' none = none ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' none = none ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' none = none ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' usbfs = usbfs ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' dev/sda6 = /dev/sda6 ']'
++ '[' '!' -b /dev/sda6 ']'
++ [[ /dev/sda6 == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/sda6 /root2 ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/sda6
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid='<none>'
+++ e2label /dev/sda6
++ label=
+++ tune2fs -l /dev/sda6
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/sda6
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=25
+++ tune2fs -l /dev/sda6
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=15552000
+++ tune2fs -l /dev/sda6
+++ grep 'Block count'
+++ cut -d : -f 2
+++ tr -d ' '
++ nr_blocks=1451866
+++ tune2fs -l /dev/sda6
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=72593
++ reserved_percentage=4
+++ tune2fs -l /dev/sda6
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=727200
++ let 'bytes_per_inode=1451866*4096/727200'
++ let check_interval=15552000/86400
++ echo -n 'uuid=<none> label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=25 check_interval=180d'
++ echo -n ' bytes_per_inode=8177'
++ options='rw,noexec,nosuid,nodev,noatime)'
++ options=rw,noexec,nosuid,nodev,noatime
++ echo -n ' options=rw,noexec,nosuid,nodev,noatime'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/sda5 = /dev/sda5 ']'
++ '[' '!' -b /dev/sda5 ']'
++ [[ /dev/sda5 == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/sda5 /var ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/sda5
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=79293447-713d-48e9-be5f-dfe2a680e623
+++ e2label /dev/sda5
++ label=
+++ tune2fs -l /dev/sda5
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/sda5
+++ grep 'Maximum mount count'
+++ cut -d : -f 2
+++ tr -d ' '
++ max_mounts=37
+++ tune2fs -l /dev/sda5
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=15552000
+++ tune2fs -l /dev/sda5
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=2459945
+++ tune2fs -l /dev/sda5
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=122997
++ reserved_percentage=4
+++ tune2fs -l /dev/sda5
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=1230592
++ let 'bytes_per_inode=2459945*4096/1230592'
++ let check_interval=15552000/86400
++ echo -n 'uuid=79293447-713d-48e9-be5f-dfe2a680e623 label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=37 check_interval=180d'
++ echo -n ' bytes_per_inode=8187'
++ options='rw,noexec,nosuid,nodev,noatime)'
++ options=rw,noexec,nosuid,nodev,noatime
++ echo -n ' options=rw,noexec,nosuid,nodev,noatime'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/sda2 = /dev/sda2 ']'
++ '[' '!' -b /dev/sda2 ']'
++ [[ /dev/sda2 == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/sda2 /opt/avaya ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/sda2
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=78f75f71-8e71-403e-a98d-798b6212641d
+++ e2label /dev/sda2
++ label=
+++ tune2fs -l /dev/sda2
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/sda2
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=31
+++ tune2fs -l /dev/sda2
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=15552000
+++ tune2fs -l /dev/sda2
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=12269643
+++ tune2fs -l /dev/sda2
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=613482
++ reserved_percentage=4
+++ tune2fs -l /dev/sda2
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=6144000
++ let 'bytes_per_inode=12269643*4096/6144000'
++ let check_interval=15552000/86400
++ echo -n 'uuid=78f75f71-8e71-403e-a98d-798b6212641d label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=31 check_interval=180d'
++ echo -n ' bytes_per_inode=8179'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/sda3 = /dev/sda3 ']'
++ '[' '!' -b /dev/sda3 ']'
++ [[ /dev/sda3 == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/sda3 /opt/dbase ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/sda3
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=58b70eff-daf0-4ab0-9fca-e9f31999970b
+++ e2label /dev/sda3
++ label=
+++ tune2fs -l /dev/sda3
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/sda3
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=25
+++ tune2fs -l /dev/sda3
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=15552000
+++ tune2fs -l /dev/sda3
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=12269643
+++ tune2fs -l /dev/sda3
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=613482
++ reserved_percentage=4
+++ tune2fs -l /dev/sda3
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=6144000
++ let 'bytes_per_inode=12269643*4096/6144000'
++ let check_interval=15552000/86400
++ echo -n 'uuid=58b70eff-daf0-4ab0-9fca-e9f31999970b label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=25 check_interval=180d'
++ echo -n ' bytes_per_inode=8179'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' dev/sda8 = /dev/sda8 ']'
++ '[' '!' -b /dev/sda8 ']'
++ [[ /dev/sda8 == /dev/disk/by-uuid* ]]
++ echo -n 'fs /dev/sda8 /DVD_OPS ext3 '
++ case "$fstype" in
++ tunefs=tune2fs
++ '[' ext3 = ext4 ']'
+++ tune2fs -l /dev/sda8
+++ grep UUID
+++ cut -d : -f 2
+++ tr -d ' '
++ uuid=dd8dd625-1c8d-4ed9-83f8-2ba60fe287d3
+++ e2label /dev/sda8
++ label=
+++ tune2fs -l /dev/sda8
+++ grep 'Block size'
+++ tr -d ' '
+++ cut -d : -f 2
++ blocksize=4096
+++ tune2fs -l /dev/sda8
+++ grep 'Maximum mount count'
+++ tr -d ' '
+++ cut -d : -f 2
++ max_mounts=32
+++ tune2fs -l /dev/sda8
+++ grep 'Check interval'
+++ cut -d '(' -f 1
+++ tr -d ' '
+++ cut -d : -f 2
++ check_interval=15552000
+++ tune2fs -l /dev/sda8
+++ grep 'Block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_blocks=2861570
+++ tune2fs -l /dev/sda8
+++ grep 'Reserved block count'
+++ tr -d ' '
+++ cut -d : -f 2
++ reserved_blocks=143078
++ reserved_percentage=4
+++ tune2fs -l /dev/sda8
+++ grep 'Inode count'
+++ tr -d ' '
+++ cut -d : -f 2
++ nr_inodes=1433344
++ let 'bytes_per_inode=2861570*4096/1433344'
++ let check_interval=15552000/86400
++ echo -n 'uuid=dd8dd625-1c8d-4ed9-83f8-2ba60fe287d3 label='
++ echo -n ' blocksize=4096 reserved_blocks=4%'
++ echo -n ' max_mounts=32 check_interval=180d'
++ echo -n ' bytes_per_inode=8177'
++ options='rw)'
++ options=rw
++ echo -n ' options=rw'
++ echo
++ read device on mountpoint type fstype options junk
++ '[' none = none ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' sunrpc = sunrpc ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' nfsd = nfsd ']'
++ continue
++ read device on mountpoint type fstype options junk
++ '[' '/FBNTFS02.fiatbank.dir/FTRANWIN$' = '//FBNTFS02.fiatbank.dir/FTRANWIN$' ']'
++ '[' '!' -b '//FBNTFS02.fiatbank.dir/FTRANWIN$' ']'
++ Log '//FBNTFS02.fiatbank.dir/FTRANWIN$ is not a block device, skipping.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 //FBNTFS02.fiatbank.dir/FTRANWIN$ is not a block device, skipping.'
2013-10-28 09:13:49 //FBNTFS02.fiatbank.dir/FTRANWIN$ is not a block device, skipping.
++ continue
++ read device on mountpoint type fstype options junk
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/24_swaps_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/24_swaps_layout.sh
++ Log 'Saving Swap information.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Saving Swap information.'
2013-10-28 09:13:49 Saving Swap information.
++ read filename type junk
+++ cat /proc/swaps
++ '[' Filename = Filename ']'
++ continue
++ read filename type junk
++ '[' /dev/sda7 = Filename ']'
++ '[' partition = file ']'
+++ ls /dev/mapper/control
++ for dlink in '$(ls /dev/mapper/*)'
+++ readlink -f /dev/mapper/control
++ target=/dev/mapper/control
++ '[' /dev/mapper/control = /dev/sda7 ']'
++ has_binary swaplabel
++ for bin in '$@'
++ type swaplabel
++ return 1
++ has_binary blkid
++ for bin in '$@'
++ type blkid
++ return 0
+++ blkid /dev/sda7
+++ tr ' ' '\n'
++ for value in '$(blkid $filename | tr " " "\n")'
++ case $value in
++ for value in '$(blkid $filename | tr " " "\n")'
++ case $value in
++ echo 'swap /dev/sda7 uuid= label='
++ read filename type junk
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/25_drbd_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/25_drbd_layout.sh
++ '[' -e /proc/drbd ']'
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/26_crypt_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/26_crypt_layout.sh
++ has_binary cryptsetup
++ for bin in '$@'
++ type cryptsetup
++ return 1
++ return
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/27_hpraid_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/27_hpraid_layout.sh
++ has_binary hpacucli
++ for bin in '$@'
++ type hpacucli
++ return 1
++ return
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/28_multipath_layout.sh
+ . /usr/share/rear/layout/save/GNU/Linux/28_multipath_layout.sh
+++ dmsetup ls --target multipath
++ read dm_name junk
++ '[' '!' -e /dev/mapper/No ']'
++ Log 'Did not find multipath device No in the expected location.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Did not find multipath device No in the expected location.'
2013-10-28 09:13:49 Did not find multipath device No in the expected location.
++ continue
++ read dm_name junk
++ grep -q '^multipath' /var/lib/rear/layout/disklayout.conf
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/default/30_list_dependencies.sh
+ . /usr/share/rear/layout/save/default/30_list_dependencies.sh
++ generate_layout_dependencies
++ :
++ :
++ local type dev remainder name disk disks vgrp dm_vgrp lvol dm_lvol part mp fs bd nmp temp_nm
+++ cat /var/lib/rear/layout/disklayout.conf
++ read type remainder
++ case $type in
+++ echo '/dev/hda 4294965248'
+++ cut -d ' ' -f 1
++ name=/dev/hda
++ add_component /dev/hda disk
++ echo 'todo /dev/hda disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 291999055872 msdos'
+++ cut -d ' ' -f 1
++ name=/dev/sda
++ add_component /dev/sda disk
++ echo 'todo /dev/sda disk'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 5946845184 32256 primary boot /dev/sda1'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 5946845184 32256 primary boot /dev/sda1'
+++ cut -d ' ' -f 6
++ name=/dev/sda1
++ add_dependency /dev/sda1 /dev/sda
++ echo '/dev/sda1 /dev/sda'
++ add_component /dev/sda1 part
++ echo 'todo /dev/sda1 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 50256460800 5946877440 primary none /dev/sda2'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 50256460800 5946877440 primary none /dev/sda2'
+++ cut -d ' ' -f 6
++ name=/dev/sda2
++ add_dependency /dev/sda2 /dev/sda
++ echo '/dev/sda2 /dev/sda'
++ add_component /dev/sda2 part
++ echo 'todo /dev/sda2 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 50256460800 56203338240 primary /dev/sda3'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 50256460800 56203338240 primary /dev/sda3'
+++ cut -d ' ' -f 6
++ name=/dev/sda3
++ add_dependency /dev/sda3 /dev/sda
++ echo '/dev/sda3 /dev/sda'
++ add_component /dev/sda3 part
++ echo 'todo /dev/sda3 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 1024 106459799040 primary /dev/sda4'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 1024 106459799040 primary /dev/sda4'
+++ cut -d ' ' -f 6
++ name=/dev/sda4
++ add_dependency /dev/sda4 /dev/sda
++ echo '/dev/sda4 /dev/sda'
++ add_component /dev/sda4 part
++ echo 'todo /dev/sda4 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 10075935744 106459831296 logical /dev/sda5'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 10075935744 106459831296 logical /dev/sda5'
+++ cut -d ' ' -f 6
++ name=/dev/sda5
++ add_dependency /dev/sda5 /dev/sda
++ echo '/dev/sda5 /dev/sda'
++ add_component /dev/sda5 part
++ echo 'todo /dev/sda5 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 5946845184 116535799296 logical /dev/sda6'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 5946845184 116535799296 logical /dev/sda6'
+++ cut -d ' ' -f 6
++ name=/dev/sda6
++ add_dependency /dev/sda6 /dev/sda
++ echo '/dev/sda6 /dev/sda'
++ add_component /dev/sda6 part
++ echo 'todo /dev/sda6 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 11852596224 122482676736 logical /dev/sda7'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 11852596224 122482676736 logical /dev/sda7'
+++ cut -d ' ' -f 6
++ name=/dev/sda7
++ add_dependency /dev/sda7 /dev/sda
++ echo '/dev/sda7 /dev/sda'
++ add_component /dev/sda7 part
++ echo 'todo /dev/sda7 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda 11720991744 134335305216 logical /dev/sda8'
+++ cut -d ' ' -f 1
++ disk=/dev/sda
+++ echo '/dev/sda 11720991744 134335305216 logical /dev/sda8'
+++ cut -d ' ' -f 6
++ name=/dev/sda8
++ add_dependency /dev/sda8 /dev/sda
++ echo '/dev/sda8 /dev/sda'
++ add_component /dev/sda8 part
++ echo 'todo /dev/sda8 part'
++ read type remainder
++ case $type in
+++ echo '/dev/sda1 / ext3 uuid=8f3bc4f0-d605-4029-8cf2-c8fff9dfb95b label= blocksize=4096 reserved_blocks=4% max_mounts=27 check_interval=180d bytes_per_inode=8177 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/sda1
+++ echo '/dev/sda1 / ext3 uuid=8f3bc4f0-d605-4029-8cf2-c8fff9dfb95b label= blocksize=4096 reserved_blocks=4% max_mounts=27 check_interval=180d bytes_per_inode=8177 options=rw'
+++ cut -d ' ' -f 2
++ mp=/
++ add_dependency fs:/ /dev/sda1
++ echo 'fs:/ /dev/sda1'
++ add_component fs:/ fs
++ echo 'todo fs:/ fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' '' '!=' / ']'
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /root2 '!=' / ']'
++ temp_nmp=/root2/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /opt/avaya '!=' / ']'
++ temp_nmp=/opt/avaya/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /opt/dbase '!=' / ']'
++ temp_nmp=/opt/dbase/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ '[' /DVD_OPS '!=' / ']'
++ temp_nmp=/DVD_OPS/
++ '[' / '!=' / ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ cut -d ' ' -f 1
+++ echo '/dev/sda6 /root2 ext3 uuid=<none> label= blocksize=4096 reserved_blocks=4% max_mounts=25 check_interval=180d bytes_per_inode=8177 options=rw,noexec,nosuid,nodev,noatime'
++ dev=/dev/sda6
+++ echo '/dev/sda6 /root2 ext3 uuid=<none> label= blocksize=4096 reserved_blocks=4% max_mounts=25 check_interval=180d bytes_per_inode=8177 options=rw,noexec,nosuid,nodev,noatime'
+++ cut -d ' ' -f 2
++ mp=/root2
++ add_dependency fs:/root2 /dev/sda6
++ echo 'fs:/root2 /dev/sda6'
++ add_component fs:/root2 fs
++ echo 'todo fs:/root2 fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' root2 '!=' /root2 ']'
++ '[' /root2 '!=' / ']'
++ add_dependency fs:/root2 fs:/
++ echo 'fs:/root2 fs:/'
++ read fs bd nmp junk
++ '[' /root2 '!=' / ']'
++ temp_nmp=/root2/
++ '[' /root2 '!=' /root2 ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /root2 '!=' /root2 ']'
++ read fs bd nmp junk
++ '[' /opt/avaya '!=' / ']'
++ temp_nmp=/opt/avaya/
++ '[' /root2 '!=' /root2 ']'
++ read fs bd nmp junk
++ '[' /opt/dbase '!=' / ']'
++ temp_nmp=/opt/dbase/
++ '[' /root2 '!=' /root2 ']'
++ read fs bd nmp junk
++ '[' /DVD_OPS '!=' / ']'
++ temp_nmp=/DVD_OPS/
++ '[' /root2 '!=' /root2 ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/sda5 /var ext3 uuid=79293447-713d-48e9-be5f-dfe2a680e623 label= blocksize=4096 reserved_blocks=4% max_mounts=37 check_interval=180d bytes_per_inode=8187 options=rw,noexec,nosuid,nodev,noatime'
+++ cut -d ' ' -f 1
++ dev=/dev/sda5
+++ echo '/dev/sda5 /var ext3 uuid=79293447-713d-48e9-be5f-dfe2a680e623 label= blocksize=4096 reserved_blocks=4% max_mounts=37 check_interval=180d bytes_per_inode=8187 options=rw,noexec,nosuid,nodev,noatime'
+++ cut -d ' ' -f 2
++ mp=/var
++ add_dependency fs:/var /dev/sda5
++ echo 'fs:/var /dev/sda5'
++ add_component fs:/var fs
++ echo 'todo fs:/var fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' var '!=' /var ']'
++ '[' /var '!=' / ']'
++ add_dependency fs:/var fs:/
++ echo 'fs:/var fs:/'
++ read fs bd nmp junk
++ '[' /root2 '!=' / ']'
++ temp_nmp=/root2/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /opt/avaya '!=' / ']'
++ temp_nmp=/opt/avaya/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /opt/dbase '!=' / ']'
++ temp_nmp=/opt/dbase/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ '[' /DVD_OPS '!=' / ']'
++ temp_nmp=/DVD_OPS/
++ '[' /var '!=' /var ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/sda2 /opt/avaya ext3 uuid=78f75f71-8e71-403e-a98d-798b6212641d label= blocksize=4096 reserved_blocks=4% max_mounts=31 check_interval=180d bytes_per_inode=8179 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/sda2
+++ echo '/dev/sda2 /opt/avaya ext3 uuid=78f75f71-8e71-403e-a98d-798b6212641d label= blocksize=4096 reserved_blocks=4% max_mounts=31 check_interval=180d bytes_per_inode=8179 options=rw'
+++ cut -d ' ' -f 2
++ mp=/opt/avaya
++ add_dependency fs:/opt/avaya /dev/sda2
++ echo 'fs:/opt/avaya /dev/sda2'
++ add_component fs:/opt/avaya fs
++ echo 'todo fs:/opt/avaya fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' opt/avaya '!=' /opt/avaya ']'
++ '[' /opt/avaya '!=' / ']'
++ add_dependency fs:/opt/avaya fs:/
++ echo 'fs:/opt/avaya fs:/'
++ read fs bd nmp junk
++ '[' /root2 '!=' / ']'
++ temp_nmp=/root2/
++ '[' /opt/avaya '!=' /opt/avaya ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /opt/avaya '!=' /opt/avaya ']'
++ read fs bd nmp junk
++ '[' /opt/avaya '!=' / ']'
++ temp_nmp=/opt/avaya/
++ '[' /opt/avaya '!=' /opt/avaya ']'
++ read fs bd nmp junk
++ '[' /opt/dbase '!=' / ']'
++ temp_nmp=/opt/dbase/
++ '[' /opt/avaya '!=' /opt/avaya ']'
++ read fs bd nmp junk
++ '[' /DVD_OPS '!=' / ']'
++ temp_nmp=/DVD_OPS/
++ '[' /opt/avaya '!=' /opt/avaya ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/sda3 /opt/dbase ext3 uuid=58b70eff-daf0-4ab0-9fca-e9f31999970b label= blocksize=4096 reserved_blocks=4% max_mounts=25 check_interval=180d bytes_per_inode=8179 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/sda3
+++ echo '/dev/sda3 /opt/dbase ext3 uuid=58b70eff-daf0-4ab0-9fca-e9f31999970b label= blocksize=4096 reserved_blocks=4% max_mounts=25 check_interval=180d bytes_per_inode=8179 options=rw'
+++ cut -d ' ' -f 2
++ mp=/opt/dbase
++ add_dependency fs:/opt/dbase /dev/sda3
++ echo 'fs:/opt/dbase /dev/sda3'
++ add_component fs:/opt/dbase fs
++ echo 'todo fs:/opt/dbase fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' opt/dbase '!=' /opt/dbase ']'
++ '[' /opt/dbase '!=' / ']'
++ add_dependency fs:/opt/dbase fs:/
++ echo 'fs:/opt/dbase fs:/'
++ read fs bd nmp junk
++ '[' /root2 '!=' / ']'
++ temp_nmp=/root2/
++ '[' /opt/dbase '!=' /opt/dbase ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /opt/dbase '!=' /opt/dbase ']'
++ read fs bd nmp junk
++ '[' /opt/avaya '!=' / ']'
++ temp_nmp=/opt/avaya/
++ '[' /opt/dbase '!=' /opt/dbase ']'
++ read fs bd nmp junk
++ '[' /opt/dbase '!=' / ']'
++ temp_nmp=/opt/dbase/
++ '[' /opt/dbase '!=' /opt/dbase ']'
++ read fs bd nmp junk
++ '[' /DVD_OPS '!=' / ']'
++ temp_nmp=/DVD_OPS/
++ '[' /opt/dbase '!=' /opt/dbase ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/sda8 /DVD_OPS ext3 uuid=dd8dd625-1c8d-4ed9-83f8-2ba60fe287d3 label= blocksize=4096 reserved_blocks=4% max_mounts=32 check_interval=180d bytes_per_inode=8177 options=rw'
+++ cut -d ' ' -f 1
++ dev=/dev/sda8
+++ echo '/dev/sda8 /DVD_OPS ext3 uuid=dd8dd625-1c8d-4ed9-83f8-2ba60fe287d3 label= blocksize=4096 reserved_blocks=4% max_mounts=32 check_interval=180d bytes_per_inode=8177 options=rw'
+++ cut -d ' ' -f 2
++ mp=/DVD_OPS
++ add_dependency fs:/DVD_OPS /dev/sda8
++ echo 'fs:/DVD_OPS /dev/sda8'
++ add_component fs:/DVD_OPS fs
++ echo 'todo fs:/DVD_OPS fs'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs bd nmp junk
++ '[' / '!=' / ']'
++ temp_nmp=/
++ '[' DVD_OPS '!=' /DVD_OPS ']'
++ '[' /DVD_OPS '!=' / ']'
++ add_dependency fs:/DVD_OPS fs:/
++ echo 'fs:/DVD_OPS fs:/'
++ read fs bd nmp junk
++ '[' /root2 '!=' / ']'
++ temp_nmp=/root2/
++ '[' /DVD_OPS '!=' /DVD_OPS ']'
++ read fs bd nmp junk
++ '[' /var '!=' / ']'
++ temp_nmp=/var/
++ '[' /DVD_OPS '!=' /DVD_OPS ']'
++ read fs bd nmp junk
++ '[' /opt/avaya '!=' / ']'
++ temp_nmp=/opt/avaya/
++ '[' /DVD_OPS '!=' /DVD_OPS ']'
++ read fs bd nmp junk
++ '[' /opt/dbase '!=' / ']'
++ temp_nmp=/opt/dbase/
++ '[' /DVD_OPS '!=' /DVD_OPS ']'
++ read fs bd nmp junk
++ '[' /DVD_OPS '!=' / ']'
++ temp_nmp=/DVD_OPS/
++ '[' /DVD_OPS '!=' /DVD_OPS ']'
++ read fs bd nmp junk
++ read type remainder
++ case $type in
+++ echo '/dev/sda7 uuid= label='
+++ cut -d ' ' -f 1
++ dev=/dev/sda7
++ add_dependency swap:/dev/sda7 /dev/sda7
++ echo 'swap:/dev/sda7 /dev/sda7'
++ add_component swap:/dev/sda7 swap
++ echo 'todo swap:/dev/sda7 swap'
++ read type remainder
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/default/31_include_exclude.sh
+ . /usr/share/rear/layout/save/default/31_include_exclude.sh
++ '[' 0 -gt 0 ']'
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/default/32_autoexclude.sh
+ . /usr/share/rear/layout/save/default/32_autoexclude.sh
++ '[' -n y ']'
+++ grep '^multipath' /var/lib/rear/layout/disklayout.conf
++ read multipath device devices junk
++ [[ -n /media ]]
++ for exclude in '"${AUTOEXCLUDE_PATH[@]}"'
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs device mountpoint junk
++ [[ / != \/ ]]
++ read fs device mountpoint junk
++ [[ /root2 != \/\r\o\o\t\2 ]]
++ read fs device mountpoint junk
++ [[ /var != \/\v\a\r ]]
++ read fs device mountpoint junk
++ [[ /opt/avaya != \/\o\p\t\/\a\v\a\y\a ]]
++ read fs device mountpoint junk
++ [[ /opt/dbase != \/\o\p\t\/\d\b\a\s\e ]]
++ read fs device mountpoint junk
++ [[ /DVD_OPS != \/\D\V\D\_\O\P\S ]]
++ read fs device mountpoint junk
++ '[' -n y ']'
++ used_disks=()
++ read fs device mountpoint junk
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ IsInArray /
++ local needle=/
++ shift
++ [[ / == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/ ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/
+++ get_parent_components fs:/ disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\1 ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda1
++++ grep -E '^[^ ]+ /dev/sda1 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda
++++ grep -E '^[^ ]+ /dev/sda ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sda
++ disks=/dev/sda
++ for disk in '$disks'
++ IsInArray /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == '' ]]
++ shift
++ return 1
++ used_disks=("${used_disks[@]}" "$disk")
++ read fs device mountpoint junk
++ IsInArray /root2
++ local needle=/root2
++ shift
++ [[ /root2 == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/root2 ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/root2
+++ get_parent_components fs:/root2 disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/root2
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\r\o\o\t\2 ]]
+++ IsInArray /dev/sda6
+++ local needle=/dev/sda6
+++ shift
+++ [[ /dev/sda6 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\r\o\o\t\2 ]]
+++ IsInArray fs:/ /dev/sda6
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\6 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda6
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\6 ]]
+++ IsInArray /dev/sda /dev/sda6 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\6 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda6 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\6 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda6 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\6 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda6
++++ grep -E '^[^ ]+ /dev/sda6 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda
++++ grep -E '^[^ ]+ /dev/sda ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda1
++++ grep -E '^[^ ]+ /dev/sda1 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
++ disks=/dev/sda
++ for disk in '$disks'
++ IsInArray /dev/sda /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
++ return 0
++ read fs device mountpoint junk
++ IsInArray /var
++ local needle=/var
++ shift
++ [[ /var == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/var ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/var
+++ get_parent_components fs:/var disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/var
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\v\a\r ]]
+++ IsInArray /dev/sda5
+++ local needle=/dev/sda5
+++ shift
+++ [[ /dev/sda5 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\v\a\r ]]
+++ IsInArray fs:/ /dev/sda5
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\5 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda5
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\5 ]]
+++ IsInArray /dev/sda /dev/sda5 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\5 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda5 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\5 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda5 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\5 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda5
++++ grep -E '^[^ ]+ /dev/sda5 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda
++++ grep -E '^[^ ]+ /dev/sda ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda1
++++ grep -E '^[^ ]+ /dev/sda1 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
++ disks=/dev/sda
++ for disk in '$disks'
++ IsInArray /dev/sda /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
++ return 0
++ read fs device mountpoint junk
++ IsInArray /opt/avaya
++ local needle=/opt/avaya
++ shift
++ [[ /opt/avaya == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/opt/avaya ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/opt/avaya
+++ get_parent_components fs:/opt/avaya disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/opt/avaya
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ IsInArray /dev/sda2
+++ local needle=/dev/sda2
+++ shift
+++ [[ /dev/sda2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ IsInArray fs:/ /dev/sda2
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\2 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\2 ]]
+++ IsInArray /dev/sda /dev/sda2 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\2 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda2 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\2 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda2 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\2 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda2
++++ grep -E '^[^ ]+ /dev/sda2 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda
++++ grep -E '^[^ ]+ /dev/sda ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda1
++++ grep -E '^[^ ]+ /dev/sda1 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
++ disks=/dev/sda
++ for disk in '$disks'
++ IsInArray /dev/sda /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
++ return 0
++ read fs device mountpoint junk
++ IsInArray /opt/dbase
++ local needle=/opt/dbase
++ shift
++ [[ /opt/dbase == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/opt/dbase ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/opt/dbase
+++ get_parent_components fs:/opt/dbase disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/opt/dbase
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ IsInArray /dev/sda3
+++ local needle=/dev/sda3
+++ shift
+++ [[ /dev/sda3 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ IsInArray fs:/ /dev/sda3
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\3 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda3
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\3 ]]
+++ IsInArray /dev/sda /dev/sda3 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\3 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda3 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\3 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda3 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\3 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda3
++++ grep -E '^[^ ]+ /dev/sda3 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda
++++ grep -E '^[^ ]+ /dev/sda ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda1
++++ grep -E '^[^ ]+ /dev/sda1 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
++ disks=/dev/sda
++ for disk in '$disks'
++ IsInArray /dev/sda /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
++ return 0
++ read fs device mountpoint junk
++ IsInArray /DVD_OPS
++ local needle=/DVD_OPS
++ shift
++ [[ /DVD_OPS == '' ]]
++ shift
++ return 1
++ grep -q '^done fs:/DVD_OPS ' /var/lib/rear/layout/disktodo.conf
+++ find_disk fs:/DVD_OPS
+++ get_parent_components fs:/DVD_OPS disk
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/DVD_OPS
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ IsInArray /dev/sda8
+++ local needle=/dev/sda8
+++ shift
+++ [[ /dev/sda8 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ IsInArray fs:/ /dev/sda8
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\8 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda8
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\8 ]]
+++ IsInArray /dev/sda /dev/sda8 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\8 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda8 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\8 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda8 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\8 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda8
++++ grep -E '^[^ ]+ /dev/sda8 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type fs:/
++++ grep -E '^[^ ]+ fs:/ ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=fs
+++ [[ fs != \d\i\s\k ]]
+++ continue
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda
++++ grep -E '^[^ ]+ /dev/sda ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=disk
+++ [[ disk != \d\i\s\k ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n disk ]]
++++ get_component_type /dev/sda1
++++ grep -E '^[^ ]+ /dev/sda1 ' /var/lib/rear/layout/disktodo.conf
++++ cut -d ' ' -f 3
+++ type=part
+++ [[ part != \d\i\s\k ]]
+++ continue
++ disks=/dev/sda
++ for disk in '$disks'
++ IsInArray /dev/sda /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
++ return 0
++ read fs device mountpoint junk
++ read disk name junk
+++ grep '^disk' /var/lib/rear/layout/disklayout.conf
++ IsInArray /dev/hda /dev/sda
++ local needle=/dev/hda
++ shift
++ [[ /dev/hda == \/\d\e\v\/\s\d\a ]]
++ shift
++ [[ /dev/hda == '' ]]
++ shift
++ return 1
++ Log 'Disk /dev/hda is not used by any mounted filesystem. Excluding.'
++ test 1 -gt 0
+++ Stamp
+++ date '+%Y-%m-%d %H:%M:%S '
++ echo '2013-10-28 09:13:49 Disk /dev/hda is not used by any mounted filesystem. Excluding.'
2013-10-28 09:13:49 Disk /dev/hda is not used by any mounted filesystem. Excluding.
++ mark_as_done /dev/hda
++ Debug 'Marking /dev/hda as done.'
++ test ''
++ sed -i 's;todo\ /dev/hda\ ;done\ /dev/hda\ ;' /var/lib/rear/layout/disktodo.conf
++ mark_tree_as_done /dev/hda
+++ get_child_components /dev/hda
+++ declare -a devlist children
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=/dev/hda
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\h\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
++ read disk name junk
++ IsInArray /dev/sda /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
++ return 0
++ read disk name junk
+++ grep '^multipath' /var/lib/rear/layout/disklayout.conf
++ read multipath device slaves junk
++ [[ -n '' ]]
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/default/33_remove_exclusions.sh
+ . /usr/share/rear/layout/save/default/33_remove_exclusions.sh
++ '[' -s /var/lib/rear/layout/disktodo.conf ']'
+++ grep '^done' /var/lib/rear/layout/disktodo.conf
++ read done name type junk
++ case $type in
++ remove_component disk /dev/hda
++ sed -i 's|^disk /dev/hda |\#disk /dev/hda |' /var/lib/rear/layout/disklayout.conf
++ read done name type junk
+++ grep -E '^done [^ ]+ lvmgrp' /var/lib/rear/layout/disktodo.conf
++ read status name junk
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/default/34_generate_mountpoint_device.sh
+ . /usr/share/rear/layout/save/default/34_generate_mountpoint_device.sh
++ excluded_mountpoints=()
++ read fs device mountpoint junk
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
+++ get_parent_components fs:/
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\1 ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ sort -u
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda1
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda1
++ local needle=/dev/sda1
++ shift
++ [[ /dev/sda1 == '' ]]
++ shift
++ return 1
++ read fs device mountpoint junk
+++ get_parent_components fs:/root2
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/root2
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\r\o\o\t\2 ]]
+++ IsInArray /dev/sda6
+++ local needle=/dev/sda6
+++ shift
+++ [[ /dev/sda6 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\r\o\o\t\2 ]]
+++ IsInArray fs:/ /dev/sda6
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\6 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\r\o\o\t\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda6
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\6 ]]
+++ IsInArray /dev/sda /dev/sda6 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\6 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\6 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda6 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\6 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda6 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\6 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda6
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo fs:/
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda1
++ local needle=/dev/sda1
++ shift
++ [[ /dev/sda1 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda6
++ local needle=/dev/sda6
++ shift
++ [[ /dev/sda6 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray fs:/
++ local needle=fs:/
++ shift
++ [[ fs:/ == '' ]]
++ shift
++ return 1
++ read fs device mountpoint junk
+++ get_parent_components fs:/var
+++ declare -a ancestors devlist
+++ sort -u
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/var
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\v\a\r ]]
+++ IsInArray /dev/sda5
+++ local needle=/dev/sda5
+++ shift
+++ [[ /dev/sda5 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\v\a\r ]]
+++ IsInArray fs:/ /dev/sda5
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\5 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\v\a\r ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda5
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\5 ]]
+++ IsInArray /dev/sda /dev/sda5 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\5 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\5 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda5 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\5 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda5 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\5 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda5
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo fs:/
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda1
++ local needle=/dev/sda1
++ shift
++ [[ /dev/sda1 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda5
++ local needle=/dev/sda5
++ shift
++ [[ /dev/sda5 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray fs:/
++ local needle=fs:/
++ shift
++ [[ fs:/ == '' ]]
++ shift
++ return 1
++ read fs device mountpoint junk
+++ get_parent_components fs:/opt/avaya
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/opt/avaya
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ IsInArray /dev/sda2
+++ local needle=/dev/sda2
+++ shift
+++ [[ /dev/sda2 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ sort -u
+++ [[ fs:/opt/avaya = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ IsInArray fs:/ /dev/sda2
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\2 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\o\p\t\/\a\v\a\y\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda2
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\2 ]]
+++ IsInArray /dev/sda /dev/sda2 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\2 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\2 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda2 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\2 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda2 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\2 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda2
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo fs:/
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda1
++ local needle=/dev/sda1
++ shift
++ [[ /dev/sda1 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda2
++ local needle=/dev/sda2
++ shift
++ [[ /dev/sda2 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray fs:/
++ local needle=fs:/
++ shift
++ [[ fs:/ == '' ]]
++ shift
++ return 1
++ read fs device mountpoint junk
+++ get_parent_components fs:/opt/dbase
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/opt/dbase
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ sort -u
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ IsInArray /dev/sda3
+++ local needle=/dev/sda3
+++ shift
+++ [[ /dev/sda3 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ IsInArray fs:/ /dev/sda3
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\3 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\o\p\t\/\d\b\a\s\e ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda3
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\3 ]]
+++ IsInArray /dev/sda /dev/sda3 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\3 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\3 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda3 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\3 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda3 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\3 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda3
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo fs:/
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda1
++ local needle=/dev/sda1
++ shift
++ [[ /dev/sda1 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda3
++ local needle=/dev/sda3
++ shift
++ [[ /dev/sda3 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray fs:/
++ local needle=fs:/
++ shift
++ [[ fs:/ == '' ]]
++ shift
++ return 1
++ read fs device mountpoint junk
+++ get_parent_components fs:/DVD_OPS
+++ declare -a ancestors devlist
+++ declare current child parent
+++ devlist=("$1")
+++ (( 1 ))
+++ current=fs:/DVD_OPS
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/ = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ IsInArray /dev/sda8
+++ local needle=/dev/sda8
+++ shift
+++ [[ /dev/sda8 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ IsInArray fs:/ /dev/sda8
+++ local needle=fs:/
+++ shift
+++ [[ fs:/ == \/\d\e\v\/\s\d\a\8 ]]
+++ shift
+++ [[ fs:/ == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/\D\V\D\_\O\P\S ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda8
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\8 ]]
+++ IsInArray /dev/sda /dev/sda8 fs:/
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\8 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\8 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=fs:/
+++ read child parent junk
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \f\s\:\/ ]]
+++ read child parent junk
+++ sort -u
+++ [[ fs:/ = \f\s\:\/ ]]
+++ IsInArray /dev/sda1 /dev/sda8 fs:/ /dev/sda
+++ local needle=/dev/sda1
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a\8 ]]
+++ shift
+++ [[ /dev/sda1 == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda1 == \/\d\e\v\/\s\d\a ]]
+++ shift
+++ [[ /dev/sda1 == '' ]]
+++ shift
+++ return 1
+++ devlist=("${devlist[@]}" "$parent")
+++ ancestors=("${ancestors[@]}" "$parent")
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/root2 = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/var = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \f\s\:\/ ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \f\s\:\/ ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 2 ))
+++ current=/dev/sda
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 1 ))
+++ current=/dev/sda1
+++ read child parent junk
+++ [[ /dev/sda1 = \/\d\e\v\/\s\d\a\1 ]]
+++ IsInArray /dev/sda /dev/sda8 fs:/ /dev/sda /dev/sda1
+++ local needle=/dev/sda
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a\8 ]]
+++ shift
+++ [[ /dev/sda == \f\s\:\/ ]]
+++ shift
+++ [[ /dev/sda == \/\d\e\v\/\s\d\a ]]
+++ return 0
+++ continue
+++ read child parent junk
+++ [[ /dev/sda2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda3 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda4 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda5 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda6 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ /dev/sda8 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/ = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/root2 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/var = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/avaya = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/opt/dbase = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ fs:/DVD_OPS = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ [[ swap:/dev/sda7 = \/\d\e\v\/\s\d\a\1 ]]
+++ read child parent junk
+++ unset 'devlist[0]'
+++ devlist=("${devlist[@]}")
+++ (( 0 ))
+++ declare component type
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda8
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo fs:/
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda
+++ for component in '"${ancestors[@]}"'
+++ [[ -n '' ]]
+++ echo /dev/sda1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda
++ local needle=/dev/sda
++ shift
++ [[ /dev/sda == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda1
++ local needle=/dev/sda1
++ shift
++ [[ /dev/sda1 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray /dev/sda8
++ local needle=/dev/sda8
++ shift
++ [[ /dev/sda8 == '' ]]
++ shift
++ return 1
++ for component in '$(get_parent_components "fs:$mountpoint" | sort -u)'
++ IsInArray fs:/
++ local needle=fs:/
++ shift
++ [[ fs:/ == '' ]]
++ shift
++ return 1
++ read fs device mountpoint junk
+++ grep '^fs' /var/lib/rear/layout/disklayout.conf
++ read fs device mountpoint junk
++ IsInArray /
++ local needle=/
++ shift
++ [[ / == '' ]]
++ shift
++ return 1
++ echo '/ /dev/sda1'
++ read fs device mountpoint junk
++ IsInArray /root2
++ local needle=/root2
++ shift
++ [[ /root2 == '' ]]
++ shift
++ return 1
++ echo '/root2 /dev/sda6'
++ read fs device mountpoint junk
++ IsInArray /var
++ local needle=/var
++ shift
++ [[ /var == '' ]]
++ shift
++ return 1
++ echo '/var /dev/sda5'
++ read fs device mountpoint junk
++ IsInArray /opt/avaya
++ local needle=/opt/avaya
++ shift
++ [[ /opt/avaya == '' ]]
++ shift
++ return 1
++ echo '/opt/avaya /dev/sda2'
++ read fs device mountpoint junk
++ IsInArray /opt/dbase
++ local needle=/opt/dbase
++ shift
++ [[ /opt/dbase == '' ]]
++ shift
++ return 1
++ echo '/opt/dbase /dev/sda3'
++ read fs device mountpoint junk
++ IsInArray /DVD_OPS
++ local needle=/DVD_OPS
++ shift
++ [[ /DVD_OPS == '' ]]
++ shift
++ return 1
++ echo '/DVD_OPS /dev/sda8'
++ read fs device mountpoint junk
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/35_copy_drbdtab.sh
+ . /usr/share/rear/layout/save/GNU/Linux/35_copy_drbdtab.sh
++ '[' -e /etc/drbdtab ']'
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/50_extract_vgcfg.sh
+ . /usr/share/rear/layout/save/GNU/Linux/50_extract_vgcfg.sh
++ has_binary lvm
++ for bin in '$@'
++ type lvm
++ return 0
++ mkdir -p /var/lib/rear/layout/lvm
++ lvm vgcfgbackup -f /var/lib/rear/layout/lvm/%s.cfg
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/GNU/Linux/51_current_disk_usage.sh
+ . /usr/share/rear/layout/save/GNU/Linux/51_current_disk_usage.sh
++ df -h
+ test 1
+ set +x
2013-10-28 09:13:49 Including layout/save/default/60_snapshot_files.sh
+ . /usr/share/rear/layout/save/default/60_snapshot_files.sh
++ '[' savelayout = checklayout ']'
++ config_files=()
++ for obj in '"${CHECK_CONFIG_FILES[@]}"'
++ '[' -d /etc/drbd/ ']'
++ '[' -e /etc/drbd/ ']'
++ for obj in '"${CHECK_CONFIG_FILES[@]}"'
++ '[' -d /etc/drbd.conf ']'
++ '[' -e /etc/drbd.conf ']'
++ for obj in '"${CHECK_CONFIG_FILES[@]}"'
++ '[' -d /etc/lvm/lvm.conf ']'
++ '[' -e /etc/lvm/lvm.conf ']'
++ config_files=("${config_files[@]}" "$obj")
++ for obj in '"${CHECK_CONFIG_FILES[@]}"'
++ '[' -d /etc/multipath.conf ']'
++ '[' -e /etc/multipath.conf ']'
++ for obj in '"${CHECK_CONFIG_FILES[@]}"'
++ '[' -d /etc/rear/ ']'
++ config_files=("${config_files[@]}" $(find "$obj" -type f))
+++ find /etc/rear/ -type f
++ for obj in '"${CHECK_CONFIG_FILES[@]}"'
++ '[' -d /etc/udev/udev.conf ']'
++ '[' -e /etc/udev/udev.conf ']'
++ config_files=("${config_files[@]}" "$obj")
++ md5sum /etc/lvm/lvm.conf /etc/rear/local.conf /etc/rear/local.conf.rpmsave /etc/rear/mappings/disk_devices.example /etc/rear/mappings/ip_addresses.example /etc/rear/mappings/mac.example /etc/rear/mappings/routes.example /etc/rear/templates/PXE_pxelinux.cfg /etc/rear/templates/EFI_readme.txt /etc/rear/templates/RESULT_usage_ISO.txt /etc/rear/templates/RESULT_mailbody.txt /etc/rear/templates/RESULT_usage_RAMDISK.txt /etc/rear/templates/RESULT_usage_PXE.txt /etc/rear/templates/RESULT_usage_USB.txt /etc/rear/templates/rear.help /etc/rear/os.conf /etc/rear/.cifs /etc/rear/local.conf.rpmnew /etc/udev/udev.conf
+ test 1
+ set +x
2013-10-28 09:13:49 Finished running 'layout/save' stage in 1 seconds
2013-10-28 09:13:49 Finished running savelayout workflow
2013-10-28 09:13:49 Running exit tasks.
2013-10-28 09:13:49 Finished in 1 seconds
2013-10-28 09:13:49 Removing build area /tmp/rear.fdgeeRpDvd29698
2013-10-28 09:13:49 End of program reached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment