201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 6


The following command has just been run successfully:

Cd /opt; tar xvf /dev/nst0;

What will happen if the command sequence is run again?

Show Answer
Correct Answer: D

The command uses /dev/nst0, which is a non-rewinding tape device. When a tape device is non-rewinding, it does not rewind back to the beginning after an operation. Therefore, running the tar command again would read the next file on the tape and add its content to /opt, appending rather than overwriting the existing contents.

Discussion

3 comments
Sign in to comment
milan92stankovicOption: D
Jan 15, 2021

D - 100%

dummy92
Jan 25, 2021

Do you know if this dump cover all the program of exam? Is it valid?

schinderhannes
Aug 9, 2021

no it don't cover all lpi exam questions but it is still one of the best sources.

antonio76
Jun 5, 2021

Take exam 201-450 today 5th June 2021, only 10-15 question out of 60 was from this dump.

serlanOption: B
Oct 30, 2022

I think is B. # cd /; tar cvf /tmp/sue.tar sue By default the tar utility uses (scsi) tape as medium. As can be seen in the example above scsi tape devices can be found in /dev/st* or /dev/nst*. The latter one is a NON rewinding tape, this means that the tape does not rewind automatically after each operation. This is an important feature for backups, because otherwise when using multiple tar commands for backups any backup but the last would be overwritten by the next backup.

serlan
Oct 30, 2022

mmm... Ok, my mistake I I also read: "The major difference is after perform a task, /dev/st0 will rewind to begining of tape, but the /dev/nst0 won't." The answer is: D