Linux ih01.iridiumhosting.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.44
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
format /
OBDR /
default /
Delete
Unzip
Name
Size
Permission
Date
Action
020_translate_url.sh
1.71
KB
-rw-r--r--
2026-04-01 09:39
040_translate_tape.sh
932
B
-rw-r--r--
2026-04-01 09:39
050_change_tape_name.sh
285
B
-rw-r--r--
2026-04-01 09:39
700_write_OBDR_header.sh
1.2
KB
-rw-r--r--
2026-04-01 09:39
Save
Rename
# write the OBDR header to tape PROGS+=( dd ) LogPrint "Writing OBDR header to tape in drive '$TAPE_DEVICE'" mt -f "$TAPE_DEVICE" rewind StopIfError "Problem with rewinding tape in drive '$TAPE_DEVICE'" 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'" mt -f "$TAPE_DEVICE" setblk 512 StopIfError "Could not set block size on tape device '$TAPE_DEVICE'" ### Make sure we set a tape label and total padding of 20 blocks of size 512 # 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) printf "$USB_DEVICE_FILESYSTEM_LABEL%10232s" ' ' | tr ' ' '\0' | dd of=$TAPE_DEVICE bs=512 count=20 StopIfError "OBDR header could not be written to tape device '$TAPE_DEVICE'" ### Make sure we jump to block 20 before writing (needed for DAT320) ### "mt seek" is not supported on all tape devices, do not stop on failure mt -f "${TAPE_DEVICE}" seek 20 LogIfError "Could not seek to block 20 on tape device '$TAPE_DEVICE'"