����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.
#
# 350_save_partitions.sh
if [ -z "$BLOCKCLONE_SAVE_MBR_DEV" ]; then
return
fi
if [ ! -b "$BLOCKCLONE_SAVE_MBR_DEV" ]; then
Error "BLOCKCLONE_SAVE_MBR_DEV is empty or incorrectly set!"
fi
# This layout will be later used if BLOCKCLONE_STRICT_PARTITIONING="yes"
# TODO: @gozora add gpt support
local label=$(parted $BLOCKCLONE_SAVE_MBR_DEV print | \
grep "Partition Table" | awk -F ": " '{print $2}')
case "$label" in
("msdos")
Log "Saving strict partition layout"
sfdisk -d $BLOCKCLONE_SAVE_MBR_DEV > \
$VAR_DIR/layout/$BLOCKCLONE_PARTITIONS_CONF_FILE
StopIfError "Failed to save partition layout"
# Save bootstrap code area
# This will be used to restore bootstrap area code during
# restore of NTFS partition.
Log "Saving bootstrap code area of $BLOCKCLONE_SAVE_MBR_DEV"
dd if=$BLOCKCLONE_SAVE_MBR_DEV \
of=$VAR_DIR/layout/$BLOCKCLONE_MBR_FILE bs=446 count=1
StopIfError "Failed to save bootstrap code area"
;;
#~ ("gpt")
#~ sgdisk -b $VAR_DIR/layout/$BLOCKCLONE_PARTITIONS_CONF_FILE \
#~ $BLOCKCLONE_SAVE_MBR_DEV
#~
#~ StopIfError "Failed to save partition layout"
#~ ;;
(*)
BugError "Unknown partition table on $BLOCKCLONE_SAVE_MBR_DEV"
;;
esac
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 300_list_dependencies.sh | File | 103 B | 0644 |
|
| 310_autoexclude_usb.sh | File | 1.61 KB | 0644 |
|
| 310_include_exclude.sh | File | 2.21 KB | 0644 |
|
| 320_autoexclude.sh | File | 5.05 KB | 0644 |
|
| 330_remove_exclusions.sh | File | 4.08 KB | 0644 |
|
| 335_remove_excluded_multipath_vgs.sh | File | 2.23 KB | 0644 |
|
| 340_generate_mountpoint_device.sh | File | 1.21 KB | 0644 |
|
| 350_save_partitions.sh | File | 1.43 KB | 0644 |
|
| 445_guess_bootloader.sh | File | 6.94 KB | 0644 |
|
| 450_check_bootloader_files.sh | File | 1.96 KB | 0644 |
|
| 450_check_network_files.sh | File | 879 B | 0644 |
|
| 490_check_files_to_patch.sh | File | 2.19 KB | 0644 |
|
| 550_barrel_devicegraph.sh | File | 3.66 KB | 0644 |
|
| 600_snapshot_files.sh | File | 428 B | 0644 |
|
| 950_verify_disklayout_file.sh | File | 16.57 KB | 0644 |
|