Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 95 12:03:59 EST
From:      Martin Renters <martin@innovus.com>
To:        peter@bonkers.taronga.com (Peter da Silva)
Cc:        dufault@hda.com, terry@cs.weber.edu, john@pyromania.apana.org.au, hackers@FreeBSD.org
Subject:   Re: SyQuest works with FreeBSD 2.0R ! 
Message-ID:  <199501271659.IAA22203@freefall.cdrom.com>
In-Reply-To: <199501271358.HAA09305@bonkers.taronga.com>; from "Peter da Silva" at Jan 27, 95 7:58 am

next in thread | previous in thread | raw e-mail | index | archive | help
> The real solution to removable media is to put some sort of ident in the
> disklabel (including time and system ID) and track that. If you have a mounted
> filesystem and get a UNIT ATTENTION then you can see whether it's been
> swapped or not.
> 
> (yes, you can still defeat this with a dd to the raw device)
> 
> What would be really cool would be to create a new pseudo-device entry when
> you mount the device, and treat each volume as a separate device. Then you
> could simply stall attempts to access a filesystem mounted on a device that's
> been removed. Perhaps even have a hook to alert the user when they do that
> to insert the appropriate volume...

This is what HP does for their optical juke boxes.  Except in that case a
robot decides you've looked at that disk long enough and puts another one in.

As an aside, don't these drives have "PREVENT MEDIA EJECT" SCSI commands
to lock the disks in?

Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501271659.IAA22203>