iustin / mt-st

Magnetic tape control tools for Linux SCSI tapes
Other
38 stars 12 forks source link

Why only weof and check write protection? #11

Open hrchu opened 6 years ago

hrchu commented 6 years ago

From the code: https://github.com/iustin/mt-st/blob/master/mt.c#L82

Why only these two command check ET_WPROT (write protection)?

iustin commented 5 years ago

From the list of commands, the only other that writes to the tape is erase. The rest just move/reposition the tape, or set parameters. Do you see something else?