> > I would like to have a command that makes the disk/USB port physically
> > inaccessible, so at the end of the script a user cannot access the
> > disk again.
> 
> you should be able to use camcontrol's eject or stop command
> on that device, usually /dev/da[0-9].

I tried that. That would eventually stop the disk from spining, but
the USB device umass0 that emulates the disk device da0 is still there
and ready to restart the disk at the first interaction.

Olivier
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to