Subject: Re: Detaching live sd devices
To: Bill Studenmund <wrstuden@NetBSD.org>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-kern
Date: 07/26/2005 19:54:07
Bill Studenmund <wrstuden@NetBSD.org> writes:

> > Learn from the Amiga. wall a message to reinsert volume YYY, then.
> > 	-is
> 
> That may work for USB sticks, but I'm interested in working with disks on 
> a SAN (iSCSI or Fibre Channel). Telling all users to "reinsert wwn 
> blahblah" isn't going to be too useful. :-(

The Right Thing here would seem to be another instance of the
"important messages from the kernel" notification
device/socket/whatever (which has been proposed before at least for
device attach/detach and network link status change). A desktop GUI or
default in-kernel handler could present a "Reinsert media XXX"
message, while a management tool for a SAN client would probably have
some choice words for the operator, and perhaps some actions to take
on the application...

        - Nathan