* Synch call to the tape drive. This function will not return before the
* data in the drive's buffer is actually committed to the medium.
*/
voiddrives::DriveGeneric::flush(void){
voiddrive::DriveGeneric::flush(void){
structmtopm_mtCmd;
m_mtCmd.mt_op=MTWEOF;//Not using MTNOP because it doesn't do what it claims (see st source code) so here we put "write sync file marks" with count set to 0.
// The following text is a quote from the SCSI Stream commands manual (SSC-3):