mkbak_media: Allow to append to current position
This commit is contained in:
parent
b8dbc622ea
commit
29115ff44e
@ -45,8 +45,12 @@ info "Configuring tape drive"
|
||||
mt-st -f $DEV compression 0
|
||||
|
||||
if [ "$MODE" == "append" ]; then
|
||||
info "Moving tape to end..."
|
||||
info "Append to end of data? [ctrl+c to cancel]"
|
||||
read a
|
||||
mt-st -f $DEV eod
|
||||
elif [ "$MODE" == "here" ]; then
|
||||
info "Appending to tape at current position. This may overwrite existing data. Are you sure? [ctrl+c to cancel]"
|
||||
read a
|
||||
else
|
||||
warn "Rewinding tape. This will delete all existing data on tape. Are you sure? [ctrl+c to cancel]"
|
||||
read a
|
||||
|
Loading…
Reference in New Issue
Block a user