Linux ih01.iridiumhosting.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.217.43
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
layout /
save /
default /
Delete
Unzip
Name
Size
Permission
Date
Action
300_list_dependencies.sh
103
B
-rw-r--r--
2026-04-01 09:39
305_uniq_disktodo.sh
189
B
-rw-r--r--
2026-04-01 09:39
310_autoexclude_usb.sh
1.61
KB
-rw-r--r--
2026-04-01 09:39
310_include_exclude.sh
2.21
KB
-rw-r--r--
2026-04-01 09:39
320_autoexclude.sh
5.05
KB
-rw-r--r--
2026-04-01 09:39
330_remove_exclusions.sh
4.08
KB
-rw-r--r--
2026-04-01 09:39
335_remove_excluded_multipath_vgs.sh
2.23
KB
-rw-r--r--
2026-04-01 09:39
340_generate_mountpoint_device.sh
1.21
KB
-rw-r--r--
2026-04-01 09:39
350_save_partitions.sh
1.43
KB
-rw-r--r--
2026-04-01 09:39
445_guess_bootloader.sh
8.32
KB
-rw-r--r--
2026-04-01 09:39
450_check_bootloader_files.sh
2.05
KB
-rw-r--r--
2026-04-01 09:39
450_check_network_files.sh
1.41
KB
-rw-r--r--
2026-04-01 09:39
490_check_files_to_patch.sh
2.19
KB
-rw-r--r--
2026-04-01 09:39
550_barrel_devicegraph.sh
3.66
KB
-rw-r--r--
2026-04-01 09:39
600_snapshot_files.sh
1.74
KB
-rw-r--r--
2026-04-01 09:39
700_save_grubenv.sh
1.31
KB
-rw-r--r--
2026-04-01 09:39
950_verify_disklayout_file.sh
16.99
KB
-rw-r--r--
2026-04-01 09:39
Save
Rename
# Disable excluded components in var/lib/rear/layout/disklayout.conf # Excluded components have been marked as 'done ...' in var/lib/rear/layout/disktodo.conf test -s "$LAYOUT_TODO" || return 0 # Below there is a (perhaps oversophisticated?) distinction what messages should appear # - only in the log file in debug '-d' mode via 'Debug' # - in the log file and on the user's terminal in debug '-d' mode via 'DebugPrint' # - in the log file and on the user's terminal in verbose '-v' mode via 'LogPrint' # so that the info that is shown on the user's terminal (hopefully) looks consistent. # This distinction matches the same kind of distinction in the # mark_as_done and mark_tree_as_done functions in lib/layout-functions.sh DebugPrint "Disabling excluded components in $LAYOUT_FILE" # Disable component $1 $2 in disklayout.conf # where $1 is the component keyword/type that is always at the first position # and the component value/name $2 is at the second position: disable_component_at_second_position() { # The trailing blank in "... $2 " is crucial to not match wrong components # for example the component "part /dev/sda1" must not match accidentally # other components like "part /dev/sda12" in var/lib/rear/layout/disklayout.conf if grep -q "#$1 $2 " $LAYOUT_FILE ; then DebugPrint "Component '$1 $2' is disabled in $LAYOUT_FILE" return 0 fi if ! grep -q "^$1 $2 " $LAYOUT_FILE ; then Debug "Cannot disable component because there is no '^$1 $2 ' in $LAYOUT_FILE" return 1 fi LogPrint "Disabling component '$1 $2' in $LAYOUT_FILE" sed -i "s|^$1 $2 |\#$1 $2 |" "$LAYOUT_FILE" } # Disable component $1 ... $2 in disklayout.conf # where $1 is the component keyword/type that is always at the first position # and the component value/name $2 is at the third position: disable_component_at_third_position() { # The trailing blank in "... $2 " is crucial to not match wrong components # for example the component "part /dev/sda1" must not match accidentally # other components like "part /dev/sda12" in var/lib/rear/layout/disklayout.conf if grep -q "#$1 [^ ][^ ]* $2 " $LAYOUT_FILE ; then DebugPrint "Component '$1 ... $2' is disabled in $LAYOUT_FILE" return 0 fi if ! grep -q "^$1 [^ ][^ ]* $2 " $LAYOUT_FILE ; then Debug "Cannot disable component because there is no '^$1 ... $2 ' in $LAYOUT_FILE" return 1 fi LogPrint "Disabling component '$1 ... $2' in $LAYOUT_FILE" sed -i -r "s|^$1 ([^ ]+) $2 |\#$1 \1 $2 |" "$LAYOUT_FILE" } # In disktodo.conf the component status ('todo'/'done') is always at the first position # and the component value/name is always at the second position # and the component keyword/type is always at the third position: while read status name type junk ; do case "$type" in (part) # find the immediate parent name=$( grep "^$name " "$LAYOUT_DEPS" | cut -d " " -f 2 ) disable_component_at_second_position "$type" "$name" ;; (lvmvol) name=${name#/dev/mapper/} # split between vg and lv is single dash # Device mapper doubles dashes in vg and lv vg=$( sed "s/\([^-]\)-[^-].*/\1/;s/--/-/g" <<< "$name" ) lv=$( sed "s/.*[^-]-\([^-]\)/\1/;s/--/-/g" <<< "$name" ) sed -i -r "s|^($type /dev/$vg $lv )|\#\1|" "$LAYOUT_FILE" ;; (fs|btrfsmountedsubvol|lvmdev) name=${name#$type:} disable_component_at_third_position "$type" "$name" ;; (opaldisk) name=${name#$type:} disable_component_at_second_position "$type" "$name" ;; (swap) name=${name#swap:} disable_component_at_second_position "$type" "$name" ;; (*) disable_component_at_second_position "$type" "$name" ;; esac done < <( grep "^done" "$LAYOUT_TODO" ) # Disable all LVM PVs of excluded VGs: while read status name junk ; do disable_component_at_second_position "lvmdev" "$name" done < <( grep -E "^done [^ ]+ lvmgrp" "$LAYOUT_TODO" )