[Gllug] flushing tape drive cache

Martin A. Brooks martin at hinterlands.org
Mon Mar 27 12:43:17 UTC 2006


Ryan Cartwright wrote:
> Any ideas how (without rebooting) I can flush the cache? I've spent the 
> last hour Googling for this but can find no way to do it. Tried `mt -f 
> /dev/tape status` only to be told "/dev/tape is not a character special 
> file".
> Incidentally /dev/tape is a symlink to /dev/hda (HDD's are SCSI). `mt -f 
> /dev/hda status` gives similar response as for /dev/tape.

I may be being thick, or misunderstanding you here, but...

Why would a scsi tape drive be attached to /dev/hda which is the primary 
channel of the first IDE/ATA controller of the system?

Usually a SCSI tape drive would be /dev/st0 or nst0 for the 
non-rewinding device.





-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list